GET api/ProductInfo/GetAvailabilityInfo
Gets a list of EAN available of the linked products
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ModifiedDate |
The modification date (from-date) that should be used to filter products (optional) |
date |
Date range: between 1753-01-01 and 9999-12-31 (ISO 8601 format) |
| ModifiedEndDate |
The modification end date (to-date) that should be used to filter products (optional) |
date |
Date range: between 1753-01-01 and 9999-12-31 (ISO 8601 format) |
URI Example
api/ProductInfo/GetAvailabilityInfo?ModifiedDate={ModifiedDate}&ModifiedEndDate={ModifiedEndDate}
Body Parameters
None.
Response Information
Resource Description
A wrapper class with the productlist
Oresto.API.Models.GET.LinkProducts.ProductEanData| Name | Description | Type | Additional information |
|---|---|---|---|
| EanCodes |
A list of EAN codes |
Collection of string |
None. |
| Errors |
Possible errors that were experienced when processing the request |
Collection of string |
None. |
| RequestInformation |
Additional information about the request |
Oresto.API.Models.Shared.RequestInformation |
None. |
Response Formats
application/json, text/json
Sample:
{
"EanCodes": [
"sample string 1",
"sample string 2"
],
"RequestInformation": {
"RequestDuration": 1,
"WholesalerId": 2,
"UserId": 3
},
"Errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ProductEanData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oresto.API.Models.GET.LinkProducts">
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Oresto.API.Models.Shared">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<RequestInformation xmlns="http://schemas.datacontract.org/2004/07/Oresto.API.Models.Shared">
<RequestDuration>1</RequestDuration>
<UserId>3</UserId>
<WholesalerId>2</WholesalerId>
</RequestInformation>
<EanCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</EanCodes>
</ProductEanData>