POST SecuritySystemAPI/LocationSettings/UpdateLocationSettings
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": "a69c1c0a-745e-4662-9d60-f8b233609254", "CityID": "136c4f91-da8d-45ef-9a94-8e27f9bab0c1", "LocationID": "3ae13603-3b5c-4909-ba39-43ae8d99f15d", "BranchID": "bb5f9f4b-ac4e-4b14-b987-e225f3ee3240", "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>bb5f9f4b-ac4e-4b14-b987-e225f3ee3240</BranchID> <CityID>136c4f91-da8d-45ef-9a94-8e27f9bab0c1</CityID> <ID>a69c1c0a-745e-4662-9d60-f8b233609254</ID> <LocationID>3ae13603-3b5c-4909-ba39-43ae8d99f15d</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>