Assign an Information Message to an End Customer
When operating Junos Space Service Now in Partner Proxy mode, use this API to assign an information message to an end customer.
URI
/api/juniper/servicenow/information-management/informationMessage/{id}/ assignMessageToConnectedMembers (HTTP method = PUT)
URI Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | ID of the information message to be assigned to an end customer |
Consumes
- application/vnd.juniper.servicenow.information-management.informationMessage. assignMessageToConnectedMembers+xml;version=1
- application/vnd.juniper.servicenow.information-management.informationMessage. assignMessageToConnectedMembers+json;version=1
Request Elements
Element | Type | Description |
---|---|---|
connectedMember | connectedMember | End customer to whom the information message is to be assigned |
id | Integer | ID of an end customer to whom the message is to be assigned |
Produces
- application/vnd.juniper.servicenow.information-management.servicenowmsg+ xml;version=1
- application/vnd.juniper.servicenow.information-management.servicenowmsg+ json;version=1
Response Elements
Element | Type | Description |
---|---|---|
msg | String | Status message of the assign information message to end customer job |
Sample Input
Sample XML Input
<assignMessageToConnectedMembers> <connectedMembers> <connectedMember> <id>69703</id> </connectedMember> </connectedMembers> </assignMessageToConnectedMembers>
Sample JSON Input
{ "assignMessageToConnectedMembers": { "connectedMembers": { "connectedMember": { "id": "69703" } } } }
Sample Output
Sample XML Output
<serviceNowMsg> <msg>Message assigned to connected member successfully </msg> </ serviceNowMsg>
Sample JSON Output
{ "serviceNowMsg": { "msg": "Message assigned to connected member successfully " }