POST api/salvaInv
Request Information
URI Parameters
None.
Body Parameters
InvNeg| Name | Description | Type | Additional information |
|---|---|---|---|
| workerId | integer |
None. |
|
| storage | string |
None. |
|
| itemCode | string |
None. |
|
| qty | decimal number |
None. |
|
| barCode | string |
None. |
|
| lot | string |
None. |
|
| idInv | string |
None. |
|
| operazione | string |
None. |
|
| termId | integer |
None. |
|
| ubicazione | string |
None. |
|
| magazzino | string |
None. |
|
| specificatorType | string |
None. |
|
| specificator | string |
None. |
|
| confPezzi | Collection of ConfezionePezzi |
None. |
Request Formats
application/json, text/json
Sample:
{
"workerId": 1,
"storage": "sample string 2",
"itemCode": "sample string 3",
"qty": 1.1,
"barCode": "sample string 4",
"lot": "sample string 5",
"idInv": "sample string 6",
"operazione": "sample string 7",
"termId": 8,
"ubicazione": "sample string 9",
"magazzino": "sample string 10",
"specificatorType": "sample string 11",
"specificator": "sample string 12",
"confPezzi": [
{
"qtyConf": 1,
"pezziConf": 1.1
},
{
"qtyConf": 1,
"pezziConf": 1.1
}
]
}
text/html
Sample:
{"workerId":1,"storage":"sample string 2","itemCode":"sample string 3","qty":1.1,"barCode":"sample string 4","lot":"sample string 5","idInv":"sample string 6","operazione":"sample string 7","termId":8,"ubicazione":"sample string 9","magazzino":"sample string 10","specificatorType":"sample string 11","specificator":"sample string 12","confPezzi":[{"qtyConf":1,"pezziConf":1.1},{"qtyConf":1,"pezziConf":1.1}]}
application/xml, text/xml
Sample:
<InvNeg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
<BarCode>sample string 4</BarCode>
<ItemCode>sample string 3</ItemCode>
<Lot>sample string 5</Lot>
<Magazzino>sample string 10</Magazzino>
<Operazione>sample string 7</Operazione>
<Qty>1.1</Qty>
<Specificator>sample string 12</Specificator>
<SpecificatorType>sample string 11</SpecificatorType>
<Storage>sample string 2</Storage>
<TermId>8</TermId>
<Ubicazione>sample string 9</Ubicazione>
<WorkerId>1</WorkerId>
<confPezzi>
<ConfezionePezzi>
<PezziConf>1.1</PezziConf>
<QtyConf>1</QtyConf>
</ConfezionePezzi>
<ConfezionePezzi>
<PezziConf>1.1</PezziConf>
<QtyConf>1</QtyConf>
</ConfezionePezzi>
</confPezzi>
<idInv>sample string 6</idInv>
</InvNeg>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Data": {}
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Data":{}}
application/xml, text/xml
Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <Data /> <Message>sample string 1</Message> <Status>true</Status> </ResponseModel>