Manage orders - Get a list of offer categories by market
Obtient toutes les catégories d’offres pour un client.
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/offercategories
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
ID du client. |
version
|
path | True |
string |
En-tête de la demande
Nom | Obligatoire | Type | Description |
---|---|---|---|
Authorization | True |
string |
Jeton du porteur d’autorisation |
ms-correlationid |
string |
Utilisé pour le suivi des demandes en interne. Si un ms-correlationid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
MS-CV |
string |
Utilisé pour le suivi des demandes en interne. Si un MS-CV n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
ms-requestid |
string |
Utilisé pour l’idempotency des requêtes. Si un ms-requestid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
Réponses
Nom | Type | Description |
---|---|---|
200 OK |
La demande a réussi. Retourne les catégories d’offres dans le corps de la réponse. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Définitions
Contracts.V1.Models.OfferCategory
Nom | Type | Description |
---|---|---|
attributes | ||
country |
string |
|
id |
string |
|
links | ||
locale |
string |
|
name |
string |
|
rank |
integer |
Link
Nom | Type | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceAttributes
Nom | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceCollection[Contracts.V1.Models.OfferCategory]
Nom | Type | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
ResourceLinks
Nom | Type | Description |
---|---|---|
next | ||
previous | ||
self |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nom | Type | Description |
---|---|---|
key |
string |
|
value |
string |