GET SecuritySystemAPI/LocationAssignments/EmployeesAssignmentsInLocations/{FromDate}/{ToDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FromDate

date

Required

ToDate

date

Required

Body Parameters

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

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 'List`1'.

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:37:02.0604522+03:00",
    "LocationName": "sample string 2",
    "Period": "sample string 3",
    "UserName": "sample string 4",
    "Deleted": "sample string 5"
  },
  {
    "Day": "2024-11-26T07:37:02.0604522+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:37:02.0604522+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:37:02.0604522+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>