POST api/ERPDataUpdate/AddItem
Request Information
URI Parameters
None.
Body Parameters
ItemName | Description | Type | Additional information |
---|---|---|---|
EmployeeCode | string |
None. |
|
SKUName | string |
None. |
|
BrandCode | string |
None. |
|
Grammage | string |
None. |
|
TotalPackets | integer |
None. |
|
SubBrand | string |
None. |
|
ParentCode | string |
None. |
|
Flavour | string |
None. |
|
StatusID | integer |
None. |
|
ERPStatus | boolean |
None. |
|
Date | date |
None. |
|
DivisionId | string |
None. |
|
LocationName | string |
None. |
|
LocationType | integer |
None. |
|
PlantCode | string |
None. |
|
SellingUOM | integer |
None. |
|
ItemTypeId | integer |
None. |
|
SoStatus | integer |
None. |
|
Unit | integer |
None. |
|
IsRGBenable | boolean |
None. |
|
IsInvalid | boolean |
None. |
|
BusinessCode | string |
None. |
|
BusinessType | string |
None. |
|
SKUCode | string |
None. |
|
UOM | string |
None. |
|
Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeCode": "sample string 1", "SKUName": "sample string 2", "BrandCode": "sample string 3", "Grammage": "sample string 4", "TotalPackets": 5, "SubBrand": "sample string 6", "ParentCode": "sample string 7", "Flavour": "sample string 8", "StatusID": 9, "ERPStatus": true, "Date": "2025-04-04T03:43:58.3088522+00:00", "DivisionId": "sample string 11", "LocationName": "sample string 12", "LocationType": 13, "PlantCode": "sample string 14", "SellingUOM": 15, "ItemTypeId": 16, "SoStatus": 17, "Unit": 18, "IsRGBenable": true, "IsInvalid": false, "BusinessCode": "sample string 20", "BusinessType": "sample string 21", "SKUCode": "sample string 22", "UOM": "sample string 23", "Source": "sample string 24" }
application/xml, text/xml
Sample:
<Item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion"> <BusinessCode>sample string 20</BusinessCode> <BusinessType>sample string 21</BusinessType> <SKUCode>sample string 22</SKUCode> <Source>sample string 24</Source> <UOM>sample string 23</UOM> <BrandCode>sample string 3</BrandCode> <Date>2025-04-04T03:43:58.3088522+00:00</Date> <DivisionId>sample string 11</DivisionId> <ERPStatus>true</ERPStatus> <EmployeeCode>sample string 1</EmployeeCode> <Flavour>sample string 8</Flavour> <Grammage>sample string 4</Grammage> <IsRGBenable>true</IsRGBenable> <ItemTypeId>16</ItemTypeId> <LocationName>sample string 12</LocationName> <LocationType>13</LocationType> <ParentCode>sample string 7</ParentCode> <PlantCode>sample string 14</PlantCode> <SKUName>sample string 2</SKUName> <SellingUOM>15</SellingUOM> <SoStatus>17</SoStatus> <StatusID>9</StatusID> <SubBrand>sample string 6</SubBrand> <TotalPackets>5</TotalPackets> <Unit>18</Unit> </Item>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/04 03:43:58", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>