Return A Destination by Destination ID return-a-destination-by-destination-id
A GET
method that returns the destination for the specified destinationId
.
Request
GET https://api.demdex.com/v1/destinations/
<destinationId>
mappings
field pass in includeMappings=true
in the URL.Response
{
"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 return-all-destinations
A GET
method that returns all destinations for the specified partner.
Request
GET https://api.demdex.com/v1/destinations
-
(Optional) Pass in
containsSegment=<sid>
to return an array of all destinations mapped to the specified segment. For example, your query could look similar to this:GET .../destinations/?containsSegment=4321
. -
Does not return the full destination object. Get the destination by data order if you need fully populated object.
Optional Query Parameters
You can use these optional parameters with API methods that return all properties for an object. Set these options in the request string when passing that query in to the API. See Optional Parameters.
page
pageSize
sortBy
descending
search
Returns results based on the specified string you want to use as a search parameter. For example, let's say you want to find results for all models that have the word "Test" in any of the value fields for that item. Your sample request could look like this:
GET https://api.demdex.com/v1/models/?search=Test
.
You can search on any value returned by a "get all" method.
Response
[
{
"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"
}
]
Return a Destination Mapping With the Mapping ID return-dest-mapping-id
A GET
method that returns an individual destination mapping based on the mappingId
.
Request
GET https://api.demdex.com/v1/destinations/
<destinationId>
/mappings/
<destinationMappingId>
Response
{
"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 Destination Mappings return-dest-mappings
A GET
method that returns the mappings for a destination.
Request
GET https://api.demdex.com/v1/destinations/
<destinationId>
/mappings
Response
{
"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 All Available Destination Platforms return-dest-platforms
A GET
method that returns all available device platforms for destinations.
Request
GET /destinations/configurations/available-platforms/
Response
[
BROWSER, ANDROID, iOS, ALL
]
Return S2S and Bulk S2S Destination Job History return-job-history
A GET
method that returns outbound Server-to-Server ( S2S) and bulk S2S destination job history information.
Request
GET https://api.demdex.com/v1/destinations/655/history/outbound?startDate=1000000000&endDate=1403034473000
Required query parameters: startDate
= <epochtime
> and endDate
= <epochtime
>.
Response
[
{
"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
}
]