Search

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

GetPostPushResultByCreationDate 

URL

LIVE: http://api.relateddigital.com/resta/api/PostPush/GetPostPushResultByCreationDate?BeginDate=2016-11-03 16:00:00&EndDate=2016-11-04 16:00:00&Page=1

ECOMM: http://api.relateddigital.com/reste/api/PostPush/GetPostPushResultByCreationDate?BeginDate=2016-11-03 16:00:00&EndDate=2016-11-04 16:00:00&Page=1

Http verb

GET

Parameters

BeginDate(string): "yyyy-MM-dd HH:mm:ss"

EndDate(string) :"yyyy-MM-dd HH:mm:ss"

Page(int):

Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body

 

Sample Body


Sample Response

{
"PostPushResult": [
{
"PushId": "384430a5-113f-4d61-8f9e-d404f22748e8",
"EmpushToken": "1d9106ca5928a6f6dd0632d7f32dbe2369987ea18ff9a18a43fb1eb10ad1cccc",
"AppAlias": "zerrinsitedeneme",
"PushType": "T",
"TextMessage": "PostPush test data",
"TargetUrl": "http://relateddigital.com/a.gif",
"MediaUrl": "http://relateddigital.com/a.gif",
"Status": "R",
"Created": "2016-11-03T17:07:16.423",
"TakenForSent": "2016-11-21T12:08:41.73",
"DsLastChange": "2016-11-21T12:08:45.383",
"OpenTime": null
},
{
"PushId": "384430a5-113f-4d61-8f9e-d404f22748e8",
"EmpushToken": "1d9106ca5928a6f6dd0632d7f32dbe2369987ea18ff9a18a43fb1eb10ad1cccc",
"AppAlias": "zerrinsitedeneme",
"PushType": "T",
"TextMessage": "PostPush test data",
"TargetUrl": "http://relateddigital.com/a.gif",
"MediaUrl": "http://relateddigital.com/a.gif",
"Status": "R",
"Created": "2016-11-03T17:07:16.423",
"TakenForSent": "2016-11-21T12:08:41.73",
"DsLastChange": "2016-11-21T12:08:45.383",
"OpenTime": null
}

],

"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "C5BE230176BF48F6A999DEAB2262B6DA"
}

Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code


Bu Sayfadaki metodlar:






GetPostPushResultByLastUpdate 

URL

LIVE: http://api.relateddigital.com/resta/api/PostPush/GetPostPushResultByLastUpdate?BeginDate=2016-11-20 18:00:00&EndDate=2016-11-21 18:00:00&Page=1

ECOMM: http://api.relateddigital.com/reste/api/PostPush/GetPostPushResultByLastUpdate?BeginDate=2016-11-20 18:00:00&EndDate=2016-11-21 18:00:00&Page=1

Http verb

GET

Parameters

BeginDate(string): "yyyy-MM-dd HH:mm:ss"

EndDate(string) :"yyyy-MM-dd HH:mm:ss"

Page(int):

Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body

 

Sample Body


Sample Response

{
"PostPushResult": [
{
"PushId": "384430a5-113f-4d61-8f9e-d404f22748e8",
"EmpushToken": "1d9106ca5928a6f6dd0632d7f32dbe2369987ea18ff9a18a43fb1eb10ad1cccc",
"AppAlias": "zerrinsitedeneme",
"PushType": "T",
"TextMessage": "PostPush test data",
"TargetUrl": "http://relateddigital.com/a.gif",
"MediaUrl": "http://relateddigital.com/a.gif",
"Status": "R",
"Created": "2016-11-03T17:07:16.423",
"TakenForSent": "2016-11-21T12:08:41.73",
"DsLastChange": "2016-11-21T12:08:45.383",
"OpenTime": null
},
{
"PushId": "384430a5-113f-4d61-8f9e-d404f22748e8",
"EmpushToken": "1d9106ca5928a6f6dd0632d7f32dbe2369987ea18ff9a18a43fb1eb10ad1cccc",
"AppAlias": "zerrinsitedeneme",
"PushType": "T",
"TextMessage": "PostPush test data",
"TargetUrl": "http://relateddigital.com/a.gif",
"MediaUrl": "http://relateddigital.com/a.gif",
"Status": "R",
"Created": "2016-11-03T17:07:16.423",
"TakenForSent": "2016-11-21T12:08:41.73",
"DsLastChange": "2016-11-21T12:08:45.383",
"OpenTime": null
}

],

"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "C5BE230176BF48F6A999DEAB2262B6DA"
}

Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code



GetPostPushResult 

URL

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

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

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: The ticket given by the system after successfull login

Body

PushIds(Guid[]):

Sample Body

{
"PushIds" : ["384430A5-113F-4D61-8F9E-D404F22748E8", "808AE83A-2ECF-4F7D-92FD-E7509FA69D24"]
}

Sample Response

{
"PostPushResult": [
{
"PushId": "384430a5-113f-4d61-8f9e-d404f22748e8",
"EmpushToken": "1d9106ca5928a6f6dd0632d7f32dbe2369987ea18ff9a18a43fb1eb10ad1cccc",
"AppAlias": "zerrinsitedeneme",
"PushType": "T",
"TextMessage": "PostPush test data",
"TargetUrl": "http://relateddigital.com/a.gif",
"MediaUrl": "http://relateddigital.com/a.gif",
"Status": "R",
"Created": "2016-11-03T17:07:16.423",
"TakenForSent": "2016-11-21T12:08:41.73",
"DsLastChange": "2016-11-21T12:08:45.383",
"OpenTime": null
},
{
"PushId": "808ae83a-2ecf-4f7d-92fd-e7509fa69d24",
"EmpushToken": "APA91bFrWeHjIJfXyjnQOepOBG-4qoUCzM_6rVeAZI5M-P1r-EH4BcSumggAvdFUjXlYljSfhR_8rZ9np86P-FfTonhvJqx292ueLWZnN2ycs5YvrBhjLFMG_US8QfuoCvF9aec40POU",
"AppAlias": "zerrinsitedeneme",
"PushType": "T",
"TextMessage": "PostTransactionalPushWithToken test data",
"TargetUrl": "http://relateddigital.com/a.gif",
"MediaUrl": "http://relateddigital.com/a.gif",
"Status": "T",
"Created": "2016-11-03T17:49:22.157",
"TakenForSent": "2016-11-21T12:08:46.427",
"DsLastChange": null,
"OpenTime": null
}

],

"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "C5BE230176BF48F6A999DEAB2262B6DA"
}

Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code



PostTransactionalPush 

URL

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

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

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.relateddigital.com",
"Text": "Naber",
"Type": 2
}
}


Sample Response

{
"PushList": [
{
"PushId": "efbdd937-1daf-4506-879f-2a6f79f75b1d"
}
],
"Success": true,
"Errors": [],
"DetailedMessage": "",
"TransactionId": "4E534D17BC4149F9ABFF608D317984D4"
}


Successs Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Status Code: 404 Not Found

Error Code




PostTransactionalPushWithToken

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



Ana Sayfa: RMC REST API

  • No labels