updateCase

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=updateCase&caseData={CASE_DATA}&attributeName={Attribute_Name}&ObjectId={Object_ID}&caseId={CASE_ID}&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 updated 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=updateCase&caseData={"caseSummary":"Unable to enter captcha","description":"Once username and password entered, unable to find the captcha text field to type the answer in website","caseEmail":"olive@appsio.com"}&attributeName=["caseSummary","description","caseEmail"]&objectId=59&caseId=30451&isAddressUpdate=false&isCustomAttributesUpdate=false&isAddressDelete=false&apiKey=3f465de0-a2f9-4f11-8f07-98472bc10ad9&accessKey=cDxRzRzJVzTT-CHVDHAhEZOtT-4e2e159a-34b9-4536-a964-776b0454ecf5