Search

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL

LIVE: http://api.relateddigital.com/resta/api/PostPush/PostTransactionalPushWithToken

ECOMM: http://api.relateddigital.com/reste/api/PostPush/PostTransactionalPushWithToken

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body


Sample Body

{
"ApplicationAlias": "euroAndroid",
"ClassificationName": "",
"AuthToken": "APA91bGuhilqrvB8acIxFCbc7rkoclmeVOXFBE9xNS_Jpdf22C5IVrTLMJBQku7URtdVKDpptDaBQuxHCsgP3ROGP26laZAV2NSZDwxNFnSzpMYxSo6_XenrrhLD11h22ysBcapgbVKuaHERJ990OOXKOnAPzZ3AZtJ7U6r9p1Dhy1EG4J3gFDA",
"PushMessage": {
"TargetUrl": "https://www.euromsg.com/tr",
"Text": "Test Message",
"Type": 2,
"IsMutableContent":true
}
}


Sample Response

{
"PushList": [
{
"PushId": "300077d6-441b-46cd-9229-6cc4548eb7d2"
}
],
"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "E9E73E2731FD462B90131B29359EF87B"
}

Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code



...

PostTransactionalPushWithLastUsedKnownTokenOnly

URL

LIVE: http://api.relateddigital.com/resta/api/PostPush/PostTransactionalPushWithLastUsedKnownTokenOnly

ECOMM: http://api.relateddigital.com/reste/api/PostPush/PostTransactionalPushWithLastUsedKnownTokenOnly

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body


Sample Body

{
"ApplicationAlias": "euroAndroid",
"ClassificationName": "",
"MemberKey": "MEMBER_ID",
"MemberValue": "FF6DFCD9021C443C9C80D8721304D2D6",
"PushMessage": {
"TargetUrl": "https://www.euromsg.com/tr",
"Text": "Test Message",
"Type": 2,
"IsMutableContent":true
}
}

Sample Response

{
"PushList": [
{
"PushId": "4a5129dc-ca12-4cb2-b987-aaa70cf947ff"
}
],
"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "4D70A79E2D0B412FB4283AC167CAE7C1"
}

Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code



PostTransactionalWebPush

URL

LIVE: https://api.relateddigital.com/resta/api/postpush/PostTransactionalWebPush

ECOMM: https://api.relateddigital.com/reste/api/postpush/PostTransactionalWebPush

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body


Sample Body

{
"ApplicationAlias": "NewEuromsgWebPushTest",
"ClassificationName": "test_clsf",
"MemberKey"; "string" ;
"MemberValue"; "string" ;
"PushMessage": {
"Title": "sample string 1",
"Text": "Text Message",
"MediaUrl": "https://www.euromsg.com/tr/abc.jpg",
"TargetUrl": "https://www.euromsg.com/tr/abc.jpg",
"Type": 2
}
}

Sample Response

{
"PushList": [
{
"PushId": "4a5129dc-ca12-4cb2-b987-aaa70cf947ff"
}
],
"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "4D70A79E2D0B412FB4283AC167CAE7C1"
}

Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code


...


PostTransactionalWebPushWithToken

URL

LIVE: https://api.relateddigital.com/resta/api/postpush/PostTransactionalWebPushWithToken

ECOMM: https://api.relateddigital.com/reste/api/postpush/PostTransactionalWebPushWithToken

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body


Sample Body

{
"ApplicationAlias": "NewEuromsgWebPushTest",
"ClassificationName": "test_clsf",
"AuthToken": "c0NLG6xbeqs:APA91bFq9JRzP7mi8L77aRZUUa3MtwkUVQLEhI6NUc3gRFtlV_e8rK8DHje-NqAgDCl_eEViWUwuVlTFB9HCkfVCQST_L8IAbSaqQJHzeoMHG-eyVaf64VXMEvg3U-Sb9kemxxNPtSK-",
"PushMessage": {
"Title": "sample string 1",
"Text": "Text Message",
"MediaUrl": "https://www.euromsg.com/tr/abc.jpg",
"TargetUrl": "https://www.euromsg.com/tr/abc.jpg",
"Type": 2
}
}

Sample Response

{
"WebPushList": [
{
"PushId": "f1a46709-786c-4554-bf29-5d728c3f55ce"
}
],
"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "F7F80DAB840C4885AF5A479A81068654"
}

Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code

...