POST api/Changes/HandleRejection/{queueID}/{messageID}
Allows the API to handle the rejection of a datahub message.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
queueID |
The ID of the queue the message was from. |
globally unique identifier |
Required |
messageID |
The ID of the message that has been rejected. |
globally unique identifier |
Required |
Body Parameters
The object containing the reason the message was rejected.
MessageRejectionName | Description | Type | Additional information |
---|---|---|---|
Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Reason": "sample string 1" }
application/xml, text/xml
Sample:
<MessageRejection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Reason>sample string 1</Reason> </MessageRejection>
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |