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": "f67d68aa-b4bd-49c7-9d68-3f7d723437b1", "UserID": "28e4e528-dce4-459d-a98b-2dacb7267787", "LocationID": "d2f442aa-55c8-47eb-97f8-f8b8c15dda67", "Name": "sample string 4", "DateOfDay": "2024-11-26T07:44:33.0971713+03:00", "Period": "sample string 6", "NameOfDay": "sample string 7", "CityID": "61765a0c-2f50-4b05-8e5e-3e80889c9b27", "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>61765a0c-2f50-4b05-8e5e-3e80889c9b27</CityID> <DateOfDay>2024-11-26T07:44:33.0971713+03:00</DateOfDay> <ID>f67d68aa-b4bd-49c7-9d68-3f7d723437b1</ID> <LocationID>d2f442aa-55c8-47eb-97f8-f8b8c15dda67</LocationID> <Name>sample string 4</Name> <NameOfDay>sample string 7</NameOfDay> <Period>sample string 6</Period> <TypeOfDay>sample string 9</TypeOfDay> <UserID>28e4e528-dce4-459d-a98b-2dacb7267787</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>