CreateCase

Purpose:

You can use createCase method to create cases in Apptivo with default fields provided by application.

Request URL:

https://api.apptivo.com/app/dao/v6/cases?a=save&caseData={CASE_DATA}&apiKey=oRxYzRZRvOTH-cTPBPVPArJnVNW-6a8d8bf4-1c5f-4930-a5da-49f380afcd33&accessKey=3g806jxv5gq7Q62E

Request Parameters:

Parameter Data Type Description
caseData* JSON Please see the sample request URL
apiKey* String Apptivo API Key
accessKey* String Apptivo Access Key

* – Mandatory parameter

Output:

This will return the details of the created case with JSON format.

Notes:

You can get the caseStatus, caseStatusId, caseType, caseTypeId, casePriority, casePriorityId, assignedObjectRefName, assignedObjectId, assignedObjectRefId values from the getConfigData method.

Sample Request URL:

https://api.apptivo.com/app/dao/v6/cases?a=save&caseData={"assignedObjectRefName":"lead test","assignedObjectRefId":44479,"assignedObjectId":"8","needByDate":"30/08/2016","caseType":"Feature Request","caseTypeId":17586150,"caseStatus":"New","caseStatusId":17585765,"casePriority":"High","casePriorityId":17585762,"description":"testcase","customAttributes":[],"labels":[],"tags":[],"isDirtypage":null,"caseNumber":"Auto generated number","caseSourceName":"Website","caseSourceId":3,"caseSummary":"testcase create","caseEmail":"customer@gmail.com","caseCustomerId":501914,"caseCustomer":"testcustomer","updateAutocomplete":true,"dateResolved":null,"caseItem":null,"caseItemId":null,"caseProject":null,"caseProjectId":null,"assignees":[]}&apiKey=oRxYzRZRvOTH-cTPBPVPArJnVNW-6a8d8bf4-1c5f-4930-a5da-49f380afcd33&accessKey=3g806jxv5gq7Q62E