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-03-15T06:06:44.3608702+04:00",
"TimeTo": "2026-03-15T06:06:44.3608702+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "affb6d3c-6c5c-4ce6-b20e-db802d82d3a4",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "92b04074-64d4-4b7d-a915-c5bd60c7ae84",
"AssetId": "87e04657-28ad-4d7c-a564-35662a6ba566",
"BuildingId": "ac8fa397-c16a-40e9-ae73-2b621d8955d1",
"SubBuildingId": "7abb3bfb-77fe-4e59-a8df-fd42e2d07d83",
"LocationId": "1d1e5422-8a09-4b7b-9f0c-cdf173d3fe44",
"CategoryId": "1df20b0e-6dd2-4a6e-b443-93bf7e358e18",
"SectorId": "76508fde-df88-4eab-a2ee-44674d91832a",
"Month": 1,
"Year": 1,
"SubSectorId": "ceee386a-6dc9-467a-87f0-966bea5de7cd",
"DateFrom": "2026-03-15T06:06:44.3608702+04:00",
"DateTo": "2026-03-15T06:06:44.3608702+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2026-03-15T06:06:44.3608702+04:00","TimeTo":"2026-03-15T06:06:44.3608702+04:00","Description":"sample string 1","WorkFlowStatus":"affb6d3c-6c5c-4ce6-b20e-db802d82d3a4","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"92b04074-64d4-4b7d-a915-c5bd60c7ae84","AssetId":"87e04657-28ad-4d7c-a564-35662a6ba566","BuildingId":"ac8fa397-c16a-40e9-ae73-2b621d8955d1","SubBuildingId":"7abb3bfb-77fe-4e59-a8df-fd42e2d07d83","LocationId":"1d1e5422-8a09-4b7b-9f0c-cdf173d3fe44","CategoryId":"1df20b0e-6dd2-4a6e-b443-93bf7e358e18","SectorId":"76508fde-df88-4eab-a2ee-44674d91832a","Month":1,"Year":1,"SubSectorId":"ceee386a-6dc9-467a-87f0-966bea5de7cd","DateFrom":"2026-03-15T06:06:44.3608702+04:00","DateTo":"2026-03-15T06:06:44.3608702+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>87e04657-28ad-4d7c-a564-35662a6ba566</AssetId> <BuildingId>ac8fa397-c16a-40e9-ae73-2b621d8955d1</BuildingId> <CategoryId>1df20b0e-6dd2-4a6e-b443-93bf7e358e18</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2026-03-15T06:06:44.3608702+04:00</DateFrom> <DateTo>2026-03-15T06:06:44.3608702+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>92b04074-64d4-4b7d-a915-c5bd60c7ae84</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>1d1e5422-8a09-4b7b-9f0c-cdf173d3fe44</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>76508fde-df88-4eab-a2ee-44674d91832a</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>7abb3bfb-77fe-4e59-a8df-fd42e2d07d83</SubBuildingId> <SubSectorId>ceee386a-6dc9-467a-87f0-966bea5de7cd</SubSectorId> <TimeFrom>2026-03-15T06:06:44.3608702+04:00</TimeFrom> <TimeTo>2026-03-15T06:06:44.3608702+04:00</TimeTo> <WorkFlowStatus>affb6d3c-6c5c-4ce6-b20e-db802d82d3a4</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>