GET api/products/{id}
Returns specific product based on accountId and productId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique product identifier |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Product
ApiResponseOfGetProductResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | GetProductResponse |
None. |
|
| Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"ProductId": "b79092d4-709d-4c5e-bb80-f01f95c0756d",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "328ca29a-2e07-4319-b4fb-4272872bd165",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "99af3d9e-58d2-4412-a3fc-8758fc5d96d5",
"Key": "sample string 1"
},
"Topic": {
"Id": "b5e5ccd7-0944-45de-928c-4ff15eab47b4",
"Key": "sample string 1"
},
"Target": {
"Id": "e3a5376f-c9aa-480a-9836-456421ad9588",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"bfbec0e1-9d3e-4aa0-ae22-0cbb7d3a67fc",
"4fd6fe3e-8871-4e9a-935d-e7b8a5a52bb6"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "c79a1c8e-6607-4e29-90bb-a17407c9996e",
"PimMediaTypeName": "sample string 2",
"PimMediaTypeNo": "sample string 3",
"PimCategory": "sample string 4",
"PimSubCategory": "sample string 5"
}
},
"Errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ApiResponseOfGetProductResponseCOpN3Co1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses.Product">
<d2p1:Imprint xmlns:d3p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d3p1:Id>328ca29a-2e07-4319-b4fb-4272872bd165</d3p1:Id>
<d3p1:Key>sample string 1</d3p1:Key>
</d2p1:Imprint>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsSubscriptionProduct>true</d2p1:IsSubscriptionProduct>
<d2p1:Isbn>sample string 3</d2p1:Isbn>
<d2p1:LoginProviderTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Enums">
<d3p1:LoginProviderType>Unilogin</d3p1:LoginProviderType>
<d3p1:LoginProviderType>Unilogin</d3p1:LoginProviderType>
</d2p1:LoginProviderTypes>
<d2p1:ProductGroupDictionary xmlns:d3p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d3p1:Id>99af3d9e-58d2-4412-a3fc-8758fc5d96d5</d3p1:Id>
<d3p1:Key>sample string 1</d3p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>b79092d4-709d-4c5e-bb80-f01f95c0756d</d2p1:ProductId>
<d2p1:ProductKey>sample string 4</d2p1:ProductKey>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:ProductPim xmlns:d3p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d3p1:PimCategory>sample string 4</d3p1:PimCategory>
<d3p1:PimMediaTypeName>sample string 2</d3p1:PimMediaTypeName>
<d3p1:PimMediaTypeNo>sample string 3</d3p1:PimMediaTypeNo>
<d3p1:PimSubCategory>sample string 5</d3p1:PimSubCategory>
<d3p1:ProductPimId>c79a1c8e-6607-4e29-90bb-a17407c9996e</d3p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>bfbec0e1-9d3e-4aa0-ae22-0cbb7d3a67fc</d3p1:guid>
<d3p1:guid>4fd6fe3e-8871-4e9a-935d-e7b8a5a52bb6</d3p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d3p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d3p1:Id>e3a5376f-c9aa-480a-9836-456421ad9588</d3p1:Id>
<d3p1:Key>sample string 1</d3p1:Key>
</d2p1:Target>
<d2p1:Topic xmlns:d3p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d3p1:Id>b5e5ccd7-0944-45de-928c-4ff15eab47b4</d3p1:Id>
<d3p1:Key>sample string 1</d3p1:Key>
</d2p1:Topic>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
</ApiResponseOfGetProductResponseCOpN3Co1>