GET 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": "d9252524-a16f-4239-8e7e-8c0f9b6f43ab", "UserID": "55bdd3a1-d9f7-4ab8-8583-bfa3324419b8", "LocationID": "bb45f4bb-6e66-4d58-95ec-ca8c97203d81", "Name": "sample string 4", "DateOfDay": "2025-04-04T02:17:02.0939534+03:00", "Period": "sample string 6", "NameOfDay": "sample string 7", "CityID": "f97a2591-ba5c-4ea0-b5b1-ed42650d02ca", "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>f97a2591-ba5c-4ea0-b5b1-ed42650d02ca</CityID> <DateOfDay>2025-04-04T02:17:02.0939534+03:00</DateOfDay> <ID>d9252524-a16f-4239-8e7e-8c0f9b6f43ab</ID> <LocationID>bb45f4bb-6e66-4d58-95ec-ca8c97203d81</LocationID> <Name>sample string 4</Name> <NameOfDay>sample string 7</NameOfDay> <Period>sample string 6</Period> <TypeOfDay>sample string 9</TypeOfDay> <UserID>55bdd3a1-d9f7-4ab8-8583-bfa3324419b8</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>