What is the createCase Method?
This method will generate a new support ticket in the Cases App. Provide all case details, including contact details of the customer, status, priority, type, etc. Commonly used for generating web forms, or creating cases from email/other sources.
Method Definition
@WebMethod(action = “createCase”, operationName = “createCase”)
public CaseDetail createCase(String apiKey, String accessKey, CaseDetail detail)
Expected Response
stdClass Object
(
[return] => stdClass Object
(
[firmIdstr] => 39993
[firstName] => Jeaykumar
[lastName] => Chinnamuthu
[emailId] => jchinnamuthu@sirahu.com
[phoneNumber] =>
[description] =>
[type] => 1
[status] => 1
[priority] => 1
[account] =>
[productName] =>
[subject] => JK
[responseString] => Case created successfully
[noteDetails] => stdClass Object
(
[labels] => stdClass Object
(
[labelId] => 10425
[labelName] => Custom Fields
)
[noteId] => 18413
[noteText] =>
Requested IP:127.0.0.1
)
[statusCode] => 1000
[statusMesage] => Success
)
)
Case Object Attributes
firstName * | First Name |
lastName * | Last Name |
emailId * | email address |
phoneNumber | Phone Number |
description | Description |
type * | Product QuestionsTechnical Issues \ Product Purchases Partnership Opportunities Feature Request Feedback Report a problem Other Note: Select Type. |
status * | NEW Note: Status should be “NEW” |
priority * | HighLow
Medium Note: Select Priority. |
subject * | Subject Name |
noteDetails | Note Details |
Back to API reference.