GET api/v1/reports/messages/{messageId}/responses/{recipient}

Retrieves all the responses that have been received/sent from/to the recipient specified in the request.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
messageId

The ID of the message.

globally unique identifier

Required

recipient

The number/email address of the recipient of the message.

string

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfMessageResponse
NameDescriptionTypeAdditional information
Error

Error

None.

ResponseData

ResponseDataOfListOfMessageResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": {
    "ErrorCode": "sample string 1",
    "ErrorReason": "sample string 2"
  },
  "ResponseData": {
    "Identification": {
      "UserId": "sample string 1"
    },
    "Result": "sample string 1",
    "Detail": [
      {
        "MessageID": "c6dc234d-4572-482e-b990-19fa1620b3c5",
        "From": "sample string 2",
        "DateInsert": "2017-11-17T15:57:41.7617819Z",
        "Response": "sample string 4",
        "DateRead": "2017-11-17T15:57:41.7617819Z",
        "SenderSent": true
      },
      {
        "MessageID": "c6dc234d-4572-482e-b990-19fa1620b3c5",
        "From": "sample string 2",
        "DateInsert": "2017-11-17T15:57:41.7617819Z",
        "Response": "sample string 4",
        "DateRead": "2017-11-17T15:57:41.7617819Z",
        "SenderSent": true
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfListOfMessageResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Error>
    <ErrorCode>sample string 1</ErrorCode>
    <ErrorReason>sample string 2</ErrorReason>
  </Error>
  <ResponseData>
    <Result>sample string 1</Result>
    <Identification>
      <UserId>sample string 1</UserId>
    </Identification>
    <Detail>
      <MessageResponse>
        <MessageID>c6dc234d-4572-482e-b990-19fa1620b3c5</MessageID>
        <From>sample string 2</From>
        <DateInsert>2017-11-17T15:57:41.7617819Z</DateInsert>
        <Response>sample string 4</Response>
        <DateRead>2017-11-17T15:57:41.7617819Z</DateRead>
        <SenderSent>true</SenderSent>
      </MessageResponse>
      <MessageResponse>
        <MessageID>c6dc234d-4572-482e-b990-19fa1620b3c5</MessageID>
        <From>sample string 2</From>
        <DateInsert>2017-11-17T15:57:41.7617819Z</DateInsert>
        <Response>sample string 4</Response>
        <DateRead>2017-11-17T15:57:41.7617819Z</DateRead>
        <SenderSent>true</SenderSent>
      </MessageResponse>
    </Detail>
  </ResponseData>
</ResponseOfListOfMessageResponse>