Search

Page tree
Skip to end of metadata
Go to start of metadata

SingleShotSms

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/SingleShotSms

ECOMM: http://api.relateddigital.com/reste/api/PostSms/SingleShotSms

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body

Originator (string),

NumberMessagePair (KeyValue [])

{

  Key (string),

  Value (string)

}

BeginTime (DateTime)

Sample Body

 {

  "Originator": "EUROMSG",

  "NumberMessagePair": [{

  "Key": "905373737373",

  "Value": "SHORT MESSAGE SERVICE WISHES GOOD DAYS :)"

}],

  "BeginTime": "2016-10-19 00:00:00"

}


Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code


Bu Sayfadaki metodlar:



SendBulkSmsWithTypeAndKeyId

URL

LIVE: http://api.relateddigital.com/resta/api/postsms/SendBulkSmsWithTypeAndKeyId

ECOMM: http://api.relateddigital.com/reste/api/postsms/SendBulkSmsWithTypeAndKeyId

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

Originator(string):

Message(string):

GsmNumbers (string []):

KeyIds (string []):

PostType(string):

BeginTime(string):

EndTime(string):

 

Sample Body

{

  "Originator": null,

  "Message": null,

  "GsmNumbers": [],

  "KeyIds": [],

  "PostType": null,

  "BeginTime": null,

  "EndTime": null

}

Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "PacketStatus": null,

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



SendPersonalSmsWithTypeAndKeyId

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/SendPersonalSmsWithTypeAndKeyId

ECOMM: http://api.relateddigital.com/reste/api/PostSms/SendPersonalSmsWithTypeAndKeyId

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

Originator (string):

NumberMessagePair (KeyValue []) :

{

  Key (string):

  Value (string):

} ,

KeyIds (string []):

PostType(string[]):

BeginTime(string):

EndTime(string):

Sample Body

 {

  "Originator": "EUROMSG",

  "NumberMessagePair": [{

  "Key": "905373737373",

  "Value": "SHORT MESSAGE SERVICE WISHES GOOD DAYS :)"

}],

  "KeyIds": [],

  "PostTypes": [],

  "BeginTime": null,

  "EndTime": null

}


Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "PacketStatus": null,

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



SingleShotSmsWithTypeAndKeyId

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/SendPersonalSmsWithTypeAndKeyId

ECOMM: http://api.relateddigital.com/reste/api/PostSms/SendPersonalSmsWithTypeAndKeyId

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

  Originator(string):

  GsmNumber(string):

  Message(string):

  KeyId(string):

  PostType(string):

  BeginTime(string):

Sample Body

 {

  "Originator": null,

  "GsmNumber": null,

  "Message": null,

  "KeyId": null,

  "PostType": null,

  "BeginTime": null

}

Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



SendBulkSms

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/SendBulkSms

ECOMM: http://api.relateddigital.com/reste/api/PostSms/SendBulkSms

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

  Originator(string),

  Message(string),

  GsmNumbers (string []):

  BeginTime(string),

  EndTime(string)

 

Sample Body

{

  "Originator": null,

  "Message": null,

  "GsmNumbers": [],

  "BeginTime": null,

  "EndTime": null

}


Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



SendPersonalSms

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/SendPersonalSms

ECOMM: http://api.relateddigital.com/reste/api/PostSms/SendPersonalSms

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

Originator (string),

NumberMessagePair (KeyValue [])

{

  Key (string),

  Value (string)

}

BeginTime (string),

EndTime(string)

*BeginTime ile EndTime arasındaki süre minimum 1 saat olmalıdır.

Sample Body

 {

  "Originator": "EUROMSG",

  "NumberMessagePair": [{

  "Key": "905373737373",

  "Value": "SHORT MESSAGE SERVICE WISHES GOOD DAYS :)"

}],

  "BeginTime": "2016-10-19 00:00:00"

  "EndTime": "2016-10-20 00:00:00"

}

Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



SendPersonalSmsToAMember

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/SendPersonalSmsToAMember

ECOMM: http://api.relateddigital.com/reste/api/PostSms/SendPersonalSmsToAMember

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

  Originator(string):

  Key(string):

  Value(string):

  Message(string):

  BeginTime(string):

  EndTime(string):

Sample Body

 {

  "Originator": null,

  "Key": null,

  "Value": null,

  "Message": null,

  "BeginTime": null,

  "EndTime": null

}


Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



ReportSmsWithPacketId

URL

LIVE: http://api.relateddigital.com/resta/api/postsms/ReportSmsWithPacketIdPacketId=B8B8101D6369462

ECOMM: http://api.relateddigital.com/reste/api/postsms/ReportSmsWithPacketIdPacketId=B8B8101D6369462

Http verb

GET

Parameters

PacketId(string)

Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

 

Sample Body


Sample Response

{

  "PacketId": null,

  "DeliveryResults":[

{

  "GsmNumber": null,

  "DeliveryResult": null,

  "DeliveryDetail": null,

  "DeliveryTime": null,

  "DeliveredMessage": null,

  "PostType": null,

  "KeyID": null,

  "SendDate": null

}

],

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



GetSmsBulkResult

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/GetSmsBulkResult?BeginDate=26.10.2016 &EndDate=27.10.2016

ECOMM: http://api.relateddigital.com/reste/api/PostSms/GetSmsBulkResult?BeginDate=26.10.2016 &EndDate=27.10.2016

Http verb

GET

Parameters

BeginDate(string),EndDate(string)

Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

 

Sample Body


Sample Response

{

"PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

 "BulkReport":[

{

  "PacketId": null,

  "GsmNumber": null,

  "DeliveryStatus": null,

  "SendDate": null,

  "DeliveryDate": null,

  "DeliveryDetail": null,

  "KeyId": null,

  "PostType": null

}

],

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code



ReportSingleShotSms

URL

LIVE: http://api.relateddigital.com/resta/api/PostSms/ReportSingleShotSms?PacketId=B8B8101D6369462

ECOMM: http://api.relateddigital.com/reste/api/PostSms/ReportSingleShotSms?PacketId=B8B8101D6369462

Http verb

GET

Parameters

PacketId(string)

Header

Content-Type: application/json

Authorization: The ticket given by the system after successful login

Body

 

Sample Body


Sample Response

{

  "PacketId": "B8B8101D6369462B973D35FAFB9EB00D",

  "PacketStatus": null,

  "DeliveryResults":[

{

  "GsmNumber": null,

  "DeliveryResult": null,

  "DeliveryDetail": null,

  "DeliveryTime": null,

  "DeliveredMessage": null,

  "PostType": null,

  "KeyID": null,

  "SendDate": null

}

],

  "Success": true,

  "Errors": [],

  "DetailedMessage": "",

  "TransactionId": "3171959BB3054915A81643D80A81AED3"

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code




Ana Sayfa: RMC REST API


  • No labels