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:
[ "dd64ff41-f127-44e9-8d09-594ff173a90e", "5af5420b-c2ad-4676-8ac9-a7463c3df501" ]
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>dd64ff41-f127-44e9-8d09-594ff173a90e</guid> <guid>5af5420b-c2ad-4676-8ac9-a7463c3df501</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": "be325d6e-2d78-4d8d-b9be-9b0d1bb0a591",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "94f6b528-3d40-42eb-b8ca-56c83b769c0c",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "dc0d709b-f35b-4449-9a4f-cf10d988850b",
"Key": "sample string 1"
},
"Topic": {
"Id": "ce22f626-ab2a-4b58-84ec-2dfbb036a672",
"Key": "sample string 1"
},
"Target": {
"Id": "9069fc95-2e7c-4cf7-98bf-273bca19a52e",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"12c6d1d5-c9ad-48c9-83c6-ad60e348495e",
"14743d4b-f63e-4ff0-8698-2817cf486d2c"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "7e68d1ff-4483-41e2-aeb8-4f1e2e3e73a8",
"PimMediaTypeName": "sample string 2",
"PimMediaTypeNo": "sample string 3",
"PimCategory": "sample string 4",
"PimSubCategory": "sample string 5"
}
},
{
"ProductId": "be325d6e-2d78-4d8d-b9be-9b0d1bb0a591",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "94f6b528-3d40-42eb-b8ca-56c83b769c0c",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "dc0d709b-f35b-4449-9a4f-cf10d988850b",
"Key": "sample string 1"
},
"Topic": {
"Id": "ce22f626-ab2a-4b58-84ec-2dfbb036a672",
"Key": "sample string 1"
},
"Target": {
"Id": "9069fc95-2e7c-4cf7-98bf-273bca19a52e",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"12c6d1d5-c9ad-48c9-83c6-ad60e348495e",
"14743d4b-f63e-4ff0-8698-2817cf486d2c"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "7e68d1ff-4483-41e2-aeb8-4f1e2e3e73a8",
"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>94f6b528-3d40-42eb-b8ca-56c83b769c0c</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>dc0d709b-f35b-4449-9a4f-cf10d988850b</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>be325d6e-2d78-4d8d-b9be-9b0d1bb0a591</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>7e68d1ff-4483-41e2-aeb8-4f1e2e3e73a8</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>12c6d1d5-c9ad-48c9-83c6-ad60e348495e</d4p1:guid>
<d4p1:guid>14743d4b-f63e-4ff0-8698-2817cf486d2c</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>9069fc95-2e7c-4cf7-98bf-273bca19a52e</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>ce22f626-ab2a-4b58-84ec-2dfbb036a672</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>94f6b528-3d40-42eb-b8ca-56c83b769c0c</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>dc0d709b-f35b-4449-9a4f-cf10d988850b</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>be325d6e-2d78-4d8d-b9be-9b0d1bb0a591</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>7e68d1ff-4483-41e2-aeb8-4f1e2e3e73a8</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>12c6d1d5-c9ad-48c9-83c6-ad60e348495e</d4p1:guid>
<d4p1:guid>14743d4b-f63e-4ff0-8698-2817cf486d2c</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>9069fc95-2e7c-4cf7-98bf-273bca19a52e</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>ce22f626-ab2a-4b58-84ec-2dfbb036a672</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>