POST Api/ScheduleApi/GetAgentReportRate

Request Information

URI Parameters

None.

Body Parameters

AgentStatistcsFilters
NameDescriptionTypeAdditional information
agentIds

Collection of integer

None.

dateFrom

date

None.

dateTo

date

None.

division

globally unique identifier

None.

asset

globally unique identifier

None.

building

globally unique identifier

None.

AgentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "agentIds": [
    1,
    2
  ],
  "dateFrom": "2025-05-25T19:11:20.2101148+04:00",
  "dateTo": "2025-05-25T19:11:20.2101148+04:00",
  "division": "cec456d2-8078-46ef-83de-bff6745f83b4",
  "asset": "04f7e8b6-7fa6-45f6-894e-3d1cf6a993ac",
  "building": "ce496449-02a2-4392-b945-6380559b8041",
  "AgentId": 1
}

text/html, multipart/form-data

Sample:
{"agentIds":[1,2],"dateFrom":"2025-05-25T19:11:20.2101148+04:00","dateTo":"2025-05-25T19:11:20.2101148+04:00","division":"cec456d2-8078-46ef-83de-bff6745f83b4","asset":"04f7e8b6-7fa6-45f6-894e-3d1cf6a993ac","building":"ce496449-02a2-4392-b945-6380559b8041","AgentId":1}

application/xml, text/xml

Sample:
<AgentStatistcsFilters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO.Models.Schedule">
  <AgentId>1</AgentId>
  <agentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </agentIds>
  <asset>04f7e8b6-7fa6-45f6-894e-3d1cf6a993ac</asset>
  <building>ce496449-02a2-4392-b945-6380559b8041</building>
  <dateFrom>2025-05-25T19:11:20.2101148+04:00</dateFrom>
  <dateTo>2025-05-25T19:11:20.2101148+04:00</dateTo>
  <division>cec456d2-8078-46ef-83de-bff6745f83b4</division>
</AgentStatistcsFilters>

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 'AgentStatistcsFilters'.

Response Information

Resource Description

AgentDashboardDTO
NameDescriptionTypeAdditional information
Count

integer

None.

WorkflowStatus

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Count": 1,
  "WorkflowStatus": "22e66eb9-ea75-4fa6-ad29-cac0ca5fbc15"
}

text/html, multipart/form-data

Sample:
{"Count":1,"WorkflowStatus":"22e66eb9-ea75-4fa6-ad29-cac0ca5fbc15"}

application/xml, text/xml

Sample:
<AgentDashboardDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <Count>1</Count>
  <WorkflowStatus>22e66eb9-ea75-4fa6-ad29-cac0ca5fbc15</WorkflowStatus>
</AgentDashboardDTO>