按目标 ID 返回目标 return-a-destination-by-destination-id
A GET
傳回指定之目的地的方法 destinationId
.
请求
GET https://api.demdex.com/v1/destinations/
<destinationId>
mappings
欄位傳入 includeMappings=true
在URL中。响应
{
"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
A GET
傳回指定合作夥伴之所有目的地的方法。
请求
GET https://api.demdex.com/v1/destinations
-
(可選) 傳入
containsSegment=<sid>
以傳回對應至指定區段的所有目的地陣列。 例如,您的查詢可能如下所示:GET .../destinations/?containsSegment=4321
. -
未傳回完整目的地物件。 如果您需要完全填入的物件,請依資料順序取得目的地。
選擇性查詢引數
您可以透過傳回的API方法使用這些選用引數 全部 物件的屬性。 將查詢傳入時,在請求字串中設定這些選項 API. 另請參閱 選擇性引數.
page
pageSize
sortBy
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
A 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
A 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
}
]
{
傳回所有可用的目的地平台 return-dest-platforms
A GET
可傳回目的地所有可用裝置平台的方法。
请求
GET /destinations/configurations/available-platforms/
响应
[
BROWSER, ANDROID, iOS, ALL
]
傳回S2S和批次S2S目的地作業歷史記錄 return-job-history
A 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
}
]