diff --git a/REST_API_v2/Services/update_service.py b/REST_API_v2/Services/update_service.py index d428eef..5a529eb 100755 --- a/REST_API_v2/Services/update_service.py +++ b/REST_API_v2/Services/update_service.py @@ -54,7 +54,10 @@ def update_service(): 'service': { 'name': NAME, 'description': DESCRIPTION, - 'escalation_policy_id': ESCALATION_POLICY_ID, + 'escalation_policy': { + 'id': ESCALATION_POLICY_ID, + 'type': 'escalation_policy_reference' + }, 'acknowledgement_timeout': ACKNOWLEDGEMENT_TIMEOUT, 'auto_resolve_timeout': AUTO_RESOLVE_TIMEOUT, 'severity_filter': SEVERITY_FILTER