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/case?a=createCase&caseData={CASE_DATA}&apiKey=API_KEY&accesKey=ACCESS_KEY
Request Parameters:
Parameter | Data Type | Description |
caseData* | JSON | {“caseNumber”: “Auto generated number”, “caseStatus”: “Assigned”, “caseStatusId”: “1787131”, “caseType”: “Product Questions”, “caseTypeId”: “1787136”, “casePriority”: “Medium”, “casePriorityId”: “1787129”, “assignedObjectRefName”: “Prabhu Site”, “assignedObjectId”: 8, “assignedObjectRefId”: 12756, “caseSummary”: “Case 123″, “description”: “Test”, “followUpDate”: null, “followUpDescription”: null, “caseItem”: “”, “caseItemId”: null, “needByDate”: “06/04/2014″, “caseProject”: “”, “caseProjectId”: null, “dateResolved”: “”, “createdByName”: “”, “lastUpdatedByName”: “”, “creationDate”: “”, “lastUpdateDate”: “”, “caseCustomer”: “”, “caseCustomerId”: null, “caseContact”: “”, “caseContactId”: null, “caseEmail”: “pganapathy@apptivo.co.in”, “addresses”: [], “customAttributes”: [], “createdBy”: null } |
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 getCasesConfigData method.
Sample Request URL:
https://api.apptivo.com/app/dao/case?a=createCase&caseData={"caseNumber":"Auto generated number","caseStatus":"Assigned","caseStatusId":"1787131","":"","caseType":"Product Questions","caseTypeId":"1787136","casePriority":"Medium","casePriorityId":"1787129","assignedObjectRefName":"Sofia Meyer","assignedObjectId":8,"assignedObjectRefId":12756,"caseSummary":"Unable to enter captcha","description":"Once username and password entered, unable to find the captcha text field to type the answer in website","followUpDate":null,"followUpDescription":null,"caseItem":"","caseItemId":null,"needByDate":"16/12/2014","caseProject":"","caseProjectId":null,"dateResolved":"","createdByName":"","lastUpdatedByName":"","creationDate":"","lastUpdateDate":"","caseCustomer":"","caseCustomerId":null,"caseContact":"","caseContactId":null,"caseEmail":"olive@appsio.com","searchColumn":"Auto generated number 1787131 1787136 1787129 Sofia Meyer Unable to enter captcha Once username and password entered, unable to find the captcha text field to type the answer in website 16/12/2014 olive@appsio.com","addresses":[],"customAttributes":[],"caseId":null,"createdBy":null,"lastUpdatedBy":null}&sessionKey=2b86f377-b708-4050-9d5d-0a0885e2824f