Taxonomische API-methoden taxonomic-api-methods
Methoden waarmee u de algemene taxonomie van Audience Manager kunt bekijken. Dit facultatieve classificatieschema organiseert de eigenschappen in industriestandaard categorieën.
categoryId op met een methode voor het maken of bijwerken van kenmerken.Een specifieke taxonomie retourneren return-specific-taxonomy
Een GET -methode die details retourneert over de opgegeven taxonomische categorie.
Verzoek
GET https://api.demdex.com/v1/taxonomies/0/<categoryId>
Antwoord
Een geslaagde reactie retourneert 200 OK en de categorie voor de opgegeven id. Een mislukte aanvraag retourneert 404 No Content als de id niet bestaat.
{
"crUID": 158,
"name": "Arts & Entertainment",
"upUID": 158,
"description": "Arts & Entertainment",
"categoryID": 1,
"parentCategoryID": 0
}
Alle taxonomische categorieën retourneren return-all-taxonomy-categories
Een GET -methode die een lijst retourneert van de categorieën op hoofdniveau in een array.
Verzoek
GET https://api.demdex.com/v1/taxonomies/0/
Antwoord
Afgekort voor bondigheid.
[
{
"crUID": 158,
"name": "Arts & Entertainment",
"upUID": 158,
"description": "Arts & Entertainment",
"categoryID": 1,
"parentCategoryID": 0
},
{
"crUID": 158,
"name": "Automotive",
"upUID": 158,
"description": "Automotive",
"categoryID": 2,
"parentCategoryID": 0
},
{
"crUID": 158,
"name": "Business",
"upUID": 158,
"description": "Business",
"categoryID": 3,
"parentCategoryID": 0
}
]
Taxonomische subcategorieën retourneren return-taxonomy-sub-categories
Een GET -methode die subcategorieën retourneert voor de opgegeven bovenliggende categorie in een array.
Verzoek
GET https://api.demdex.com/v1/taxonomies/0/<categoryId>/childCategories/
Antwoord
Een geslaagde reactie retourneert 200 OK en de categorie voor de opgegeven id. Een mislukte aanvraag retourneert 404 No Content als de id niet bestaat. Afgekort voor bondigheid.
[
{
"crUID": 158,
"name": "Books & Literature",
"upUID": 158,
"description": "Books & Literature",
"categoryID": 25,
"parentCategoryID": 1
},
{
"crUID": 158,
"name": "Celebrity Fan/Gossip",
"upUID": 158,
"description": "Celebrity Fan/Gossip",
"categoryID": 49,
"parentCategoryID": 1
},
{
"crUID": 158,
"name": "Fine Art",
"upUID": 158,
"description": "Fine Art",
"categoryID": 72,
"parentCategoryID": 1
}
]