Update Escalation Policy Target Durations
Update escalation policy target durations.
Operation name:
scteams.updateEscalationPolicyTargetDurations
Endpoint:
Method: POST
Type: application/json
URL: /v1/actions
Headers:
Basic authorization:
| Key | Value |
|---|---|
| Authorization | «access_token» |
HMAC based authorization:
| Key | Value |
|---|---|
| Authorization | SCHMAC_V1;«tenant_access_key»;«HMAC_signature» |
Federated Token based authorization:
| Key | Value |
|---|---|
| Authorization | Bearer «user_JWT_token» |
Query params:
| Key | Value | Description |
|---|---|---|
| op | scteams.updateEscalationPolicyTargetDurations | (Required) Operation Name |
| org | «org» | (Required) Organisation ID |
| pid | «pid» | (Required) Project OR building ID |
| propid | «prop_id» | (Required) Property ID |
Request Body:
{
"EscalationPolicy":{
"PolicyId":"policyid",
"TargetDurations":[
{
"Priority":"H",
"DueTime":190,
"StartThreshold":150
},
{
"Priority":"L",
"DueTime":190,
"StartThreshold":150
},
{
"Priority":"M",
"DueTime":190,
"StartThreshold":150
}
]
}
}
| Key | Description |
|---|---|
| EscalationPolicy | parent object |
| PolicyId | policy id |
| TargetDurations | target durations array |
| Priority | Incident priority |
| DueTime | time difference in seconds from the expected end time of Incident |
| StartThreshold | time difference in seconds from the expected start time of the Incident |