Show company operator
Company Operators
GET company operator(admin)
Endpoint
GET /api/v1/companies/:company_id/company_operators/:id
Request
Route
GET /api/v1/companies/36/company_operators/141
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTMsImV4cCI6MTc0MDE0MzU1MywianRpIjoiZWM3ZjA0YzUtNTlhZC00OTE3LWEyNDMtOGFlZmI1NGJmNDRhIn0.N5MIJfyKCwT5hUCFlfgYxjHWrpdYwJAi_wcRxcM4wU4
Host: example.org
Cookie:
Query Parameters
{}=
Response
Simulated Response
Status
200
Headers
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/json; charset=utf-8
vary: Accept, Origin
etag: W/"bad092d1fc7b70465ef82b477ff5a4e9"
cache-control: max-age=0, private, must-revalidate
x-request-id: bb1fbf5f-8994-4691-bcc8-a313a1d009f9
x-runtime: 0.037423
content-length: 390
Body
{
"company_operator": {
"id": 141,
"company": {
"id": 36,
"address": "6066 Howell Point, Gutmannbury, WY Y5P 1AN",
"license_number": "1174269952",
"name": "Huel-Berge",
"state": "verified"
},
"contact_phone_number": null,
"email": "theda.kreiger+operator@example.com",
"first_name": "Theda",
"job_position": null,
"last_name": "Kreiger",
"last_sign_in_at": null,
"phone_number": null,
"profile_id": null,
"role": "operator"
}
}