How do I add Details to a Case?
Once you have created a new case, adding details is a fairly straight-forward process. You will need to query the /api/v1/groups/ and /api/v1/details/ endpoints to get the detail groups and individual details. For example, which ID is the gender group and which ID is the male detail.
After you have the ID of the detail you want, attaching it to the case is as simple as making a POST request to the /api/v1/case_details/ endpoint with a data payload that contains the Detail and Case you wish to add it to.
{
"case": 12,
"detail": 1,
}In most cases, attaching the detail value to the case is all that is needed to flag the value for the case. However, some Details may require additional information. This is usually submitted via a value, number, decimal, or date key-pair value. You will want to double-check the Detail and make sure you are sending the correct data payload for your use case!
