Skip to content

Deprecated. Get location users
deprecated

Request

location User object

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/company_users/{location_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 224348, "firstname": "James", "login": "j.smith", "email": "j.smith@example.com", "phone": "+13155550175", "information": "Test user", "access": { … } }, { "id": 11, "firstname": "James", "login": "j.smith", "email": "j.smith@example.com", "phone": "+13155550175", "information": "Test user", "access": { … } } ]
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": [ { … }, { … } ], "meta": [] }