Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjYwLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzQwODUzMDI2fQ.Je-2wLt2LAj4TrTzraqnUdLh396a6PKQOjBtmqgyve0 Host: example.org Cookie:
GET /api/rest/admin/contractors/30
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/vnd.api+json Vary: Accept ETag: W/"e6e22f3e929d5840c9279aa850a0198a" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: e09e3f58-0946-4ac8-9455-fd0665ff25fc X-Runtime: 0.006770 Content-Length: 484
200 OK
{
"data": {
"id": "30",
"type": "contractors",
"links": {
"self": "http://example.org/api/rest/admin/contractors/30"
},
"attributes": {
"name": "contractor30",
"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/30/relationships/smtp-connection",
"related": "http://example.org/api/rest/admin/contractors/30/smtp-connection"
},
"data": null
}
}
}
}