Company Operators

Show company operator

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.eyJzdWIiOiIxNTMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzIsImV4cCI6MTc1NTg1ODE3MiwianRpIjoiZjc4ZmExYmEtMzkyYy00Mzg1LWEyYTktZmEzYWNhZGY5OWMxIn0.L2kV2WmYz05_Eiw8L5B7qzsaZrLmk7Sk9Xh9pLwmZyI
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/"d1c0195227d46453cd2ff913ab92e602"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2711ab19-8fe5-4142-9d7f-7aca087da6b1
x-runtime: 0.011917
content-length: 393

Body

{
  "company_operator": {
    "id": 152,
    "company": {
      "id": 41,
      "address": "303 Dickinson Canyon, Weissnatberg, OK WV9B 1DB",
      "license_number": "7225227284",
      "name": "Murphy-Kling",
      "state": "verified"
    },
    "contact_phone_number": null,
    "email": "hilton.hane+operator@example.com",
    "first_name": "Hilton",
    "job_position": null,
    "last_name": "Hane",
    "last_sign_in_at": null,
    "phone_number": null,
    "profile_id": null,
    "role": "operator"
  }
}