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:
[ "0ae9c0a9-3f8c-4bf4-aeb6-97681b752e7a", "a4ffe609-74ee-456c-8768-86d420081002" ]
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>0ae9c0a9-3f8c-4bf4-aeb6-97681b752e7a</guid> <guid>a4ffe609-74ee-456c-8768-86d420081002</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": "142de08e-98ee-43a0-b0b7-f2c29ed76f47",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "1724848c-aa1d-4e81-b5a2-226997414d6f",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "72f38b51-2f21-45a0-ae7e-0f18a5089264",
"Key": "sample string 1"
},
"Topic": {
"Id": "fbd2e2df-cadc-43da-bc96-0967f2bc208b",
"Key": "sample string 1"
},
"Target": {
"Id": "b13eea1f-7f0f-4656-85f9-250d75fd540d",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"3c6e648a-0d39-4c3b-8e70-d6a8393f7d18",
"fe3979d6-602f-4496-83e6-bb9e27e6c4e4"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "93221432-47c9-48d6-a780-8688bc4546a5",
"PimMediaTypeName": "sample string 2",
"PimMediaTypeNo": "sample string 3",
"PimCategory": "sample string 4",
"PimSubCategory": "sample string 5"
}
},
{
"ProductId": "142de08e-98ee-43a0-b0b7-f2c29ed76f47",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "1724848c-aa1d-4e81-b5a2-226997414d6f",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "72f38b51-2f21-45a0-ae7e-0f18a5089264",
"Key": "sample string 1"
},
"Topic": {
"Id": "fbd2e2df-cadc-43da-bc96-0967f2bc208b",
"Key": "sample string 1"
},
"Target": {
"Id": "b13eea1f-7f0f-4656-85f9-250d75fd540d",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"3c6e648a-0d39-4c3b-8e70-d6a8393f7d18",
"fe3979d6-602f-4496-83e6-bb9e27e6c4e4"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "93221432-47c9-48d6-a780-8688bc4546a5",
"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>1724848c-aa1d-4e81-b5a2-226997414d6f</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>72f38b51-2f21-45a0-ae7e-0f18a5089264</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>142de08e-98ee-43a0-b0b7-f2c29ed76f47</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>93221432-47c9-48d6-a780-8688bc4546a5</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>3c6e648a-0d39-4c3b-8e70-d6a8393f7d18</d4p1:guid>
<d4p1:guid>fe3979d6-602f-4496-83e6-bb9e27e6c4e4</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>b13eea1f-7f0f-4656-85f9-250d75fd540d</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>fbd2e2df-cadc-43da-bc96-0967f2bc208b</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>1724848c-aa1d-4e81-b5a2-226997414d6f</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>72f38b51-2f21-45a0-ae7e-0f18a5089264</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>142de08e-98ee-43a0-b0b7-f2c29ed76f47</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>93221432-47c9-48d6-a780-8688bc4546a5</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>3c6e648a-0d39-4c3b-8e70-d6a8393f7d18</d4p1:guid>
<d4p1:guid>fe3979d6-602f-4496-83e6-bb9e27e6c4e4</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>b13eea1f-7f0f-4656-85f9-250d75fd540d</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>fbd2e2df-cadc-43da-bc96-0967f2bc208b</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>