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:
[ "baf6f1fe-b865-4cad-bf81-1ee0647ffb0d", "7ac76cb8-df77-4b28-b198-f173770df025" ]
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>baf6f1fe-b865-4cad-bf81-1ee0647ffb0d</guid> <guid>7ac76cb8-df77-4b28-b198-f173770df025</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": "1f44da53-8069-4eae-9a58-7408109339ae",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "54b83c40-1f88-44cd-9f42-aaa8bbe9f8ed",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "73711c1e-ca3d-4fef-bf39-0c5e74e10c09",
"Key": "sample string 1"
},
"Topic": {
"Id": "94e5a0cb-47b4-4ce3-91e4-26de8506124e",
"Key": "sample string 1"
},
"Target": {
"Id": "3ce2cd8b-fb9c-4e71-8c80-629e771830cc",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"2848d036-6945-4235-804d-705c3d77730f",
"32ad5a57-0a0e-40c7-a61f-c6610388bad0"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "2134663b-c855-41e7-a26a-f21f300f2aa7",
"PimMediaTypeName": "sample string 2",
"PimMediaTypeNo": "sample string 3",
"PimCategory": "sample string 4",
"PimSubCategory": "sample string 5"
}
},
{
"ProductId": "1f44da53-8069-4eae-9a58-7408109339ae",
"ProductName": "sample string 2",
"Isbn": "sample string 3",
"ProductKey": "sample string 4",
"IsActive": true,
"Imprint": {
"Id": "54b83c40-1f88-44cd-9f42-aaa8bbe9f8ed",
"Key": "sample string 1"
},
"ProductGroupDictionary": {
"Id": "73711c1e-ca3d-4fef-bf39-0c5e74e10c09",
"Key": "sample string 1"
},
"Topic": {
"Id": "94e5a0cb-47b4-4ce3-91e4-26de8506124e",
"Key": "sample string 1"
},
"Target": {
"Id": "3ce2cd8b-fb9c-4e71-8c80-629e771830cc",
"Key": "sample string 1"
},
"LoginProviderTypes": [
1,
1
],
"SubProductIds": [
"2848d036-6945-4235-804d-705c3d77730f",
"32ad5a57-0a0e-40c7-a61f-c6610388bad0"
],
"IsSubscriptionProduct": true,
"ProductPim": {
"ProductPimId": "2134663b-c855-41e7-a26a-f21f300f2aa7",
"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>54b83c40-1f88-44cd-9f42-aaa8bbe9f8ed</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>73711c1e-ca3d-4fef-bf39-0c5e74e10c09</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>1f44da53-8069-4eae-9a58-7408109339ae</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>2134663b-c855-41e7-a26a-f21f300f2aa7</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>2848d036-6945-4235-804d-705c3d77730f</d4p1:guid>
<d4p1:guid>32ad5a57-0a0e-40c7-a61f-c6610388bad0</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>3ce2cd8b-fb9c-4e71-8c80-629e771830cc</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>94e5a0cb-47b4-4ce3-91e4-26de8506124e</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>54b83c40-1f88-44cd-9f42-aaa8bbe9f8ed</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>73711c1e-ca3d-4fef-bf39-0c5e74e10c09</d4p1:Id>
<d4p1:Key>sample string 1</d4p1:Key>
</d2p1:ProductGroupDictionary>
<d2p1:ProductId>1f44da53-8069-4eae-9a58-7408109339ae</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>2134663b-c855-41e7-a26a-f21f300f2aa7</d4p1:ProductPimId>
</d2p1:ProductPim>
<d2p1:SubProductIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>2848d036-6945-4235-804d-705c3d77730f</d4p1:guid>
<d4p1:guid>32ad5a57-0a0e-40c7-a61f-c6610388bad0</d4p1:guid>
</d2p1:SubProductIds>
<d2p1:Target xmlns:d4p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
<d4p1:Id>3ce2cd8b-fb9c-4e71-8c80-629e771830cc</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>94e5a0cb-47b4-4ce3-91e4-26de8506124e</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>