POST SecuritySystemAPI/LocationAssignments/GetLocationAssignmentsByUserID
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": "9670be6b-1065-45b8-8ae5-f01bad0b1e78", "UserID": "b9bf5f26-f87a-47b9-91e8-2807b094313a", "LocationID": "4c6b4f1e-5f83-4519-9fdf-933d6ab85351", "Name": "sample string 4", "DateOfDay": "2024-11-26T07:19:52.495193+03:00", "Period": "sample string 6", "NameOfDay": "sample string 7", "CityID": "6680cd54-4625-44cc-8266-cbf4999dac2f", "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>6680cd54-4625-44cc-8266-cbf4999dac2f</CityID> <DateOfDay>2024-11-26T07:19:52.495193+03:00</DateOfDay> <ID>9670be6b-1065-45b8-8ae5-f01bad0b1e78</ID> <LocationID>4c6b4f1e-5f83-4519-9fdf-933d6ab85351</LocationID> <Name>sample string 4</Name> <NameOfDay>sample string 7</NameOfDay> <Period>sample string 6</Period> <TypeOfDay>sample string 9</TypeOfDay> <UserID>b9bf5f26-f87a-47b9-91e8-2807b094313a</UserID> </LocationAssignmentsInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ReportModelName | Description | Type | Additional information |
---|---|---|---|
Day | date |
None. |
|
LocationName | string |
None. |
|
Period | string |
None. |
|
UserName | string |
None. |
|
Deleted | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Day": "2024-11-26T07:19:52.496192+03:00", "LocationName": "sample string 2", "Period": "sample string 3", "UserName": "sample string 4", "Deleted": "sample string 5" }, { "Day": "2024-11-26T07:19:52.496192+03:00", "LocationName": "sample string 2", "Period": "sample string 3", "UserName": "sample string 4", "Deleted": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models"> <ReportModel> <Day>2024-11-26T07:19:52.496192+03:00</Day> <Deleted>sample string 5</Deleted> <LocationName>sample string 2</LocationName> <Period>sample string 3</Period> <UserName>sample string 4</UserName> </ReportModel> <ReportModel> <Day>2024-11-26T07:19:52.496192+03:00</Day> <Deleted>sample string 5</Deleted> <LocationName>sample string 2</LocationName> <Period>sample string 3</Period> <UserName>sample string 4</UserName> </ReportModel> </ArrayOfReportModel>