PUT
/
api
/
timeclock
/
journey-config
Salvar configuracao de jornada
curl --request PUT \
  --url https://suite.sisqualis.com.br/api/timeclock/journey-config/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "employee_id": 123,
  "regular": [
    {
      "weekday": 3,
      "is_home_office": true,
      "start_time": "<string>",
      "break_start_time": "<string>",
      "break_end_time": "<string>",
      "end_time": "<string>",
      "is_active": true
    }
  ],
  "home_office": [
    {
      "weekday": 3,
      "is_home_office": true,
      "start_time": "<string>",
      "break_start_time": "<string>",
      "break_end_time": "<string>",
      "end_time": "<string>",
      "is_active": true
    }
  ],
  "overrides": [
    {
      "id": 123,
      "date": "2023-12-25",
      "start_time": "<string>",
      "break_start_time": "<string>",
      "break_end_time": "<string>",
      "end_time": "<string>",
      "notes": "<string>"
    }
  ]
}
'
{
  "detail": "<string>"
}

Authorizations

Authorization
string
header
required

Use: Token <seu_token>

Body

application/json
employee_id
integer
required
regular
object[]
home_office
object[]
overrides
object[]

Response

200 - application/json

Operacao concluida

detail
string