POST Api/ScheduleApi/GetAgentPerformanceDetailsYTD

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-25T20:19:07.7607646+04:00",
  "dateTo": "2025-05-25T20:19:07.7607646+04:00",
  "division": "0e3e9f12-8b87-4d12-8abb-7171f9074724",
  "asset": "a1b2f4bc-8c1e-4030-b47d-a57d047a09ea",
  "building": "55ac62de-a54d-4a88-a036-9c3017e03522",
  "AgentId": 1
}

text/html, multipart/form-data

Sample:
{"agentIds":[1,2],"dateFrom":"2025-05-25T20:19:07.7607646+04:00","dateTo":"2025-05-25T20:19:07.7607646+04:00","division":"0e3e9f12-8b87-4d12-8abb-7171f9074724","asset":"a1b2f4bc-8c1e-4030-b47d-a57d047a09ea","building":"55ac62de-a54d-4a88-a036-9c3017e03522","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>a1b2f4bc-8c1e-4030-b47d-a57d047a09ea</asset>
  <building>55ac62de-a54d-4a88-a036-9c3017e03522</building>
  <dateFrom>2025-05-25T20:19:07.7607646+04:00</dateFrom>
  <dateTo>2025-05-25T20:19:07.7607646+04:00</dateTo>
  <division>0e3e9f12-8b87-4d12-8abb-7171f9074724</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

AgentPerformanceYTDDTO
NameDescriptionTypeAdditional information
Month

string

None.

AssignedVisits

integer

None.

CompletedVisits

integer

None.

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:

Sample not available.