POST Api/AgentBudgetApi/GetVisitCountsWorkHours
Request Information
URI Parameters
None.
Body Parameters
FilterTimes| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AgentMonthlyTimeSheetId | integer |
None. |
|
| ScheduleId | integer |
None. |
|
| TimeFrom | date |
None. |
|
| TimeTo | date |
None. |
|
| Description | string |
None. |
|
| WorkFlowStatus | globally unique identifier |
None. |
|
| CreatedBy | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| Status | string |
None. |
|
| AgentId | integer |
None. |
|
| DivisionId | globally unique identifier |
None. |
|
| AssetId | globally unique identifier |
None. |
|
| BuildingId | globally unique identifier |
None. |
|
| SubBuildingId | globally unique identifier |
None. |
|
| LocationId | globally unique identifier |
None. |
|
| CategoryId | globally unique identifier |
None. |
|
| SectorId | globally unique identifier |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| SubSectorId | globally unique identifier |
None. |
|
| DateFrom | date |
None. |
|
| DateTo | date |
None. |
|
| Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"AgentMonthlyTimeSheetId": 1,
"ScheduleId": 1,
"TimeFrom": "2026-07-31T23:52:57.4204826+04:00",
"TimeTo": "2026-07-31T23:52:57.4204826+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "a234efdc-2b82-4c47-9a05-a103f86b86fd",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "08fc44ff-6fee-4fbd-90e4-8997d4980745",
"AssetId": "a9c5cb30-3cb3-485f-9cbd-6e48846c75d2",
"BuildingId": "92af5b38-d2c8-4d2f-b656-3c32716c29e5",
"SubBuildingId": "eb761031-5fd9-4c70-8e84-73083fa7470f",
"LocationId": "2422302f-32f9-42fb-967f-44b714557e0d",
"CategoryId": "dfac5b0f-0f27-4e71-9bc3-0217febd627f",
"SectorId": "718d6ce5-aa71-40a3-84bc-6937d816f451",
"Month": 1,
"Year": 1,
"SubSectorId": "e6887637-5781-4e7e-bfe0-0d64e87d23c7",
"DateFrom": "2026-07-31T23:52:57.4204826+04:00",
"DateTo": "2026-07-31T23:52:57.4204826+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2026-07-31T23:52:57.4204826+04:00","TimeTo":"2026-07-31T23:52:57.4204826+04:00","Description":"sample string 1","WorkFlowStatus":"a234efdc-2b82-4c47-9a05-a103f86b86fd","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"08fc44ff-6fee-4fbd-90e4-8997d4980745","AssetId":"a9c5cb30-3cb3-485f-9cbd-6e48846c75d2","BuildingId":"92af5b38-d2c8-4d2f-b656-3c32716c29e5","SubBuildingId":"eb761031-5fd9-4c70-8e84-73083fa7470f","LocationId":"2422302f-32f9-42fb-967f-44b714557e0d","CategoryId":"dfac5b0f-0f27-4e71-9bc3-0217febd627f","SectorId":"718d6ce5-aa71-40a3-84bc-6937d816f451","Month":1,"Year":1,"SubSectorId":"e6887637-5781-4e7e-bfe0-0d64e87d23c7","DateFrom":"2026-07-31T23:52:57.4204826+04:00","DateTo":"2026-07-31T23:52:57.4204826+04:00","Source":"sample string 4"}
application/xml, text/xml
Sample:
<FilterTimes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <AgentId>1</AgentId> <AgentMonthlyTimeSheetId>1</AgentMonthlyTimeSheetId> <AssetId>a9c5cb30-3cb3-485f-9cbd-6e48846c75d2</AssetId> <BuildingId>92af5b38-d2c8-4d2f-b656-3c32716c29e5</BuildingId> <CategoryId>dfac5b0f-0f27-4e71-9bc3-0217febd627f</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2026-07-31T23:52:57.4204826+04:00</DateFrom> <DateTo>2026-07-31T23:52:57.4204826+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>08fc44ff-6fee-4fbd-90e4-8997d4980745</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>2422302f-32f9-42fb-967f-44b714557e0d</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>718d6ce5-aa71-40a3-84bc-6937d816f451</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>eb761031-5fd9-4c70-8e84-73083fa7470f</SubBuildingId> <SubSectorId>e6887637-5781-4e7e-bfe0-0d64e87d23c7</SubSectorId> <TimeFrom>2026-07-31T23:52:57.4204826+04:00</TimeFrom> <TimeTo>2026-07-31T23:52:57.4204826+04:00</TimeTo> <WorkFlowStatus>a234efdc-2b82-4c47-9a05-a103f86b86fd</WorkFlowStatus> <Year>1</Year> </FilterTimes>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TotalVisitCountsWorkHoursDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalWorkingHours | integer |
None. |
|
| TotalVisitCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TotalWorkingHours": 1,
"TotalVisitCount": 2
},
{
"TotalWorkingHours": 1,
"TotalVisitCount": 2
}
]
text/html, multipart/form-data
Sample:
[{"TotalWorkingHours":1,"TotalVisitCount":2},{"TotalWorkingHours":1,"TotalVisitCount":2}]
application/xml, text/xml
Sample:
<ArrayOfTotalVisitCountsWorkHoursDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
<TotalVisitCountsWorkHoursDTO>
<TotalVisitCount>2</TotalVisitCount>
<TotalWorkingHours>1</TotalWorkingHours>
</TotalVisitCountsWorkHoursDTO>
<TotalVisitCountsWorkHoursDTO>
<TotalVisitCount>2</TotalVisitCount>
<TotalWorkingHours>1</TotalWorkingHours>
</TotalVisitCountsWorkHoursDTO>
</ArrayOfTotalVisitCountsWorkHoursDTO>