POST api/products/list
Returns products based on ids
Request Information
URI Parameters
None.
Body Parameters
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "cfcf377a-2ce4-4faa-8fe5-9ab56c9648fb", "397b0e04-9cb3-4f89-9adf-f2da5da2a7d9" ]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>cfcf377a-2ce4-4faa-8fe5-9ab56c9648fb</guid> <guid>397b0e04-9cb3-4f89-9adf-f2da5da2a7d9</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiCollectionResponseOfGetProductResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| Total | integer |
None. |
|
| SearchBy | Collection of Filter |
None. |
|
| SortBy | Collection of Sort |
None. |
|
| Data | Collection of GetProductResponse |
None. |
|
| Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PageSize": 1,
"PageIndex": 2,
"Total": 3,
"SearchBy": [
{
"Key": "sample string 1",
"Value": {},
"Type": 0
},
{
"Key": "sample string 1",
"Value": {},
"Type": 0
}
],
"SortBy": [
{
"Key": "sample string 1",
"Order": 0
},
{
"Key": "sample string 1",
"Order": 0
}
],
"Data": [
{
"ProductId": "cc55d151-6d4d-4a55-9c6a-a588b736107b",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "cad5c3af-cc1e-4572-80fc-c527640a5e19",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "08895478-2cc3-42b3-9cc8-7cbc29d6c4bb",
"Key": "sample string 1"
},
"Topic": {
"Id": "20863ad8-4f18-482c-9107-827698073404",
"Key": "sample string 1"
},
"Target": {
"Id": "70d21e99-fa8f-4a01-8619-8c04f1421b2f",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"294159dd-0111-43eb-9678-2f2332f901c6",
"31bb9813-151c-42dd-b826-e9ec7f7c6097"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "8e24fc5f-f2dd-4444-8f62-19c3faade49b",
"PimMediaTypeName": "sample string 2",
"PimMediaTypeNo": "sample string 3",
"PimCategory": "sample string 4",
"PimSubCategory": "sample string 5"
}
},
{
"ProductId": "cc55d151-6d4d-4a55-9c6a-a588b736107b",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "cad5c3af-cc1e-4572-80fc-c527640a5e19",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "08895478-2cc3-42b3-9cc8-7cbc29d6c4bb",
"Key": "sample string 1"
},
"Topic": {
"Id": "20863ad8-4f18-482c-9107-827698073404",
"Key": "sample string 1"
},
"Target": {
"Id": "70d21e99-fa8f-4a01-8619-8c04f1421b2f",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"294159dd-0111-43eb-9678-2f2332f901c6",
"31bb9813-151c-42dd-b826-e9ec7f7c6097"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "8e24fc5f-f2dd-4444-8f62-19c3faade49b",
"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:
<ApiCollectionResponseOfGetProductResponseCOpN3Co1 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:GetProductResponse>
<d2p1:Imprint xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>cad5c3af-cc1e-4572-80fc-c527640a5e19</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:Imprint>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsSubscriptionProduct>true</d2p1:IsSubscriptionProduct>
<d2p1:Isbn>sample string 3</d2p1:Isbn>
<d2p1:LoginProviderTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Enums">
<d4p1:LoginProviderType>Unilogin</d4p1:LoginProviderType>
<d4p1:LoginProviderType>Unilogin</d4p1:LoginProviderType>
</d2p1:LoginProviderTypes>
<d2p1:ProductGroupDictionary xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>08895478-2cc3-42b3-9cc8-7cbc29d6c4bb</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>cc55d151-6d4d-4a55-9c6a-a588b736107b</d2p1:ProductId>
<d2p1:ProductKey>sample string 4</d2p1:ProductKey>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:ProductPim xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:PimCategory>sample string 4</d4p1:PimCategory>
<d4p1:PimMediaTypeName>sample string 2</d4p1:PimMediaTypeName>
<d4p1:PimMediaTypeNo>sample string 3</d4p1:PimMediaTypeNo>
<d4p1:PimSubCategory>sample string 5</d4p1:PimSubCategory>
<d4p1:ProductPimId>8e24fc5f-f2dd-4444-8f62-19c3faade49b</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>294159dd-0111-43eb-9678-2f2332f901c6</d4p1:guid>
<d4p1:guid>31bb9813-151c-42dd-b826-e9ec7f7c6097</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>70d21e99-fa8f-4a01-8619-8c04f1421b2f</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:Target>
<d2p1:Topic xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>20863ad8-4f18-482c-9107-827698073404</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:Topic>
</d2p1:GetProductResponse>
<d2p1:GetProductResponse>
<d2p1:Imprint xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>cad5c3af-cc1e-4572-80fc-c527640a5e19</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:Imprint>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsSubscriptionProduct>true</d2p1:IsSubscriptionProduct>
<d2p1:Isbn>sample string 3</d2p1:Isbn>
<d2p1:LoginProviderTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Enums">
<d4p1:LoginProviderType>Unilogin</d4p1:LoginProviderType>
<d4p1:LoginProviderType>Unilogin</d4p1:LoginProviderType>
</d2p1:LoginProviderTypes>
<d2p1:ProductGroupDictionary xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>08895478-2cc3-42b3-9cc8-7cbc29d6c4bb</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>cc55d151-6d4d-4a55-9c6a-a588b736107b</d2p1:ProductId>
<d2p1:ProductKey>sample string 4</d2p1:ProductKey>
<d2p1:ProductName>sample string 2</d2p1:ProductName>
<d2p1:ProductPim xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:PimCategory>sample string 4</d4p1:PimCategory>
<d4p1:PimMediaTypeName>sample string 2</d4p1:PimMediaTypeName>
<d4p1:PimMediaTypeNo>sample string 3</d4p1:PimMediaTypeNo>
<d4p1:PimSubCategory>sample string 5</d4p1:PimSubCategory>
<d4p1:ProductPimId>8e24fc5f-f2dd-4444-8f62-19c3faade49b</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>294159dd-0111-43eb-9678-2f2332f901c6</d4p1:guid>
<d4p1:guid>31bb9813-151c-42dd-b826-e9ec7f7c6097</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>70d21e99-fa8f-4a01-8619-8c04f1421b2f</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:Target>
<d2p1:Topic xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>20863ad8-4f18-482c-9107-827698073404</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:Topic>
</d2p1:GetProductResponse>
</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>
<PageIndex>2</PageIndex>
<PageSize>1</PageSize>
<SearchBy>
<Filter>
<Key>sample string 1</Key>
<Type>None</Type>
<Value />
</Filter>
<Filter>
<Key>sample string 1</Key>
<Type>None</Type>
<Value />
</Filter>
</SearchBy>
<SortBy>
<Sort>
<Key>sample string 1</Key>
<Order>None</Order>
</Sort>
<Sort>
<Key>sample string 1</Key>
<Order>None</Order>
</Sort>
</SortBy>
<Total>3</Total>
</ApiCollectionResponseOfGetProductResponseCOpN3Co1>