GET SecuritySystemAPI/LocationAssignments/GetLocationAssignmentsByUserID

Request Information

URI Parameters

None.

Body Parameters

LocationAssignmentsInfo
NameDescriptionTypeAdditional 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": "a644b576-b574-431d-b0c6-72c1b451a646",
  "UserID": "380b3286-69ae-41f6-8eb6-707192092858",
  "LocationID": "6598d612-4075-4d5f-ba2c-bf0d07345e6d",
  "Name": "sample string 4",
  "DateOfDay": "2024-11-26T07:18:17.1876269+03:00",
  "Period": "sample string 6",
  "NameOfDay": "sample string 7",
  "CityID": "35ee653a-af45-45d9-a4af-d9556ef52bbb",
  "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>35ee653a-af45-45d9-a4af-d9556ef52bbb</CityID>
  <DateOfDay>2024-11-26T07:18:17.1876269+03:00</DateOfDay>
  <ID>a644b576-b574-431d-b0c6-72c1b451a646</ID>
  <LocationID>6598d612-4075-4d5f-ba2c-bf0d07345e6d</LocationID>
  <Name>sample string 4</Name>
  <NameOfDay>sample string 7</NameOfDay>
  <Period>sample string 6</Period>
  <TypeOfDay>sample string 9</TypeOfDay>
  <UserID>380b3286-69ae-41f6-8eb6-707192092858</UserID>
</LocationAssignmentsInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LocationAssignmentsInfo'.

Response Information

Resource Description

Collection of ReportModel
NameDescriptionTypeAdditional 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:18:17.2032763+03:00",
    "LocationName": "sample string 2",
    "Period": "sample string 3",
    "UserName": "sample string 4",
    "Deleted": "sample string 5"
  },
  {
    "Day": "2024-11-26T07:18:17.2032763+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:18:17.2032763+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:18:17.2032763+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>