宛先 ID を基準に宛先を返す return-a-destination-by-destination-id

指定した GET の宛先を返す destinationId メソッド。

リクエスト

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

NOTE
mappings フィールドに値を入力するには、URL に includeMappings=true を渡します。

応答

{
   "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
}

すべての宛先を返す return-all-destinations

指定したパートナーのすべての宛先を返す GET メソッド。

リクエスト

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

NOTE
  • (オプション)containsSegment=<sid> を渡すと、指定したセグメントにマッピングされたすべての宛先の配列が返されます。例えば、クエリは次のようになります GET .../destinations/?containsSegment=4321

  • 完全な宛先オブジェクトは返されません。完全に準備されたオブジェクトが必要な場合は、データ順序を基準に宛先を取得します。

オプションのクエリパラメーター

オブジェクトの​ すべて ​のプロパティを返す API メソッドで、これらのオプションパラメーターを使用できます。そのクエリを API に渡す際に、リクエスト文字列にこれらのオプションを設定します。オプションのパラメーターを参照してください。

パラメーター
説明
page
ページ番号を返します。番号は 0 から始まります。
pageSize
リクエストによって返された応答結果の番号を設定します(10 がデフォルト)。
sortBy
指定された JSON プロパティに従って、結果を並べ替えて返します。
descending
結果を降順で並べ替えて返します。昇順がデフォルトです。
search

検索パラメーターとして使用する指定文字列に基づいて結果を返します。例えば、項目の任意のフィールドに「Test」という語があるすべてのモデルの結果を探したい場合は、サンプルリクエストは次のようになります。

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 で宛先マッピングを返す return-dest-mapping-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
}

宛先マッピングを返す return-dest-mappings

宛先のマッピングを返す GET メソッド。

NOTE
返されるマッピングは、宛先タイプと設定に特有のものです。

リクエスト

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

NOTE
ページングパラメーターをサポートしています。

応答

{
   "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
      }
   ]
{

使用可能な宛先プラットフォームをすべて返す return-dest-platforms

宛先の使用可能なデバイスプラットフォームをすべて返す GET メソッド。

リクエスト

GET /destinations/configurations/available-platforms/

応答

[
BROWSER, ANDROID, iOS, ALL
]

S2S および一括 S2S 宛先ジョブ履歴を返す return-job-history

送信Server-to-Server(S2S)および一括S2S宛先のジョブ履歴情報を返す GET メソッド。

リクエスト

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
   }
]
recommendation-more-help
de293fbf-b489-49b0-8daa-51ed303af695