Post Push Service
Transactional (Tekil) Push Web Servis Metodları
Not: URL olarak HTTPS kullanabilirsiniz.
Transactional (Tekil) Push web servisini kullanarak, şifre hatırlatma, üyelik aktivasyonu, siparişiniz kargoda, gibi bilgilendirme amaçlı Push mesajları gönderebilir ve analiz için bunların sonuçlarını çekebilirsiniz.
Aşağıdaki tabloda Transactional Push Web Servisine ait metodlar ve kısa açıklamaları listelenmektedir. Detaylı bilgi için metod isimlerine tıklayabilirsiniz.
Geliştiricinin herhangi bir web servis ile etkileşime geçebilmesi için, öncelikle Login
metodunu kullanarak bir SERVICE TICKET alması gerekir. Diğer web servis ve metodlarına yaratmış olduğu bu değer ile istekte bulunabilir.
Dakikada gönderilebilecek en fazla istek sayısı 1000'dir.
Metod | Açıklama |
---|---|
Gönderilmiş transactional push bildirimlerinin güncel durumlarını raporlar. | |
GetPostPushResultByCreationDate | Gönderilmiş transactional push bildirimlerinin güncel durumlarını, oluşturulma tarihlerine göre raporlar. |
GetPostPushResultByLastUpdate | Gönderilmiş transactional push bildirimlerinin güncel durumlarını, son güncellemelere göre raporlar. |
PostTransactionalPush | Member key değerine göre üyelere transactional push bildirim göndermek için kullanılır. |
PostTransactionalPushWithToken | Token ID değerine göre üyelere transactional push bildirim göndermek için kullanılır. |
PostTransactionalPushWithLastUsedKnownTokenOnly | Son kullanılan token değerine göre üyelere transactional push bildirim göndermek için kullanılır. |
PostTransactionalWebPush | Member key değerine göre üyelere transactional web push bildirim göndermek için kullanılır. |
PostTransactionalWebPushWithToken | Token ID değerine göre üyelere transactional web push bildirim göndermek için kullanılır. |
GetPostPushResultByCreationDate
URL | |
---|---|
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 | { ], "Success": true, |
Successs Response | Status Code: 200 |
Http Error Response | Status Code: 400 Bad Request Status Code: 401 Unauthorized Status Code: 404 Not Found |
Error Code |
GetPostPushResultByLastUpdate
URL | |
---|---|
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 | { ], "Success": true, |
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: https://api.relateddigital.com/resta/api/PostPush/GetPostPushResult ECOMM: https://api.relateddigital.com/reste/api/PostPush/GetPostPushResult LIVEB: https://api.relateddigital.com/liveb_rest/api/PostPush/GetPostPushResult LIVEM: https://api.relateddigital.com/restm/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 | { |
Sample Response | { ], "Success": true, |
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: https://api.relateddigital.com/resta/api/PostPush/PostTransactionalPush ECOMM: https://api.relateddigital.com/reste/api/PostPush/PostTransactionalPush LIVEB: https://api.relateddigital.com/liveb_rest/api/PostPush/PostTransactionalPush LIVEM: https://api.relateddigital.com/restm/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 | { "Title "Text": "Naber", |
Sample Response | { |
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: https://api.relateddigital.com/resta/api/PostPush/PostTransactionalPushWithToken ECOMM: https://api.relateddigital.com/reste/api/PostPush/PostTransactionalPushWithToken LIVEB: https://api.relateddigital.com/liveb_rest/api/PostPush/PostTransactionalPushWithToken LIVEM: https://api.relateddigital.com/restm/api/PostPush/PostTransactionalPushWithToken |
---|---|
Http verb | POST |
Parameters | |
Header | Content-Type: application/json Authorization: The ticket given by the system after successfull login |
Body | BrowserType(string): BrowserType: (Tarayıcı türü. C: Chrome, F: Firefox etc.) Auth(string): Token auth değeri P256DH(string): Token p256 değeri (Yukarıdaki alanlar daha önce SDK'mız aracılığıyla bize gönderilen tokenlar için opsiyonel, fakat ilgili token SDK ile bize gönderilmemiş ise zorunludur.) |
Sample Body | { "ApplicationAlias": "RMC_Demo_Store", "ClassificationName": "test", "AuthToken": "fEqZyrgJeP0:APA91bGiJIHNAfOhbtM7aKNOQ-EWvpeDZjMq52LCEXkIThBBvGHFPFAfQNtXm0UZW2wcVMQQr4W1EHTB9nxFjUmfkv3SbMoWzZtWp5MmVzlCGVLI866fj6RrQ2T1wmZJZZkqWjK1263L", "BrowserType": "C", "Auth": "XDRvaaBUa3Z93Tav5phqFA", "P256DH": "BHmU2Oj2l5gvQzli68jD4WoW33er_u-dh0fz0QECGCgvzPa9aBAQ7YDKpzEvn0eyDcVIaNkpBk_J6D9Y59U3bK0", "PushMessage": { "Title": "Sample Push Title", "Text": "Sample Push Message", "TargetUrl": "https://store.therelated.com/", "Type": 2 } } |
Sample Response | { |
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: https://api.relateddigital.com/resta/api/PostPush/PostTransactionalPushWithLastUsedKnownTokenOnly ECOMM: https://api.relateddigital.com/reste/api/PostPush/PostTransactionalPushWithLastUsedKnownTokenOnly LIVEM: https://api.relateddigital.com/restm/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 | { "Title": "Sample Push Title", |
Sample Response | { |
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 LIVEB: https://api.relateddigital.com/liveb_rest/api/postpush/PostTransactionalWebPush LIVEM: https://api.relateddigital.com/restm/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 | { |
Sample Response | { |
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 LIVEB: https://api.relateddigital.com/liveb_rest/api/postpush/PostTransactionalWebPushWithToken LIVEM: https://api.relateddigital.com/restm/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 | { |
Sample Response | { |
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
Copyright 2020 Related Digital