POST api/v1/sms/messages/replies/sender

Request Information

URI Parameters

None.

Body Parameters

Either xml or json request.

TwoSms.CustomerPortalRole.API.SMS.MessageResponse
NameDescriptionTypeAdditional information
MessageID

globally unique identifier

None.

From

string

None.

DateInsert

date

None.

Response

string

None.

DateRead

date

None.

SenderSent

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MessageID": "c837254f-28fe-45f6-9b9a-5b1d2ff8620f",
  "From": "sample string 2",
  "DateInsert": "2018-10-23T02:42:24.6604591+01:00",
  "Response": "sample string 4",
  "DateRead": "2018-10-23T02:42:24.6604591+01:00",
  "SenderSent": true
}

application/xml, text/xml

Sample:
<MessageResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MessageID>c837254f-28fe-45f6-9b9a-5b1d2ff8620f</MessageID>
  <From>sample string 2</From>
  <DateInsert>2018-10-23T02:42:24.6604591+01:00</DateInsert>
  <Response>sample string 4</Response>
  <DateRead>2018-10-23T02:42:24.6604591+01:00</DateRead>
  <SenderSent>true</SenderSent>
</MessageResponse>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Sms Transaction

TwoSms.CustomerPortalRole.API.Misc.ResponseOfTwoSms.CustomerPortalRole.API.SMS.SMSResponse
NameDescriptionTypeAdditional information
Error

TwoSms.CustomerPortalRole.API.Misc.Error

None.

ResponseData

TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfTwoSms.CustomerPortalRole.API.SMS.SMSResponse

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": "sample string 1"
    }
  }
}

application/xml, text/xml

Sample:
<ResponseOfSMSResponse 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>
      <MessageID>sample string 1</MessageID>
      <MessageText>sample string 2</MessageText>
    </Detail>
  </ResponseData>
</ResponseOfSMSResponse>