This method adds an inventory to the customer issue. The client makes a POST request providing input parameters CompanyId, InventoryTypeID, UniqueValue and LanguageID. The output will be either in json or xml format depending on the request type. Response returns success or fail of the operation as boolean.
| Name | Value | |
|---|---|---|
| REST-API METHOD | ADD INVENTORY TO ISSUE | |
| HTTP METHOD | POST | |
| RESPONSE TYPE | XML | |
| URL | https://api.csm.next4biz.net/services/IssueService/{CompanyID}/addInventory.json/{issueID}/{inventoryTypeID}/{uniqueValue}/{langID} | https://api.csm.next4biz.net/services/IssueService/{CompanyID}/addInventory.xml/{issueID}/{inventoryTypeID}/{uniqueValue}/{langID} |
| REQUEST HEAD | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+json,application/json;q=0.9,*/*;q=0.8 Content-Type: application/json | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml |
<boolean>{Result}</boolean>
{
"0": "{Result}"
}