Collaborateur - récupération des informations
  • 23 Apr 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Collaborateur - récupération des informations

  • Dark
    Light
  • PDF

Article summary

Get
/api/V1/collaborator/{collaboratorId}

Retourne les informations d'un collaborateur

Path parameters
collaboratorId
string Required
Header parameters
Authorization
string

Bearer ...token jwt...

X-UserArea-Type
string

Type (collaborator, manager, etc) de l'espace utilisateur à utiliser.

X-UserArea-Id
string

Identifiant de l'espace utilisateur à utiliser

Responses
200

OK

Expand All
object
status
string
Valid values["ok","nok"]
Min length1
data
object
id
number
Valid values["910"]
email
string
Valid values["georges.abitbol@isirh.fr"]
firstname
string
Valid values["georges"]
lastname
string
Valid values["ABITBOL"]
updated_at
string
Valid values["2020-08-13T12:19:32+00:00"]
date_naissance
string
Valid values["1970-01-01T00:00:00+00:00"]
company
Array of object
object
id
number
Valid values["1"]
name
string
Valid values["Démo isiRH"]
team
object
start_hire_date
string
Valid values["2020-01-01T00:00:00+00:00"]
end_hire_date
string
Valid values["2020-07-01T00:00:00+00:00"]
available_freedays
object
cp
string
Valid values["todo"]
rtt
string
Valid values["todo"]
400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

example-2
{
  "status": "ko",
  "errors": [
    {
      "type": "TechnicalError",
      "technicalErrorId": "4ad086ee-2e3f-408a-bf16-2dc184b134cf"
    }
  ]
}
Expand All
object
status
string
Valid values["ko"]
errors
Array of object
object
type
string
Valid values["TechnicalError"]
Min length1
technicalErrorId
string
Min length1

Was this article helpful?