POST SalesByPeriods
Request Information
URI Parameters
None.
Body Parameters
IConnect.ReportingApi.Core.SalesByPeriodsRequestName | Description | Type | Additional information |
---|---|---|---|
Periods | Collection of IConnect.ReportingApi.Core.SalesByPeriodRequest |
None. |
Request Formats
application/json, text/json
Sample:
{ "Periods": [ { "Period": 0, "Locations": [ 1, 2 ], "StartDate": "2025-04-03T22:33:27.8903212-04:00", "EndDate": "2025-04-03T22:33:27.8903212-04:00", "RestrictQty": 1, "SortByAscending": true }, { "Period": 0, "Locations": [ 1, 2 ], "StartDate": "2025-04-03T22:33:27.8903212-04:00", "EndDate": "2025-04-03T22:33:27.8903212-04:00", "RestrictQty": 1, "SortByAscending": true } ] }
application/xml, text/xml
Sample:
<SalesByPeriodsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.ReportingApi.Core"> <Periods> <SalesByPeriodRequest> <EndDate>2025-04-03T22:33:27.8903212-04:00</EndDate> <Locations xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </Locations> <RestrictQty>1</RestrictQty> <SortByAscending>true</SortByAscending> <StartDate>2025-04-03T22:33:27.8903212-04:00</StartDate> <Period>Hour</Period> </SalesByPeriodRequest> <SalesByPeriodRequest> <EndDate>2025-04-03T22:33:27.8903212-04:00</EndDate> <Locations xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </Locations> <RestrictQty>1</RestrictQty> <SortByAscending>true</SortByAscending> <StartDate>2025-04-03T22:33:27.8903212-04:00</StartDate> <Period>Hour</Period> </SalesByPeriodRequest> </Periods> </SalesByPeriodsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |