A simple payload for creating a Client and Case in Case Manager.
Payload
{
"operations": [
{
"type": "ClientCreate",
"ref": "client",
"data": {
"firstName": "John",
"lastName": "Jeffries",
"dateOfBirth": "1957-04-14",
"types": ["Client"]
}
},
{
"type": "CaseCreate",
"ref": "case",
"data": {
"type": "Portal Referral",
"client": "$client"
}
}
]
}
What you will see in Case Manager
The above payload will result in the following records being created in Case Manager;
- A new Client record called John Jeffries with a DOB of 14/04/1957
- A new Case record linked to the above client. The case will be of case type "Portal Referral"
As always, if you have any questions or concerns please reach out to us at support@iizuka.co.uk.
Pete Patel
Comments