GET api/Clients/OrderListItems
Get the list of curated products this client can order
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientNumber |
The number of the client as defined by the wholesaler |
string |
Required |
URI Example
api/Clients/OrderListItems?clientNumber={clientNumber}
Body Parameters
None.
Response Information
Resource Description
A wrapper class with the order list info
Oresto.API.Models.GET.Clients.OrderListItemsData| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
| WholesalerArticleNumbers |
List of articlecodes for order list of given client |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"WholesalerArticleNumbers": [
"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:
<OrderListItemsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oresto.API.Models.GET.Clients">
<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>
<WholesalerArticleNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WholesalerArticleNumbers>
</OrderListItemsData>