By using this website, you agree to our Terms of Use (click here)
Notifications
Clear all
Everything Else
0
Posts
1
Users
1
Reactions
1,266
Views
May 29, 2023 3:34 am
I am trying to create a case with attributes but it does not want to create please see my example below.
REQUEST:
{
"BusinessAccount":{"value":"BILLING"},
"ClassID":{"value":"INTEGRATION"},
"ContactID":{"value":"Andrew"},
"Subject":{"value":"Testing API automation"},
"Attributes":[
{
"AttributeID":{"value":"DATEOFINCI"},
"Value":{"value":"2023-05-12"}
},
{
"AttributeID":{"value":"TYPEOFREQU"},
"Value":{"value":"Support"}
}
]
}
RESPONSE:
{
"id": "9b960bdd-b7f3-ed11-bb61-000d3ab55ce5",
"rowNumber": 1,
"note": {
"value": ""
},
"error": "Inserting 'Case' record raised at least one error. Please review the errors.",
"Attributes": [],
"Billable": {},
"BillableOvertime": {
"value": 0
},
"BillableTime": {
"value": 0
},
"BusinessAccount": {
"value": "DIGITAL"
},
"BusinessAccountName": {
"value": "DIGITAL"
},
"CaseID": {
"value": "<NEW>"
},
"ClassID": {
"value": "INTEGRATION",
"error": "Class ID 'INTEGRATION' cannot be found in the system."
},
"ClosingDate": {},
"ContactDisplayName": {},
"ContactID": {},
"Contract": {},
"DateReported": {
"value": "2023-05-16T09:04:22.72+02:00"
},
"Description": {},
"InitialResponse": {},
"LastActivityDate": {},
"LastIncomingActivity": {},
"LastModifiedDateTime": {
"value": "2023-05-16T09:04:22.6443614+02:00"
},
"LastOutgoingActivity": {},
"Location": {},
"ManualOverride": {
"value": false
},
"NoteID": {
"value": "9b960bdd-b7f3-ed11-bb61-000d3ab55ce5"
},
"OvertimeSpent": {
"value": "000"
},
"Owner": {},
"OwnerEmployeeName": {},
"Priority": {
"value": "Medium"
},
"Reason": {
"value": "Unassigned"
},
"ResolutionTime": {
"value": "000"
},
"Severity": {
"value": "Medium"
},
"SLA": {},
"Status": {
"value": "New"
},
"Subject": {
"value": "Testing API automation"
},
"TimeSpent": {
"value": "000"
},
"Workgroup": {},
"WorkgroupDescription": {},
"custom": {}
}
