curl --request GET \
--url https://api.smokeball.com/matters/{matterId}/roles/{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",
"name": "Client",
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"representatives": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
],
"relationships": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Solicitor",
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"representatives": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
]
}
],
"isClient": false,
"isOtherSide": false
}
Returns a role in a specified matter.
curl --request GET \
--url https://api.smokeball.com/matters/{matterId}/roles/{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",
"name": "Client",
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"representatives": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
],
"relationships": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "009f778f-83df-454a-b344-768a862a7e55",
"name": "Solicitor",
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"representatives": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
]
}
],
"isClient": false,
"isOtherSide": false
}
When request is successful. Returns a 'Role' object.
The response is of type object
.