GetMessageStatusByReferenceID

This method returns all messages with a predefined user ReferenceID set in AdvancedSMSSend method.

HTTP Method
HTTP Method: GET

Url: http://sms2.cdyne.com/sms.svc/GetMessageStatusByReferenceID?ReferenceID={REFERENCEID}&LicenseKey={LICENSEKEY}

Url: https://sms2.cdyne.com/sms.svc/GetMessageStatusByReferenceID?ReferenceID={REFERENCEID}&LicenseKey={LICENSEKEY}

XML Response
The following is an example response Xml body:

 true 1627aea5-8e0a-4371-9022-9b504344e724 true String content NoError   String content 1627aea5-8e0a-4371-9022-9b504344e724</IncomingMessageID> <MatchedMessageID>1627aea5-8e0a-4371-9022-9b504344e724</MatchedMessageID> <Message>String content</Message> <ResponseReceiveDate>1999-05-31T11:20:00</ResponseReceiveDate> <ToPhoneNumber>String content</ToPhoneNumber> </SMSIncomingMessage> <SMSIncomingMessage> String content</FromPhoneNumber> <IncomingMessageID>1627aea5-8e0a-4371-9022-9b504344e724</IncomingMessageID> <MatchedMessageID>1627aea5-8e0a-4371-9022-9b504344e724</MatchedMessageID> <Message>String content</Message> <ResponseReceiveDate>1999-05-31T11:20:00</ResponseReceiveDate> <ToPhoneNumber>String content</ToPhoneNumber> </SMSIncomingMessage> </SMSIncomingMessages> <Sent>true</Sent> <SentDateTime>1999-05-31T11:20:00</SentDateTime> </SMSResponse>

Json Response
The following is an example response Json body:

[{	"Cancelled":true, "MessageID":"1627aea5-8e0a-4371-9022-9b504344e724", "Queued":true, "ReferenceID":"String content", "SMSError":0, "SMSIncomingMessages":[{ "FromPhoneNumber":"String content", "IncomingMessageID":"1627aea5-8e0a-4371-9022-9b504344e724", "MatchedMessageID":"1627aea5-8e0a-4371-9022-9b504344e724", "Message":"String content", "ResponseReceiveDate":"\/Date(928164000000-0400)\/", "ToPhoneNumber":"String content" }],	"Sent":true, "SentDateTime":"\/Date(928164000000-0400)\/" }]