Manage orders - Get a list of products (by country)
Az összes termék lekérése ország- és területi beállítási adatok használatával.
GET https://api.partnercenter.microsoft.com/v{version}/products
GET https://api.partnercenter.microsoft.com/v{version}/products?country={country}&targetView={targetView}&targetSegment={targetSegment}&reservationScope={reservationScope}
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
version
|
path | True |
string |
|
country
|
query |
string |
Az ország adatai. Kétbetűs országábrázolás |
|
reservation
|
query |
string |
A nem kötelező foglalási hatókör szűrője. |
|
target
|
query |
string |
A választható szegmensszűrő. |
|
target
|
query |
string |
A kért katalógusnézet. |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Authorization | True |
string |
Engedélyezési tulajdonos jogkivonata |
ms-correlationid |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-correlationid, a kiszolgáló minden kéréshez létrehoz egy újat |
|
MS-CV |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva MS-CV, a kiszolgáló minden kéréshez létrehoz egy újat |
|
ms-requestid |
string |
A kérések idempotensségére szolgál. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez újat hoz létre |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
A kérés sikeres volt. A termékek visszakerülnek a válasz törzsébe. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definíciók
Contracts.V1.Models.ItemType
Name | Típus | Description |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
Name | Típus | Description |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
Name | Típus | Description |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Link
Name | Típus | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceAttributes
Name | Típus | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceCollection[Contracts.V1.Models.Product]
Name | Típus | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
ResourceLinks
Name | Típus | Description |
---|---|---|
next | ||
previous | ||
self |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Típus | Description |
---|---|---|
key |
string |
|
value |
string |