REST API - getPushDestinations - passing body
The table summarizes the REST API - getPushDestinations - passing body.
Request
Format | PUT <baseurl>/orgmodel/pushdestinations |
Body | An instance of XmlModelEntityId that identifies the entity from which the push destination is being obtained. |
Response
JSON | If successful, returns 200 OK in the response header, and an empty response body. |
XML | If successful, returns 200 OK in the response header, and an empty response body. |
Example
Request | PUT <baseurl>/orgmodel/pushdestinations |
Request body | { "org-entity": { "@model-version": "3", "@entity-type": "GROUP", "@guid": "_f-3EEA__Ed-K1uFKLLiIUw" } } |
Response | { "org-entity": { "@model-version": "3", "@entity-type": "GROUP", "@guid": "_f-3EEA__Ed-K1uFKLLiIUw", "XmlPushDestination": [ { "@channel-type": "EmailChannel", "@channel-id": "openspaceEmailPush_DefaultChannel", "@name": "Email", "@enabled": "true", "value": "manager@megacorp.com" } ] } } |