get specific entry
GET /api/rest/admin/contractors/:id
Request
Headers
Route
GET /api/rest/admin/contractors/55
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "55",
"type": "contractors",
"links": {
"self": "http://example.org/api/rest/admin/contractors/55"
},
"attributes": {
"name": "contractor55",
"enabled": true,
"vendor": true,
"customer": false,
"description": null,
"address": null,
"phones": null,
"external-id": null
},
"relationships": {
"smtp-connection": {
"links": {
"self": "http://example.org/api/rest/admin/contractors/55/relationships/smtp-connection",
"related": "http://example.org/api/rest/admin/contractors/55/smtp-connection"
},
"data": null
}
}
}
}