POST Api/AgentBudgetApi/GetTSStructure
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:51:01.0331443+04:00",
"TimeTo": "2026-07-31T23:51:01.0331443+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "627c2920-f33c-454f-8ed3-d035d104f77d",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "8e5c6e7e-c47b-4ad3-ba85-7e268720d281",
"AssetId": "98059856-7a0b-44d3-9f68-8c6b0224354f",
"BuildingId": "178a301f-3974-44b9-8e2f-d52625735b55",
"SubBuildingId": "59365743-9fbe-4ff3-a257-39dce90a56e0",
"LocationId": "917a5d0b-c839-4560-b4db-54ad91f10af4",
"CategoryId": "5cce7755-69cf-467c-baa1-3d78e0ec1fb2",
"SectorId": "12495fb5-2616-4b30-ab7b-3ca096d57755",
"Month": 1,
"Year": 1,
"SubSectorId": "92ef6c71-e406-421c-91af-bf18fcc12334",
"DateFrom": "2026-07-31T23:51:01.0341447+04:00",
"DateTo": "2026-07-31T23:51:01.0341447+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2026-07-31T23:51:01.0331443+04:00","TimeTo":"2026-07-31T23:51:01.0331443+04:00","Description":"sample string 1","WorkFlowStatus":"627c2920-f33c-454f-8ed3-d035d104f77d","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"8e5c6e7e-c47b-4ad3-ba85-7e268720d281","AssetId":"98059856-7a0b-44d3-9f68-8c6b0224354f","BuildingId":"178a301f-3974-44b9-8e2f-d52625735b55","SubBuildingId":"59365743-9fbe-4ff3-a257-39dce90a56e0","LocationId":"917a5d0b-c839-4560-b4db-54ad91f10af4","CategoryId":"5cce7755-69cf-467c-baa1-3d78e0ec1fb2","SectorId":"12495fb5-2616-4b30-ab7b-3ca096d57755","Month":1,"Year":1,"SubSectorId":"92ef6c71-e406-421c-91af-bf18fcc12334","DateFrom":"2026-07-31T23:51:01.0341447+04:00","DateTo":"2026-07-31T23:51:01.0341447+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>98059856-7a0b-44d3-9f68-8c6b0224354f</AssetId> <BuildingId>178a301f-3974-44b9-8e2f-d52625735b55</BuildingId> <CategoryId>5cce7755-69cf-467c-baa1-3d78e0ec1fb2</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2026-07-31T23:51:01.0341447+04:00</DateFrom> <DateTo>2026-07-31T23:51:01.0341447+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>8e5c6e7e-c47b-4ad3-ba85-7e268720d281</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>917a5d0b-c839-4560-b4db-54ad91f10af4</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>12495fb5-2616-4b30-ab7b-3ca096d57755</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>59365743-9fbe-4ff3-a257-39dce90a56e0</SubBuildingId> <SubSectorId>92ef6c71-e406-421c-91af-bf18fcc12334</SubSectorId> <TimeFrom>2026-07-31T23:51:01.0331443+04:00</TimeFrom> <TimeTo>2026-07-31T23:51:01.0331443+04:00</TimeTo> <WorkFlowStatus>627c2920-f33c-454f-8ed3-d035d104f77d</WorkFlowStatus> <Year>1</Year> </FilterTimes>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TimeSheetStructure| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| M_Division | globally unique identifier |
None. |
|
| M_Asset | globally unique identifier |
None. |
|
| M_Building | globally unique identifier |
None. |
|
| M_SubBuilding | globally unique identifier |
None. |
|
| M_Location | globally unique identifier |
None. |
|
| M_Category | globally unique identifier |
None. |
|
| M_Sectors | globally unique identifier |
None. |
|
| TimeFrom | time interval |
None. |
|
| TimeTo | time interval |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"M_Division": "dd441ff9-623e-43c8-92dc-bb51190e2624",
"M_Asset": "b5070f41-a5d1-4dda-8a37-3b4943afd305",
"M_Building": "a59c51b9-28a5-4e76-844a-e7647e376cae",
"M_SubBuilding": "95c3c54c-e16a-4470-b177-e32dda2a76f8",
"M_Location": "ee5d453c-fc45-4cf6-967d-43574d012113",
"M_Category": "47e72ba6-3116-470a-a0ee-f5e995bdc234",
"M_Sectors": "2f70674b-c2dc-4b3d-941c-f6d9619913bb",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
},
{
"Id": 1,
"M_Division": "dd441ff9-623e-43c8-92dc-bb51190e2624",
"M_Asset": "b5070f41-a5d1-4dda-8a37-3b4943afd305",
"M_Building": "a59c51b9-28a5-4e76-844a-e7647e376cae",
"M_SubBuilding": "95c3c54c-e16a-4470-b177-e32dda2a76f8",
"M_Location": "ee5d453c-fc45-4cf6-967d-43574d012113",
"M_Category": "47e72ba6-3116-470a-a0ee-f5e995bdc234",
"M_Sectors": "2f70674b-c2dc-4b3d-941c-f6d9619913bb",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"dd441ff9-623e-43c8-92dc-bb51190e2624","M_Asset":"b5070f41-a5d1-4dda-8a37-3b4943afd305","M_Building":"a59c51b9-28a5-4e76-844a-e7647e376cae","M_SubBuilding":"95c3c54c-e16a-4470-b177-e32dda2a76f8","M_Location":"ee5d453c-fc45-4cf6-967d-43574d012113","M_Category":"47e72ba6-3116-470a-a0ee-f5e995bdc234","M_Sectors":"2f70674b-c2dc-4b3d-941c-f6d9619913bb","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"dd441ff9-623e-43c8-92dc-bb51190e2624","M_Asset":"b5070f41-a5d1-4dda-8a37-3b4943afd305","M_Building":"a59c51b9-28a5-4e76-844a-e7647e376cae","M_SubBuilding":"95c3c54c-e16a-4470-b177-e32dda2a76f8","M_Location":"ee5d453c-fc45-4cf6-967d-43574d012113","M_Category":"47e72ba6-3116-470a-a0ee-f5e995bdc234","M_Sectors":"2f70674b-c2dc-4b3d-941c-f6d9619913bb","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"}]
application/xml, text/xml
Sample:
<ArrayOfTimeSheetStructure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>b5070f41-a5d1-4dda-8a37-3b4943afd305</M_Asset>
<M_Building>a59c51b9-28a5-4e76-844a-e7647e376cae</M_Building>
<M_Category>47e72ba6-3116-470a-a0ee-f5e995bdc234</M_Category>
<M_Division>dd441ff9-623e-43c8-92dc-bb51190e2624</M_Division>
<M_Location>ee5d453c-fc45-4cf6-967d-43574d012113</M_Location>
<M_Sectors>2f70674b-c2dc-4b3d-941c-f6d9619913bb</M_Sectors>
<M_SubBuilding>95c3c54c-e16a-4470-b177-e32dda2a76f8</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>b5070f41-a5d1-4dda-8a37-3b4943afd305</M_Asset>
<M_Building>a59c51b9-28a5-4e76-844a-e7647e376cae</M_Building>
<M_Category>47e72ba6-3116-470a-a0ee-f5e995bdc234</M_Category>
<M_Division>dd441ff9-623e-43c8-92dc-bb51190e2624</M_Division>
<M_Location>ee5d453c-fc45-4cf6-967d-43574d012113</M_Location>
<M_Sectors>2f70674b-c2dc-4b3d-941c-f6d9619913bb</M_Sectors>
<M_SubBuilding>95c3c54c-e16a-4470-b177-e32dda2a76f8</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
</ArrayOfTimeSheetStructure>