curl --request GET \
--url https://api.casexchange.com/api/v1/cases/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"referenceNumber": "<string>",
"status": "draft",
"caseType": "<string>",
"jurisdiction": "<string>",
"clientFirstName": "<string>",
"clientLastName": "<string>",
"clientEmail": "[email protected]",
"clientPhone": "<string>",
"referringFirmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referringFirm": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"caseStatusSubscriber": true
},
"referentFirmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referentFirm": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"caseStatusSubscriber": true
},
"notes": "<string>",
"externalId": "<string>",
"salesforceRecordId": "<string>",
"salesforceObjectType": "<string>",
"settlementAmount": 123,
"attorneyFees": 123,
"closureReason": "<string>",
"source": "<string>",
"createdById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>"
},
"lastUpdatedById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastUpdatedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>"
},
"statusUpdates": [
{}
],
"documents": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Retrieve a case by ID
curl --request GET \
--url https://api.casexchange.com/api/v1/cases/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"referenceNumber": "<string>",
"status": "draft",
"caseType": "<string>",
"jurisdiction": "<string>",
"clientFirstName": "<string>",
"clientLastName": "<string>",
"clientEmail": "[email protected]",
"clientPhone": "<string>",
"referringFirmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referringFirm": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"caseStatusSubscriber": true
},
"referentFirmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referentFirm": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"caseStatusSubscriber": true
},
"notes": "<string>",
"externalId": "<string>",
"salesforceRecordId": "<string>",
"salesforceObjectType": "<string>",
"settlementAmount": 123,
"attorneyFees": 123,
"closureReason": "<string>",
"source": "<string>",
"createdById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>"
},
"lastUpdatedById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastUpdatedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"firstName": "<string>",
"lastName": "<string>"
},
"statusUpdates": [
{}
],
"documents": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}