GET SecuritySystemAPI/DatesSettings/AddDatesSettings

Request Information

URI Parameters

None.

Body Parameters

DatesSettingsInfo
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Year

string

None.

RamadanStartDate

date

None.

RamadanEndDate

date

None.

EidFatrStartDate

date

None.

EidFatrEndDate

date

None.

EidAdhaStartDate

date

None.

EidAdhaEndDate

date

None.

AnnualVacationTrainingstaffStart

date

None.

AnnualVacationTrainingstaffEnd

date

None.

HalfAnnualVacationTrainingstaffStart

date

None.

HalfAnnualVacationTrainingstaffEnd

date

None.

NationalDayStart

date

None.

NationalDayEnd

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "e4f42482-6294-439b-9af0-aa188b3d9164",
  "Year": "sample string 2",
  "RamadanStartDate": "2024-11-26T07:19:20.9010138+03:00",
  "RamadanEndDate": "2024-11-26T07:19:20.9010138+03:00",
  "EidFatrStartDate": "2024-11-26T07:19:20.9010138+03:00",
  "EidFatrEndDate": "2024-11-26T07:19:20.9010138+03:00",
  "EidAdhaStartDate": "2024-11-26T07:19:20.9010138+03:00",
  "EidAdhaEndDate": "2024-11-26T07:19:20.9010138+03:00",
  "AnnualVacationTrainingstaffStart": "2024-11-26T07:19:20.9010138+03:00",
  "AnnualVacationTrainingstaffEnd": "2024-11-26T07:19:20.9010138+03:00",
  "HalfAnnualVacationTrainingstaffStart": "2024-11-26T07:19:20.9010138+03:00",
  "HalfAnnualVacationTrainingstaffEnd": "2024-11-26T07:19:20.9010138+03:00",
  "NationalDayStart": "2024-11-26T07:19:20.9010138+03:00",
  "NationalDayEnd": "2024-11-26T07:19:20.9010138+03:00"
}

application/xml, text/xml

Sample:
<DatesSettingsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models">
  <AnnualVacationTrainingstaffEnd>2024-11-26T07:19:20.9010138+03:00</AnnualVacationTrainingstaffEnd>
  <AnnualVacationTrainingstaffStart>2024-11-26T07:19:20.9010138+03:00</AnnualVacationTrainingstaffStart>
  <EidAdhaEndDate>2024-11-26T07:19:20.9010138+03:00</EidAdhaEndDate>
  <EidAdhaStartDate>2024-11-26T07:19:20.9010138+03:00</EidAdhaStartDate>
  <EidFatrEndDate>2024-11-26T07:19:20.9010138+03:00</EidFatrEndDate>
  <EidFatrStartDate>2024-11-26T07:19:20.9010138+03:00</EidFatrStartDate>
  <HalfAnnualVacationTrainingstaffEnd>2024-11-26T07:19:20.9010138+03:00</HalfAnnualVacationTrainingstaffEnd>
  <HalfAnnualVacationTrainingstaffStart>2024-11-26T07:19:20.9010138+03:00</HalfAnnualVacationTrainingstaffStart>
  <ID>e4f42482-6294-439b-9af0-aa188b3d9164</ID>
  <NationalDayEnd>2024-11-26T07:19:20.9010138+03:00</NationalDayEnd>
  <NationalDayStart>2024-11-26T07:19:20.9010138+03:00</NationalDayStart>
  <RamadanEndDate>2024-11-26T07:19:20.9010138+03:00</RamadanEndDate>
  <RamadanStartDate>2024-11-26T07:19:20.9010138+03:00</RamadanStartDate>
  <Year>sample string 2</Year>
</DatesSettingsInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DatesSettingsInfo'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>