GET SecuritySystemAPI/LocationSettings/AddLocationSettings
Request Information
URI Parameters
None.
Body Parameters
LocationSettingsInfoName | Description | Type | Additional 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": "470c42c0-aa7f-4598-9c99-000b37c11b7e", "CityID": "d884558b-5ece-4262-93e2-befaea05f59d", "LocationID": "542cc25e-bfa8-46b4-9239-99bff9e025a5", "BranchID": "aab8f47f-4b47-41d0-940e-adc0e9f99915", "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>aab8f47f-4b47-41d0-940e-adc0e9f99915</BranchID> <CityID>d884558b-5ece-4262-93e2-befaea05f59d</CityID> <ID>470c42c0-aa7f-4598-9c99-000b37c11b7e</ID> <LocationID>542cc25e-bfa8-46b4-9239-99bff9e025a5</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:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>