PATCH api/Items
Request Information
URI Parameters
None.
Body Parameters
ItemsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCommited | decimal number |
None. |
|
| OnOrder | decimal number |
None. |
|
| WhsCode | string |
None. |
|
| ItemClass | string |
None. |
|
| ForeignName | string |
None. |
|
| Frozen | string |
None. |
|
| Series | integer |
None. |
|
| UnitPriceFC | decimal number |
None. |
|
| BarCode | string |
None. |
|
| ItemBarCodeCollection | Collection of BarCodeMasterData |
None. |
|
| ItemPrices | Collection of ItemPrice |
None. |
|
| UoMMasterData | Collection of UoMMasterData |
None. |
|
| Discount | decimal number |
None. |
|
| LastPurchasePrice | decimal number |
None. |
|
| LastPurchasePriceFC | decimal number |
None. |
|
| HasInconsistency | boolean |
None. |
|
| InconsistencyMessage | string |
None. |
|
| Udfs | Collection of Udf |
None. |
|
| ItemCode | string |
None. |
|
| ItemName | string |
None. |
|
| InventoryItem | string |
None. |
|
| SalesItem | string |
None. |
|
| PurchaseItem | string |
None. |
|
| TaxRate | decimal number |
None. |
|
| TaxCode | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| TaxOnly | string |
None. |
|
| UoMEntry | string |
None. |
|
| OnHand | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsCommited": 1.0,
"OnOrder": 2.0,
"WhsCode": "sample string 3",
"ItemClass": "sample string 4",
"ForeignName": "sample string 5",
"Frozen": "sample string 6",
"Series": 7,
"UnitPriceFC": 8.0,
"BarCode": "sample string 9",
"ItemBarCodeCollection": [
{
"AbsEntry": 1,
"ItemNo": "sample string 2",
"Barcode": "sample string 3",
"FreeText": "sample string 4"
},
{
"AbsEntry": 1,
"ItemNo": "sample string 2",
"Barcode": "sample string 3",
"FreeText": "sample string 4"
}
],
"ItemPrices": [
{
"ItemCode": "sample string 1",
"PriceList": 2,
"Price": 3.0,
"Currency": "sample string 4"
},
{
"ItemCode": "sample string 1",
"PriceList": 2,
"Price": 3.0,
"Currency": "sample string 4"
}
],
"UoMMasterData": [
{
"UoMEntry": 1,
"UomCode": "sample string 2",
"UomName": "sample string 3",
"UnitPrice": 4.0,
"UnitPriceFC": 5.0
},
{
"UoMEntry": 1,
"UomCode": "sample string 2",
"UomName": "sample string 3",
"UnitPrice": 4.0,
"UnitPriceFC": 5.0
}
],
"Discount": 10.0,
"LastPurchasePrice": 11.1,
"LastPurchasePriceFC": 12.1,
"HasInconsistency": true,
"InconsistencyMessage": "sample string 14",
"Udfs": [
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
},
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
}
],
"ItemCode": "sample string 15",
"ItemName": "sample string 16",
"InventoryItem": "sample string 17",
"SalesItem": "sample string 18",
"PurchaseItem": "sample string 19",
"TaxRate": 20.1,
"TaxCode": "sample string 21",
"UnitPrice": 22.1,
"TaxOnly": "sample string 23",
"UoMEntry": "sample string 24",
"OnHand": 25.1
}
application/xml, text/xml
Sample:
<ItemsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.SAP">
<InventoryItem xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 17</InventoryItem>
<ItemCode xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 15</ItemCode>
<ItemName xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 16</ItemName>
<OnHand xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">25.1</OnHand>
<PurchaseItem xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 19</PurchaseItem>
<SalesItem xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 18</SalesItem>
<TaxCode xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 21</TaxCode>
<TaxOnly xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 23</TaxOnly>
<TaxRate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">20.1</TaxRate>
<UnitPrice xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">22.1</UnitPrice>
<UoMEntry xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.SAP">sample string 24</UoMEntry>
<BarCode>sample string 9</BarCode>
<Discount>10</Discount>
<ForeignName>sample string 5</ForeignName>
<Frozen>sample string 6</Frozen>
<HasInconsistency>true</HasInconsistency>
<InconsistencyMessage>sample string 14</InconsistencyMessage>
<IsCommited>1</IsCommited>
<ItemBarCodeCollection>
<BarCodeMasterData>
<AbsEntry>1</AbsEntry>
<Barcode>sample string 3</Barcode>
<FreeText>sample string 4</FreeText>
<ItemNo>sample string 2</ItemNo>
</BarCodeMasterData>
<BarCodeMasterData>
<AbsEntry>1</AbsEntry>
<Barcode>sample string 3</Barcode>
<FreeText>sample string 4</FreeText>
<ItemNo>sample string 2</ItemNo>
</BarCodeMasterData>
</ItemBarCodeCollection>
<ItemClass>sample string 4</ItemClass>
<ItemPrices>
<ItemPrice>
<Currency>sample string 4</Currency>
<ItemCode>sample string 1</ItemCode>
<Price>3</Price>
<PriceList>2</PriceList>
</ItemPrice>
<ItemPrice>
<Currency>sample string 4</Currency>
<ItemCode>sample string 1</ItemCode>
<Price>3</Price>
<PriceList>2</PriceList>
</ItemPrice>
</ItemPrices>
<LastPurchasePrice>11.1</LastPurchasePrice>
<LastPurchasePriceFC>12.1</LastPurchasePriceFC>
<OnOrder>2</OnOrder>
<Series>7</Series>
<Udfs xmlns:d2p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf">
<d2p1:Udf>
<d2p1:FieldType>sample string 2</d2p1:FieldType>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:Udf>
<d2p1:Udf>
<d2p1:FieldType>sample string 2</d2p1:FieldType>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:Udf>
</Udfs>
<UnitPriceFC>8</UnitPriceFC>
<UoMMasterData>
<UoMMasterData>
<UnitPrice>4</UnitPrice>
<UnitPriceFC>5</UnitPriceFC>
<UoMEntry>1</UoMEntry>
<UomCode>sample string 2</UomCode>
<UomName>sample string 3</UomName>
</UoMMasterData>
<UoMMasterData>
<UnitPrice>4</UnitPrice>
<UnitPriceFC>5</UnitPriceFC>
<UoMEntry>1</UoMEntry>
<UomCode>sample string 2</UomCode>
<UomName>sample string 3</UomName>
</UoMMasterData>
</UoMMasterData>
<WhsCode>sample string 3</WhsCode>
</ItemsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |