POST SecuritySystemAPI/LocationAssignments/AddLocationAssignment
Request Information
URI Parameters
None.
Body Parameters
LocationAssignmentsInfoName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
UserID | globally unique identifier |
None. |
|
LocationID | globally unique identifier |
None. |
|
Name | string |
None. |
|
DateOfDay | date |
None. |
|
Period | string |
None. |
|
NameOfDay | string |
None. |
|
CityID | globally unique identifier |
None. |
|
TypeOfDay | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "cf8cb175-24fd-4b5a-8462-636407162843", "UserID": "7c62de7d-f29b-4ba8-8128-c3f2e6137fe0", "LocationID": "d7d7ccc9-c4f3-471f-a446-4360538c5c3a", "Name": "sample string 4", "DateOfDay": "2025-04-04T02:16:02.6842004+03:00", "Period": "sample string 6", "NameOfDay": "sample string 7", "CityID": "1b25bb81-c296-4a73-8308-62133782a272", "TypeOfDay": "sample string 9" }
application/xml, text/xml
Sample:
<LocationAssignmentsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models"> <CityID>1b25bb81-c296-4a73-8308-62133782a272</CityID> <DateOfDay>2025-04-04T02:16:02.6842004+03:00</DateOfDay> <ID>cf8cb175-24fd-4b5a-8462-636407162843</ID> <LocationID>d7d7ccc9-c4f3-471f-a446-4360538c5c3a</LocationID> <Name>sample string 4</Name> <NameOfDay>sample string 7</NameOfDay> <Period>sample string 6</Period> <TypeOfDay>sample string 9</TypeOfDay> <UserID>7c62de7d-f29b-4ba8-8128-c3f2e6137fe0</UserID> </LocationAssignmentsInfo>
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>