curl --request GET \
--url https://api.smokeball.com/mattertypes/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"versionId": "832e778f-83df-454a-b344-768a862a7e67",
"name": "Federal Litigation",
"category": "Litigation",
"type": 0,
"representativeOptions": [
"Applicant",
"Respondent"
],
"location": "Litigation",
"isDeleted": true,
"items": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "Plaintiff",
"providerId": "roles_provider",
"itemId": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Claimant",
"subItems": [
{}
]
}
]
}
Retrieves a specified matter type.
curl --request GET \
--url https://api.smokeball.com/mattertypes/{id} \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"versionId": "832e778f-83df-454a-b344-768a862a7e67",
"name": "Federal Litigation",
"category": "Litigation",
"type": 0,
"representativeOptions": [
"Applicant",
"Respondent"
],
"location": "Litigation",
"isDeleted": true,
"items": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "Plaintiff",
"providerId": "roles_provider",
"itemId": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Claimant",
"subItems": [
{}
]
}
]
}
When request is successful. Returns a 'MatterType' object.
The response is of type object
.