GET SecuritySystemAPI/LocationSettings/AddLocationSettings

Request Information

URI Parameters

None.

Body Parameters

LocationSettingsInfo
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

CityID

globally unique identifier

None.

LocationID

globally unique identifier

None.

BranchID

globally unique identifier

None.

ShiftNumber

integer

None.

WorkInRamadan

boolean

None.

WorkInEid

boolean

None.

WorkInWeekEnd

boolean

None.

WorkInVacations

boolean

None.

PeriodOneCapacity

integer

None.

PeriodTwoCapacity

integer

None.

PeriodThreeCapacity

integer

None.

PeriodFourCapacity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "e591b6fa-25bf-4455-bdc2-f24a9f7c282b",
  "CityID": "f266d3c2-6c9a-40ce-9259-2bdf69e0adb5",
  "LocationID": "4df43001-d107-4e66-893b-2dc55718c549",
  "BranchID": "8470021c-1f6a-4148-a73d-186a33d6dbe3",
  "ShiftNumber": 5,
  "WorkInRamadan": true,
  "WorkInEid": true,
  "WorkInWeekEnd": true,
  "WorkInVacations": true,
  "PeriodOneCapacity": 10,
  "PeriodTwoCapacity": 11,
  "PeriodThreeCapacity": 12,
  "PeriodFourCapacity": 13
}

application/xml, text/xml

Sample:
<LocationSettingsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models">
  <BranchID>8470021c-1f6a-4148-a73d-186a33d6dbe3</BranchID>
  <CityID>f266d3c2-6c9a-40ce-9259-2bdf69e0adb5</CityID>
  <ID>e591b6fa-25bf-4455-bdc2-f24a9f7c282b</ID>
  <LocationID>4df43001-d107-4e66-893b-2dc55718c549</LocationID>
  <PeriodFourCapacity>13</PeriodFourCapacity>
  <PeriodOneCapacity>10</PeriodOneCapacity>
  <PeriodThreeCapacity>12</PeriodThreeCapacity>
  <PeriodTwoCapacity>11</PeriodTwoCapacity>
  <ShiftNumber>5</ShiftNumber>
  <WorkInEid>true</WorkInEid>
  <WorkInRamadan>true</WorkInRamadan>
  <WorkInVacations>true</WorkInVacations>
  <WorkInWeekEnd>true</WorkInWeekEnd>
</LocationSettingsInfo>

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 'LocationSettingsInfo'.

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>