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/41/company_operators/152
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDg1MTY0OTcsImV4cCI6MTc1MTEwODQ5NywianRpIjoiMDcxZTYxYTEtN2M4Ny00ZWZlLWEwNzQtYmFhNjBlNDFiNjIzIn0.AbYdI_-Sva-8x7-VCd2OSLNuergoZX4W8u4HExQ9epo
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/"d411a146ca715d218c614f2ed48b81e8"
cache-control: max-age=0, private, must-revalidate
x-request-id: 82d0b2fd-b3b0-4467-ac77-56b204491d21
x-runtime: 0.009031
content-length: 401
Body
{
"company_operator": {
"id": 152,
"company": {
"id": 41,
"address": "699 Evan Parkway, Port Devora, MN UF4W 0BG",
"license_number": "3516327347",
"name": "Cassin-Turcotte",
"state": "verified"
},
"contact_phone_number": null,
"email": "carmine.dietrich+operator@example.com",
"first_name": "Carmine",
"job_position": null,
"last_name": "Dietrich",
"last_sign_in_at": null,
"phone_number": null,
"profile_id": null,
"role": "operator"
}
}