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/44/company_operators/162
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjQsImV4cCI6MTc2NjIxODM2NCwianRpIjoiYjFlYzc0ODEtZWY2MS00MzQyLWE5YTMtM2VlZTFjNjg0YjU3In0.zFP93EfAJV1ASDqfiFXKQHdeLH1J-PPoig3IIoW81r4
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/"168f3b1eb1b1807839fbe52ba42ba2ba"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1932b333-5ae8-4d76-a841-79760e1f0a80
x-runtime: 0.008354
content-length: 472
Body
{
"company_operator": {
"id": 162,
"company": {
"id": 44,
"address": "1474 Jeramy Gateway, Batzshire, UT DG5X 7NL",
"country": "GBR",
"currency": "GBP",
"license_number": "9781005948",
"name": "Jacobson, Grant and Howell",
"state": "verified"
},
"contact_phone_number": null,
"email": "emory.mcdermott+operator@example.com",
"financial_company_id": null,
"first_name": "Emory",
"job_position": null,
"last_name": "McDermott",
"last_sign_in_at": null,
"phone_number": null,
"profile_id": null,
"role": "operator"
}
}