GET api/consumer/v1/periods
Get all periods
Request Information
URI Parameters
None
Body Parameters
None
Response Information
Resource Description
List of periods
Collection of PeriodDtoName | Description | Type | Additional information |
---|---|---|---|
StartDate |
Start Period |
date |
None |
EndDate |
End Period |
date |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
[ { "StartDate": "2024-11-01T19:39:14.0834922+01:00", "EndDate": "2024-11-01T19:39:14.0834922+01:00", "Id": 3 }, { "StartDate": "2024-11-01T19:39:14.0834922+01:00", "EndDate": "2024-11-01T19:39:14.0834922+01:00", "Id": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfPeriodDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <PeriodDto> <Id>3</Id> <EndDate>2024-11-01T19:39:14.0834922+01:00</EndDate> <StartDate>2024-11-01T19:39:14.0834922+01:00</StartDate> </PeriodDto> <PeriodDto> <Id>3</Id> <EndDate>2024-11-01T19:39:14.0834922+01:00</EndDate> <StartDate>2024-11-01T19:39:14.0834922+01:00</StartDate> </PeriodDto> </ArrayOfPeriodDto>