POST api/ItemMaster/Create
Create a new item
Request Information
URI Parameters
None.
Body Parameters
ItemMasterParm| Name | Description | Type | Additional information |
|---|---|---|---|
| auth | string |
None. |
|
| ItemSKU | string |
None. |
|
| ItemName | string |
None. |
|
| Description | string |
None. |
|
| ItemValue | decimal number |
None. |
|
| ValueCurrencyID | string |
None. |
|
| Unit | string |
None. |
|
| Weight | decimal number |
None. |
|
| DimWeight | decimal number |
None. |
|
| WeightUOM | string |
None. |
|
| Length | integer |
None. |
|
| Width | integer |
None. |
|
| Height | integer |
None. |
|
| SizeUOM | string |
None. |
|
| HS_Export | string |
None. |
|
| HS_Import | string |
None. |
|
| Reference | string |
None. |
|
| Reference2 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Description": "sample string 4",
"DimWeight": 1,
"HS_Export": "sample string 9",
"HS_Import": "sample string 10",
"Height": 1,
"ItemName": "sample string 3",
"ItemSKU": "sample string 2",
"ItemValue": 1,
"Length": 1,
"Reference": "sample string 11",
"Reference2": "sample string 12",
"SizeUOM": "sample string 8",
"Unit": "sample string 6",
"ValueCurrencyID": "sample string 5",
"Weight": 1,
"WeightUOM": "sample string 7",
"Width": 1,
"auth": "sample string 1"
}
application/xml, text/xml
Sample:
<ItemMasterParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models"> <Description>sample string 4</Description> <DimWeight>1</DimWeight> <HS_Export>sample string 9</HS_Export> <HS_Import>sample string 10</HS_Import> <Height>1</Height> <ItemName>sample string 3</ItemName> <ItemSKU>sample string 2</ItemSKU> <ItemValue>1</ItemValue> <Length>1</Length> <Reference>sample string 11</Reference> <Reference2>sample string 12</Reference2> <SizeUOM>sample string 8</SizeUOM> <Unit>sample string 6</Unit> <ValueCurrencyID>sample string 5</ValueCurrencyID> <Weight>1</Weight> <WeightUOM>sample string 7</WeightUOM> <Width>1</Width> <auth>sample string 1</auth> </ItemMasterParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBase| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
Used to determine if method call was successful (true) or failure (false) |
boolean |
None. |
| ErrorMessage |
The error message if method call was not successful |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorMessage": "sample string 2",
"IsSuccessful": true
}
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </ResponseBase>