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-09-15T08:47:38.8696337+04:00",
"TimeTo": "2026-09-15T08:47:38.8696337+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "5361992c-10cd-4c34-93ca-7b01c519c352",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "3b7a95ad-7e65-4636-8db6-972ad2319bbf",
"AssetId": "eb1e87e7-96d1-41fa-b3b8-def22c7fb20c",
"BuildingId": "3b1f579c-bfb4-49b1-bde9-9abde44562c6",
"SubBuildingId": "424d0ff0-710c-4878-bc5f-00cbec978412",
"LocationId": "c2f978a0-8d4b-43d6-bd5c-527439dc6ef8",
"CategoryId": "77ae8d13-bc15-426a-9c16-6766b91e16f8",
"SectorId": "dba24603-4d17-42d3-b690-c6cd3c95aee7",
"Month": 1,
"Year": 1,
"SubSectorId": "a5046b3c-3502-4c21-984a-7b30aa930c65",
"DateFrom": "2026-09-15T08:47:38.8696337+04:00",
"DateTo": "2026-09-15T08:47:38.8696337+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2026-09-15T08:47:38.8696337+04:00","TimeTo":"2026-09-15T08:47:38.8696337+04:00","Description":"sample string 1","WorkFlowStatus":"5361992c-10cd-4c34-93ca-7b01c519c352","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"3b7a95ad-7e65-4636-8db6-972ad2319bbf","AssetId":"eb1e87e7-96d1-41fa-b3b8-def22c7fb20c","BuildingId":"3b1f579c-bfb4-49b1-bde9-9abde44562c6","SubBuildingId":"424d0ff0-710c-4878-bc5f-00cbec978412","LocationId":"c2f978a0-8d4b-43d6-bd5c-527439dc6ef8","CategoryId":"77ae8d13-bc15-426a-9c16-6766b91e16f8","SectorId":"dba24603-4d17-42d3-b690-c6cd3c95aee7","Month":1,"Year":1,"SubSectorId":"a5046b3c-3502-4c21-984a-7b30aa930c65","DateFrom":"2026-09-15T08:47:38.8696337+04:00","DateTo":"2026-09-15T08:47:38.8696337+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>eb1e87e7-96d1-41fa-b3b8-def22c7fb20c</AssetId> <BuildingId>3b1f579c-bfb4-49b1-bde9-9abde44562c6</BuildingId> <CategoryId>77ae8d13-bc15-426a-9c16-6766b91e16f8</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2026-09-15T08:47:38.8696337+04:00</DateFrom> <DateTo>2026-09-15T08:47:38.8696337+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>3b7a95ad-7e65-4636-8db6-972ad2319bbf</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>c2f978a0-8d4b-43d6-bd5c-527439dc6ef8</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>dba24603-4d17-42d3-b690-c6cd3c95aee7</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>424d0ff0-710c-4878-bc5f-00cbec978412</SubBuildingId> <SubSectorId>a5046b3c-3502-4c21-984a-7b30aa930c65</SubSectorId> <TimeFrom>2026-09-15T08:47:38.8696337+04:00</TimeFrom> <TimeTo>2026-09-15T08:47:38.8696337+04:00</TimeTo> <WorkFlowStatus>5361992c-10cd-4c34-93ca-7b01c519c352</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": "7495c6fe-3480-4c82-994a-60dbd9f0a500",
"M_Asset": "7398c8bf-0268-450d-bb1b-dbb6aa08ad74",
"M_Building": "cd2819ae-a8b8-443b-bfb3-f772c53fd6cb",
"M_SubBuilding": "59b4a1cc-d65e-49f2-a2a9-cde877e5b0eb",
"M_Location": "46b5dc41-b9c1-496f-81c5-a4c190af5cf4",
"M_Category": "29eaebf1-6cbb-47d6-a869-b6f84b93cc54",
"M_Sectors": "c5b3b879-813f-4ee2-b928-8047b4435e00",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
},
{
"Id": 1,
"M_Division": "7495c6fe-3480-4c82-994a-60dbd9f0a500",
"M_Asset": "7398c8bf-0268-450d-bb1b-dbb6aa08ad74",
"M_Building": "cd2819ae-a8b8-443b-bfb3-f772c53fd6cb",
"M_SubBuilding": "59b4a1cc-d65e-49f2-a2a9-cde877e5b0eb",
"M_Location": "46b5dc41-b9c1-496f-81c5-a4c190af5cf4",
"M_Category": "29eaebf1-6cbb-47d6-a869-b6f84b93cc54",
"M_Sectors": "c5b3b879-813f-4ee2-b928-8047b4435e00",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"7495c6fe-3480-4c82-994a-60dbd9f0a500","M_Asset":"7398c8bf-0268-450d-bb1b-dbb6aa08ad74","M_Building":"cd2819ae-a8b8-443b-bfb3-f772c53fd6cb","M_SubBuilding":"59b4a1cc-d65e-49f2-a2a9-cde877e5b0eb","M_Location":"46b5dc41-b9c1-496f-81c5-a4c190af5cf4","M_Category":"29eaebf1-6cbb-47d6-a869-b6f84b93cc54","M_Sectors":"c5b3b879-813f-4ee2-b928-8047b4435e00","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"7495c6fe-3480-4c82-994a-60dbd9f0a500","M_Asset":"7398c8bf-0268-450d-bb1b-dbb6aa08ad74","M_Building":"cd2819ae-a8b8-443b-bfb3-f772c53fd6cb","M_SubBuilding":"59b4a1cc-d65e-49f2-a2a9-cde877e5b0eb","M_Location":"46b5dc41-b9c1-496f-81c5-a4c190af5cf4","M_Category":"29eaebf1-6cbb-47d6-a869-b6f84b93cc54","M_Sectors":"c5b3b879-813f-4ee2-b928-8047b4435e00","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>7398c8bf-0268-450d-bb1b-dbb6aa08ad74</M_Asset>
<M_Building>cd2819ae-a8b8-443b-bfb3-f772c53fd6cb</M_Building>
<M_Category>29eaebf1-6cbb-47d6-a869-b6f84b93cc54</M_Category>
<M_Division>7495c6fe-3480-4c82-994a-60dbd9f0a500</M_Division>
<M_Location>46b5dc41-b9c1-496f-81c5-a4c190af5cf4</M_Location>
<M_Sectors>c5b3b879-813f-4ee2-b928-8047b4435e00</M_Sectors>
<M_SubBuilding>59b4a1cc-d65e-49f2-a2a9-cde877e5b0eb</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>7398c8bf-0268-450d-bb1b-dbb6aa08ad74</M_Asset>
<M_Building>cd2819ae-a8b8-443b-bfb3-f772c53fd6cb</M_Building>
<M_Category>29eaebf1-6cbb-47d6-a869-b6f84b93cc54</M_Category>
<M_Division>7495c6fe-3480-4c82-994a-60dbd9f0a500</M_Division>
<M_Location>46b5dc41-b9c1-496f-81c5-a4c190af5cf4</M_Location>
<M_Sectors>c5b3b879-813f-4ee2-b928-8047b4435e00</M_Sectors>
<M_SubBuilding>59b4a1cc-d65e-49f2-a2a9-cde877e5b0eb</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
</ArrayOfTimeSheetStructure>