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": "2025-10-30T10:03:06.6682565+04:00",
"TimeTo": "2025-10-30T10:03:06.6682565+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "8eded052-a19d-40c5-be5a-89c22f7d19f5",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "ccfd7bc1-fcc5-4670-91c2-a71c3e2f886d",
"AssetId": "181cd7e4-b36f-4841-8713-5bd01c6d847a",
"BuildingId": "ddf0215d-3c84-4833-9d74-80e9fa46eb4c",
"SubBuildingId": "7d7746ee-dbcb-437b-978b-5c2c778a9bf8",
"LocationId": "641b6f31-9b54-42a1-8d27-2912c4d5da95",
"CategoryId": "a1fc07fa-8acc-4d8d-ba9e-7612238cd79c",
"SectorId": "cb4a4d8d-2b02-4951-8baf-7f161027cd67",
"Month": 1,
"Year": 1,
"SubSectorId": "b7974912-263f-40f5-9605-f7e2096d89b4",
"DateFrom": "2025-10-30T10:03:06.6682565+04:00",
"DateTo": "2025-10-30T10:03:06.6682565+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2025-10-30T10:03:06.6682565+04:00","TimeTo":"2025-10-30T10:03:06.6682565+04:00","Description":"sample string 1","WorkFlowStatus":"8eded052-a19d-40c5-be5a-89c22f7d19f5","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"ccfd7bc1-fcc5-4670-91c2-a71c3e2f886d","AssetId":"181cd7e4-b36f-4841-8713-5bd01c6d847a","BuildingId":"ddf0215d-3c84-4833-9d74-80e9fa46eb4c","SubBuildingId":"7d7746ee-dbcb-437b-978b-5c2c778a9bf8","LocationId":"641b6f31-9b54-42a1-8d27-2912c4d5da95","CategoryId":"a1fc07fa-8acc-4d8d-ba9e-7612238cd79c","SectorId":"cb4a4d8d-2b02-4951-8baf-7f161027cd67","Month":1,"Year":1,"SubSectorId":"b7974912-263f-40f5-9605-f7e2096d89b4","DateFrom":"2025-10-30T10:03:06.6682565+04:00","DateTo":"2025-10-30T10:03:06.6682565+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>181cd7e4-b36f-4841-8713-5bd01c6d847a</AssetId> <BuildingId>ddf0215d-3c84-4833-9d74-80e9fa46eb4c</BuildingId> <CategoryId>a1fc07fa-8acc-4d8d-ba9e-7612238cd79c</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2025-10-30T10:03:06.6682565+04:00</DateFrom> <DateTo>2025-10-30T10:03:06.6682565+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>ccfd7bc1-fcc5-4670-91c2-a71c3e2f886d</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>641b6f31-9b54-42a1-8d27-2912c4d5da95</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>cb4a4d8d-2b02-4951-8baf-7f161027cd67</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>7d7746ee-dbcb-437b-978b-5c2c778a9bf8</SubBuildingId> <SubSectorId>b7974912-263f-40f5-9605-f7e2096d89b4</SubSectorId> <TimeFrom>2025-10-30T10:03:06.6682565+04:00</TimeFrom> <TimeTo>2025-10-30T10:03:06.6682565+04:00</TimeTo> <WorkFlowStatus>8eded052-a19d-40c5-be5a-89c22f7d19f5</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>