POST api/Items/PUT
Request Information
URI Parameters
None.
Body Parameters
ItemsName | Description | Type | Additional information |
---|---|---|---|
tkn | string |
Required String length: inclusive between 1 and 50 |
|
Name | string |
Required |
|
ItemTypeGUID | string |
Required String length: inclusive between 1 and 50 |
|
Cost | decimal number |
None. |
|
Price | decimal number |
None. |
|
isInventory | boolean |
None. |
|
QuantityOnHand | decimal number |
None. |
|
ExternalID | string |
None. |
|
Values | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "tkn": "sample string 1", "Name": "sample string 2", "ItemTypeGUID": "sample string 3", "Cost": 4.1, "Price": 5.1, "isInventory": true, "QuantityOnHand": 7.1, "ExternalID": "sample string 8", "Values": "sample string 9" }
application/octet-stream
Sample:
{"tkn":"sample string 1","Name":"sample string 2","ItemTypeGUID":"sample string 3","Cost":4.1,"Price":5.1,"isInventory":true,"QuantityOnHand":7.1,"ExternalID":"sample string 8","Values":"sample string 9"}
application/xml, text/xml
Sample:
<Items xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tkn>sample string 1</tkn> <Name>sample string 2</Name> <ItemTypeGUID>sample string 3</ItemTypeGUID> <Cost>4.1</Cost> <Price>5.1</Price> <isInventory>true</isInventory> <QuantityOnHand>7.1</QuantityOnHand> <ExternalID>sample string 8</ExternalID> <Values>sample string 9</Values> </Items>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.