Add Inventory To Issue
Add Inventory To Issue

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.

Note : In this operation, the value of “boolean” tag on response will be either true or false.
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/jsonAuthorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml
  • XML
  • JSON
ENDPOINT DEFINITION
POST
RESPONSE BODY
                                    
                                        <boolean>{Result}</boolean>
                                    
                                
                                                                        
                                        {
    "0": "{Result}"
}