GET GetPeriods
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
PeriodsRepository| Name | Description | Type | Additional information |
|---|---|---|---|
| successful | boolean |
None. |
|
| message | string |
None. |
|
| data | Collection of PeriodsInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"successful": true,
"message": "sample string 2",
"data": [
{
"periodId": 1,
"description": "sample string 2"
},
{
"periodId": 1,
"description": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<PeriodsRepository xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.YottaResident.WebAPIs.Services">
<data>
<PeriodsInfo>
<description>sample string 2</description>
<periodId>1</periodId>
</PeriodsInfo>
<PeriodsInfo>
<description>sample string 2</description>
<periodId>1</periodId>
</PeriodsInfo>
</data>
<message>sample string 2</message>
<successful>true</successful>
</PeriodsRepository>