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.eyJzdWIiOiIxNTMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzUsImV4cCI6MTc2MzU0MjQzNSwianRpIjoiZGUwMjUyZmYtM2E0ZC00NDEzLTgzZWYtYjRmNGUyYzkwNTc0In0.K5SS4JrwTrfcX3AgN9LMdJINtQD3CU1nbzGYoXTcZOY
Host: example.org
Cookie:
Query Parameters
{}=
Body
{
}
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/"260321cd173f39f83091b04bf673a9c5"
cache-control: max-age=0, private, must-revalidate
x-request-id: 17bed88c-8242-4f53-b021-3dbe6843de7f
x-runtime: 0.009018
content-length: 451
Body
{
"company_operator": {
"id": 152,
"company": {
"id": 41,
"address": "743 Pagac Passage, Lake Leilanishire, WA WV5M 2JB",
"country": "GBR",
"currency": "GBP",
"license_number": "6328252315",
"name": "Effertz, Carter and Olson",
"state": "verified"
},
"contact_phone_number": null,
"email": "richie.kertzmann+operator@example.com",
"first_name": "Richie",
"job_position": null,
"last_name": "Kertzmann",
"last_sign_in_at": null,
"phone_number": null,
"profile_id": null,
"role": "operator"
}
}