依目的地 ID 傳回目的地

一種GET方法,可返回指定destinationId的目標。

請求

GET https://api.demdex.com/v1/destinations/<destinationId>

注意

若要填入URL中includeMappings=truemappings欄位傳入。

回應

{
   "destinationType":"PUSH",
   "destinationId":314,
   "dataSourceId":null,
   "pid":1099,
   "name":"sample destination",
   "description":"Turn",
   "startDate":null,
   "endDate":null,
   "status":"active",
   "destinationType":"PUSH",
   "createTime":1281997484000,
   "updateTime":1300752888000,
   "crUID":224,
   "upUID":308,
   "domainRestrictions":"ALL_DOMAINS",
   "tagType":0,
   "serializationEnabled":false,
   "urlFormatString":null,
   "secureUrlFormatString":null,
   "delimiter":null,
   "mappings":null
}

返回所有目標

一種GET方法,可返回指定夥伴的所有目標。

請求

GET https://api.demdex.com/v1/destinations

注意
  • (可選) 傳入 containsSegment=<sid> 以傳回映射至指定區段之所有目的地的陣列。例如,您的查詢看起來可能類似下列:GET .../destinations/?containsSegment=4321

  • 不返回完整目標對象。 如果需要完全填入的物件,請依資料順序取得目的地。

可選查詢參數

您可以將這些可選參數與返回對象​all​屬性的API方法一起使用。 將查詢傳入API時,請在請求字串中設定這些選項。 請參閱可選參數

參數 說明
page 依頁碼傳回結果。 編號從0開始。
pageSize 設定請求傳回的回應結果數目(預設為10)。
sortBy 根據指定的 JSON屬性排序並傳回結果。
descending 以遞減順序排序和傳回結果。 預設為遞增。
search 根據您要用作搜尋參數的指定字串傳回結果。 例如,假設您想要在該項目的任何值欄位中,尋找具有「測試」字詞的所有模型的結果。 您的範例要求可能如下所示:

GET https://api.demdex.com/v1/models/?search=Test實施流量分類。

您可以搜尋「get all」方法傳回的任何值。

回應

[
   {
      "destinationId":364,
      "pid":1099,
      "name":"Test",
      "description":"",
      "status":"active",
      "destinationType":"PUSH",
      "createTime":1291345192000,
      "updateTime":1291347561000,
      "crUID":262,
      "upUID":262,
      "domainRestrictions":"all_domains"
   },
   {
      "destinationId":369,
      "pid":1099,
      "name":"sample destination",
      "status":"active",
      "destinationType":"PUSH",
      "createTime":1292631706000,
      "updateTime":1292631706000,
      "crUID":262,
      "upUID":262,
      "domainRestrictions":"all_domains"
   }
]

返回映射ID的目標映射

一種GET方法,根據mappingId傳回個別的目標映射。

請求

GET https://api.demdex.com/v1/destinations/<destinationId>/mappings/<destinationMappingId>

回應

{
"mappingId": 14593,
"traitType": "SEGMENT",
"traitValue": 0,
"destinationId": 314,
"elementName": "sample",
"elementDescription": "Migration Pixel",
"elementStatus": "active",
"createTime": 1281997484000,
"updateTime": 1300752888000,
"crUID": 224,
"upUID": 308,
"sid": 80920,
"startDate": "2010-11-15",
"endDate": null,
"priority": null,
"url": "https://www.adobe.com/send?%ALIAS%",
"secureUrl": "https://www.adobe.com/send?%ALIAS%",
"tagCode": null,
"secureTagCode": null,
"traitAlias": null
}

返回目標映射

一種GET方法,可返回目標的映射。

注意

傳回的對應是目標類型和配置特定的。

請求

GET https://api.demdex.com/v1/destinations/<destinationId>/mappings

注意

支援分頁參數。

回應

{
   "total":354,
   "page":0,
   "pageSize":2,
   "list":[
      {
         "destinationMappingId":14395,
         "traitType":"SEGMENT",
         "traitValue":0,
         "destinationId":314,
         "elementName":"sample pixel",
         "elementDescription":"Migration Pixel",
         "elementStatus":"active",
         "createTime":1281997484000,
         "updateTime":1300752888000,
         "crUID":224,
         "upUID":308,
         "sid":80920,
         "startDate":"2010-11-15",
         "endDate":null,
         "priority":null,
         "url":"https://www.adobe.com/send?%ALIAS%",
         "secureUrl":"https://www.adobe.com/send?%ALIAS%",
         "tagCode":null,
         "secureTagCode":null,
         "traitAlias":null
      }
      {
         "destinationMappingId":15934,
         "traitType":"SEGMENT",
         "traitValue":0,
         "destinationId":314,
         "elementName":"sample pixel",
         "elementDescription":"Migration Pixel",
         "elementStatus":"active",
         "createTime":1281997484000,
         "updateTime":1300752888000,
         "crUID":242,
         "upUID":803,
         "sid":90820,
         "startDate":"2010-11-15",
         "endDate":null,
         "priority":null,
         "url":"https://www.adobe.com/send?%ALIAS%",
         "secureUrl":"https://www.adobe.com/send?%ALIAS%",
         "tagCode":null,
         "secureTagCode":null,
         "traitAlias":null
      }
   ]
{

返回所有可用目標平台

一種GET方法,可傳回目標的所有可用裝置平台。

請求

GET /destinations/configurations/available-platforms/

回應

[
BROWSER, ANDROID, iOS, ALL
]

返回S2S和批量S2S目標作業歷史記錄

一種GET方法,它返回出站Server-to-Server (S2S)和批量S2S目標作業歷史記錄資訊。

請求

GET https://api.demdex.com/v1/destinations/655/history/outbound?startDate=1000000000&endDate=1403034473000

所需查詢參數:startDate = epochtime​和endDate = epochtime

回應

[
{
      "pushID":34090,
      "orderID":655,
      "dataProviderID":269,
      "syncType":1,
      "fullPublish":false,
      "receivedRecords":1,
      "attemptedRecords":1,
      "successRecords":1,
      "startTime":1337292466000,
      "endTime":1337292466000,
      "dataFileName":"ftp_655_269_iter_1337229891903.sync",
      "success":true
   },
   {
      "pushID":34104,
      "orderID":655,
      "dataProviderID":269,
      "syncType":1,
      "fullPublish":false,
      "receivedRecords":1,
      "attemptedRecords":1,
      "successRecords":1,
      "startTime":1337346397000,
      "endTime":1337346397000,
      "dataFileName":"ftp_655_269_iter_1337285714581.sync",
      "success":true
   },
   {
      "pushID":34124,
      "orderID":655,
      "dataProviderID":269,
      "syncType":1,
      "fullPublish":false,
      "receivedRecords":1,
      "attemptedRecords":1,
      "successRecords":1,
      "startTime":1337396811000,
      "endTime":1337396812000,
      "dataFileName":"ftp_655_269_iter_1337338243600.sync",
      "success":true
   }
]

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now