POST api/UnitSKUMapping/AddUpdateUnitSKUMapping
Request Information
URI Parameters
None.
Body Parameters
UnitSKUMapping| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ItemId | integer |
Required |
|
| ItemName | string |
String length: inclusive between 0 and 30 |
|
| UnitId | integer |
Required |
|
| ItemCode | string |
Required String length: inclusive between 0 and 30 |
|
| UnitName | string |
String length: inclusive between 0 and 30 |
|
| SKU | string |
Required String length: inclusive between 0 and 30 |
|
| Description | string |
Required String length: inclusive between 0 and 30 |
|
| Units | Collection of Unit |
None. |
|
| UnitSKUs | Collection of UnitSKUMapping |
None. |
|
| Items | Collection of Item |
None. |
|
| DairyPlantID | integer |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>