Retourneer een doel op doel-id return-a-destination-by-destination-id

Een GET -methode die het doel voor de opgegeven destinationId retourneert.

Verzoek

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

NOTE
U kunt als volgt de velddoorloop mappings in includeMappings=true in de URL vullen.

Antwoord

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

Alle doelen retourneren return-all-destinations

Een GET methode die alle bestemmingen voor de gespecificeerde partner terugkeert.

Verzoek

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

NOTE
  • (Facultatief) pas binnen containsSegment=<sid> om een serie van alle bestemmingen terug te keren die aan het gespecificeerde segment in kaart worden gebracht. Uw query kan er bijvoorbeeld als volgt uitzien: GET .../destinations/?containsSegment=4321 .

  • Retourneert het volledige doelobject niet. Hiermee wordt het doel via de gegevensvolgorde opgehaald als u een volledig gevuld object nodig hebt.

Optionele queryparameters

U kunt deze facultatieve parameters met API methodes gebruiken die alle eigenschappen voor een voorwerp terugkeren. Stel deze opties in de aanvraagtekenreeks in wanneer u die query aan de API doorgeeft. Zie ​ Facultatieve Parameters ​.

Parameter
Beschrijving
page
Geeft resultaten op paginanummer. De nummering begint bij 0.
pageSize
Stelt het aantal reactieresultaten in dat door de aanvraag wordt geretourneerd (10 is standaard).
sortBy
Sorteert en keert resultaten volgens het gespecificeerde JSON bezit terug.
descending
Sorteert en retourneert resultaten in aflopende volgorde. Oplopend is standaard.
search

Retourneert resultaten op basis van de opgegeven tekenreeks die u als zoekparameter wilt gebruiken. Bijvoorbeeld, laten wij zeggen u resultaten voor alle modellen wilt vinden die het woord "Test"in om het even welke waardegebieden voor dat punt hebben. Uw voorbeeldverzoek kan er als volgt uitzien:

GET https://api.demdex.com/v1/models/?search=Test.

U kunt zoeken op elke waarde die door de methode "get all" wordt geretourneerd.

Antwoord

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

Een doeltoewijzing retourneren met de toewijzingsid return-dest-mapping-id

Een GET -methode die een afzonderlijke doeltoewijzing retourneert op basis van de mappingId .

Verzoek

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

Antwoord

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

Toewijzingen retourbestemming return-dest-mappings

Een GET -methode die de toewijzingen voor een doel retourneert.

NOTE
De teruggekeerde afbeelding is specifiek voor het bestemmingstype en de configuratie.

Verzoek

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

NOTE
Ondersteunt paginaparameters.

Antwoord

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

Alle beschikbare doelplatforms retourneren return-dest-platforms

Een GET methode die alle beschikbare apparatenplatforms voor bestemmingen terugkeert.

Verzoek

GET /destinations/configurations/available-platforms/

Antwoord

[
BROWSER, ANDROID, iOS, ALL
]

S2S- en Bulk S2S-taakgeschiedenis retourneren return-job-history

Een GET -methode die uitgaande Server-to-Server ( S2S) en bulkgegevens van de S2S -doeltaakgeschiedenis retourneert.

Verzoek

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

Vereiste vraagparameters: startDate = <epochtime> en endDate = < epochtime>.

Antwoord

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