Product - Get
Pobiera produkt według identyfikatora.
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}/products/{productId}
Parametry identyfikatora URI
Nazwa | W | Wymagane | Typ | Opis |
---|---|---|---|---|
product
|
path | True |
string uuid |
Identyfikator produktu do pobrania. |
tenant
|
path | True |
string uuid |
Identyfikator dzierżawy usługi Azure Sphere. |
Odpowiedzi
Nazwa | Typ | Opis |
---|---|---|
200 OK |
Powodzenie. |
Przykłady
Get product details
Sample Request
GET https://prod.core.sphere.azure.net/v2/tenants/768c2cd6-1bf0-4521-9f53-084a331d81cb/products/258e9e1d-a16d-4459-be5d-38420a8c43ad
Sample Response
{
"Id": "258e9e1d-a16d-4459-be5d-38420a8c43ad",
"TenantId": "768c2cd6-1bf0-4521-9f53-084a331d81cb",
"Name": "Refrigerator",
"Description": "Contoso refrigerators"
}
Definicje
Product
Nazwa | Typ | Opis |
---|---|---|
Description |
string |
Opis produktu. |
Id |
string |
Unikatowy identyfikator produktu. |
Name |
string |
Nazwa produktu. |
TenantId |
string |
Unikatowy identyfikator dzierżawy, która jest właścicielem produktu. |