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-01-29T03:11:03.6540436+04:00",
"TimeTo": "2026-01-29T03:11:03.6540436+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "e70d2e6e-e225-48ea-9ef1-b66c799acbb6",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "839f2386-a1c0-40f4-a16d-083050df2cca",
"AssetId": "5be38309-0339-4788-a6a8-03527d1c2bfd",
"BuildingId": "80fe0e6f-b318-4ef6-a1af-90c4868cd1c0",
"SubBuildingId": "294f8903-b395-4b45-bbfe-4fcb8bedef4e",
"LocationId": "1222d09b-c623-4e98-bef7-8fcee07ddf1e",
"CategoryId": "09bc49ca-5b9b-48db-92dd-52716d280e4d",
"SectorId": "3cb8a653-967c-4855-be30-467970f4bf9f",
"Month": 1,
"Year": 1,
"SubSectorId": "510be587-3cf1-4dd7-96da-a2bc35ba85e4",
"DateFrom": "2026-01-29T03:11:03.6540436+04:00",
"DateTo": "2026-01-29T03:11:03.6540436+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2026-01-29T03:11:03.6540436+04:00","TimeTo":"2026-01-29T03:11:03.6540436+04:00","Description":"sample string 1","WorkFlowStatus":"e70d2e6e-e225-48ea-9ef1-b66c799acbb6","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"839f2386-a1c0-40f4-a16d-083050df2cca","AssetId":"5be38309-0339-4788-a6a8-03527d1c2bfd","BuildingId":"80fe0e6f-b318-4ef6-a1af-90c4868cd1c0","SubBuildingId":"294f8903-b395-4b45-bbfe-4fcb8bedef4e","LocationId":"1222d09b-c623-4e98-bef7-8fcee07ddf1e","CategoryId":"09bc49ca-5b9b-48db-92dd-52716d280e4d","SectorId":"3cb8a653-967c-4855-be30-467970f4bf9f","Month":1,"Year":1,"SubSectorId":"510be587-3cf1-4dd7-96da-a2bc35ba85e4","DateFrom":"2026-01-29T03:11:03.6540436+04:00","DateTo":"2026-01-29T03:11:03.6540436+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>5be38309-0339-4788-a6a8-03527d1c2bfd</AssetId> <BuildingId>80fe0e6f-b318-4ef6-a1af-90c4868cd1c0</BuildingId> <CategoryId>09bc49ca-5b9b-48db-92dd-52716d280e4d</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2026-01-29T03:11:03.6540436+04:00</DateFrom> <DateTo>2026-01-29T03:11:03.6540436+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>839f2386-a1c0-40f4-a16d-083050df2cca</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>1222d09b-c623-4e98-bef7-8fcee07ddf1e</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>3cb8a653-967c-4855-be30-467970f4bf9f</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>294f8903-b395-4b45-bbfe-4fcb8bedef4e</SubBuildingId> <SubSectorId>510be587-3cf1-4dd7-96da-a2bc35ba85e4</SubSectorId> <TimeFrom>2026-01-29T03:11:03.6540436+04:00</TimeFrom> <TimeTo>2026-01-29T03:11:03.6540436+04:00</TimeTo> <WorkFlowStatus>e70d2e6e-e225-48ea-9ef1-b66c799acbb6</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": "6c8bfc86-bd1b-4bfb-b8ab-826b821f38be",
"M_Asset": "8493f629-7995-4c93-a120-e08bf704c487",
"M_Building": "b8e65b4c-795e-432d-8894-d96bb6214d63",
"M_SubBuilding": "413925ab-0ec3-4c69-96dc-6bd046a5e1ed",
"M_Location": "29d99b89-3f18-4a07-9e8b-4f47d41d3455",
"M_Category": "80b053c0-348d-4291-935e-56c3f4b4daf7",
"M_Sectors": "41e2348d-8ddd-48c1-9e0e-a87b7141932b",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
},
{
"Id": 1,
"M_Division": "6c8bfc86-bd1b-4bfb-b8ab-826b821f38be",
"M_Asset": "8493f629-7995-4c93-a120-e08bf704c487",
"M_Building": "b8e65b4c-795e-432d-8894-d96bb6214d63",
"M_SubBuilding": "413925ab-0ec3-4c69-96dc-6bd046a5e1ed",
"M_Location": "29d99b89-3f18-4a07-9e8b-4f47d41d3455",
"M_Category": "80b053c0-348d-4291-935e-56c3f4b4daf7",
"M_Sectors": "41e2348d-8ddd-48c1-9e0e-a87b7141932b",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"6c8bfc86-bd1b-4bfb-b8ab-826b821f38be","M_Asset":"8493f629-7995-4c93-a120-e08bf704c487","M_Building":"b8e65b4c-795e-432d-8894-d96bb6214d63","M_SubBuilding":"413925ab-0ec3-4c69-96dc-6bd046a5e1ed","M_Location":"29d99b89-3f18-4a07-9e8b-4f47d41d3455","M_Category":"80b053c0-348d-4291-935e-56c3f4b4daf7","M_Sectors":"41e2348d-8ddd-48c1-9e0e-a87b7141932b","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"6c8bfc86-bd1b-4bfb-b8ab-826b821f38be","M_Asset":"8493f629-7995-4c93-a120-e08bf704c487","M_Building":"b8e65b4c-795e-432d-8894-d96bb6214d63","M_SubBuilding":"413925ab-0ec3-4c69-96dc-6bd046a5e1ed","M_Location":"29d99b89-3f18-4a07-9e8b-4f47d41d3455","M_Category":"80b053c0-348d-4291-935e-56c3f4b4daf7","M_Sectors":"41e2348d-8ddd-48c1-9e0e-a87b7141932b","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>8493f629-7995-4c93-a120-e08bf704c487</M_Asset>
<M_Building>b8e65b4c-795e-432d-8894-d96bb6214d63</M_Building>
<M_Category>80b053c0-348d-4291-935e-56c3f4b4daf7</M_Category>
<M_Division>6c8bfc86-bd1b-4bfb-b8ab-826b821f38be</M_Division>
<M_Location>29d99b89-3f18-4a07-9e8b-4f47d41d3455</M_Location>
<M_Sectors>41e2348d-8ddd-48c1-9e0e-a87b7141932b</M_Sectors>
<M_SubBuilding>413925ab-0ec3-4c69-96dc-6bd046a5e1ed</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>8493f629-7995-4c93-a120-e08bf704c487</M_Asset>
<M_Building>b8e65b4c-795e-432d-8894-d96bb6214d63</M_Building>
<M_Category>80b053c0-348d-4291-935e-56c3f4b4daf7</M_Category>
<M_Division>6c8bfc86-bd1b-4bfb-b8ab-826b821f38be</M_Division>
<M_Location>29d99b89-3f18-4a07-9e8b-4f47d41d3455</M_Location>
<M_Sectors>41e2348d-8ddd-48c1-9e0e-a87b7141932b</M_Sectors>
<M_SubBuilding>413925ab-0ec3-4c69-96dc-6bd046a5e1ed</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
</ArrayOfTimeSheetStructure>