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:
[ "cc9b85cb-3da2-4f2e-ac2d-2af067bb3de7", "1e55a18b-770e-4ca4-a7dc-e8eb40439dd4" ]
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>cc9b85cb-3da2-4f2e-ac2d-2af067bb3de7</guid> <guid>1e55a18b-770e-4ca4-a7dc-e8eb40439dd4</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": "2327484b-db27-4c1b-8a34-a1bf344a1548",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "2be34836-f6c2-4ba2-8396-f159288bf73a",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "d86c5e5c-abd3-45ee-ad7a-0438d6906479",
"Key": "sample string 1"
},
"Topic": {
"Id": "3e145a61-7493-4083-9ebe-58af14a46f01",
"Key": "sample string 1"
},
"Target": {
"Id": "7e66d6b8-bbda-4f80-82de-ac79bd467f87",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"53bc6a68-b55a-42ed-9ebc-1d9e3c986dc9",
"1a8ec75a-5259-4062-ab48-5854e3c9fe3b"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "47545389-1501-4304-9d4f-063893673d16",
"PimMediaTypeName": "sample string 2",
"PimMediaTypeNo": "sample string 3",
"PimCategory": "sample string 4",
"PimSubCategory": "sample string 5"
}
},
{
"ProductId": "2327484b-db27-4c1b-8a34-a1bf344a1548",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "2be34836-f6c2-4ba2-8396-f159288bf73a",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "d86c5e5c-abd3-45ee-ad7a-0438d6906479",
"Key": "sample string 1"
},
"Topic": {
"Id": "3e145a61-7493-4083-9ebe-58af14a46f01",
"Key": "sample string 1"
},
"Target": {
"Id": "7e66d6b8-bbda-4f80-82de-ac79bd467f87",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"53bc6a68-b55a-42ed-9ebc-1d9e3c986dc9",
"1a8ec75a-5259-4062-ab48-5854e3c9fe3b"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "47545389-1501-4304-9d4f-063893673d16",
"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>2be34836-f6c2-4ba2-8396-f159288bf73a</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>d86c5e5c-abd3-45ee-ad7a-0438d6906479</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>2327484b-db27-4c1b-8a34-a1bf344a1548</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>47545389-1501-4304-9d4f-063893673d16</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>53bc6a68-b55a-42ed-9ebc-1d9e3c986dc9</d4p1:guid>
<d4p1:guid>1a8ec75a-5259-4062-ab48-5854e3c9fe3b</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>7e66d6b8-bbda-4f80-82de-ac79bd467f87</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>3e145a61-7493-4083-9ebe-58af14a46f01</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>2be34836-f6c2-4ba2-8396-f159288bf73a</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>d86c5e5c-abd3-45ee-ad7a-0438d6906479</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>2327484b-db27-4c1b-8a34-a1bf344a1548</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>47545389-1501-4304-9d4f-063893673d16</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>53bc6a68-b55a-42ed-9ebc-1d9e3c986dc9</d4p1:guid>
<d4p1:guid>1a8ec75a-5259-4062-ab48-5854e3c9fe3b</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>7e66d6b8-bbda-4f80-82de-ac79bd467f87</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>3e145a61-7493-4083-9ebe-58af14a46f01</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>