Create Issue

This method creates a customer issue. The client makes a POST request providing Request body in either xml or json format and input parameters LangID in the request url. The output will be either in json or xml format depending on the request type. New Issue’s ID is returned. The request body parameters must be listed alphabetically. ContactMethodID indicates channel of issue on which platform issue is created.

Name Value
REST-API METHOD CREATE ISSUE
HTTP METHOD POST
RESPONSE TYPE XML
URL https://api.csm.next4biz.net/services/IssueService/{CompanyID}/Issue.json/{LangID}https://api.csm.next4biz.net/services/IssueService/{CompanyID}/Issue.xml/{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
REQUEST BODY
                                    
                                        <Issue>
	<Category>
		<CategoryID>{CategoryID}</CategoryID>
	</Category>
	<ContactMethod>
		<ContactMethodID>{ContactMethodID}</ContactMethodID>
	</ContactMethod>
	<Customer>
		<CustomerID>{CustomerID}</CustomerID>
	</Customer>
	<IssueDescription>{IssueDescription}</IssueDescription>
	<IssueType>
		<IssueTypeID>{IssueTypeID}</IssueTypeID>
	</IssueType>
	<PreferredReturnMethods>
		<ContactMethod>
			<ContactMethodID>{ContactMethodID}</ContactMethodID>
			<MailConfigurationID>{MailConfigurationID}</MailConfigurationID>
		</ContactMethod>
	</PreferredReturnMethods>
</Issue>
                                    
                                
                                                                        
                                        {
    "Category": {
        "CategoryID": "{CategoryID}"
    },
    "ContactMethod": {
        "ContactMethodID": "{ContactMethodID}"
    },
    "Customer": {
        "CustomerID": "{CustomerID}"
    },
    "IssueDescription": "{IssueDescription}",
    "IssueType": {
        "IssueTypeID": "{IssueTypeID}"
    },
    "PreferredReturnMethods": {
        "ContactMethod": {
            "ContactMethodID": "{ContactMethodID}",
            "MailConfigurationID": "{MailConfigurationID}"
        }
    }
}                                    
                                                                    
RESPONSE BODY
                                    
                                        <int
	xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
  {IssueID}
</int>                                    
                                
                                                                        
                                        {
    "0": "\n  {IssueID}\n"
}