Pular para o conteúdo

PUT /v1/sla

PUT
/v1/sla
curl --request PUT \
--url https://seu-endereco-da-api/v1/sla \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "departmentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "firstResponseSec": 1, "resolutionSec": 1, "businessHoursConfigId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Permissão que a Chave de acesso precisa: Gerenciar SLA (sla:manage).

Media typeapplication/json
object
departmentId
string format: uuid
nullable
firstResponseSec
required
number
>= 1
resolutionSec
required
number
>= 1
businessHoursConfigId
string format: uuid
nullable

Example generated

{
"departmentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"firstResponseSec": 1,
"resolutionSec": 1,
"businessHoursConfigId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}
Media typeapplication/json
object
id
required
string
departmentId
required
string
nullable
firstResponseSec
required
number
resolutionSec
required
number
businessHoursConfigId
required
string
nullable
businessHoursName
required
string
nullable

Example generated

{
"id": "example",
"departmentId": "example",
"firstResponseSec": 1,
"resolutionSec": 1,
"businessHoursConfigId": "example",
"businessHoursName": "example"
}

Department or business hours config not found