Skip to content

Commit 345ea3d

Browse files
author
RAHUL DIVGAN
committed
Escalation policy schema corrected for Service update API
1 parent 641784c commit 345ea3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

REST_API_v2/Services/update_service.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ def update_service():
5454
'service': {
5555
'name': NAME,
5656
'description': DESCRIPTION,
57-
'escalation_policy_id': ESCALATION_POLICY_ID,
57+
'escalation_policy': {
58+
'id': ESCALATION_POLICY_ID,
59+
'type': 'escalation_policy_reference'
60+
},
5861
'acknowledgement_timeout': ACKNOWLEDGEMENT_TIMEOUT,
5962
'auto_resolve_timeout': AUTO_RESOLVE_TIMEOUT,
6063
'severity_filter': SEVERITY_FILTER

0 commit comments

Comments
 (0)