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-06-15T21:06:19.9481989+04:00",
"TimeTo": "2026-06-15T21:06:19.9481989+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "1ee30b5a-ce5a-4a81-ab5a-89b789484c8d",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "11ad89df-e7aa-404c-baf3-c40282390c20",
"AssetId": "5b85f4d4-8171-4d3d-ab1b-9e777ad8f15d",
"BuildingId": "9c3d9d25-8fc5-4b09-b19b-f2442cee9c8d",
"SubBuildingId": "bdb96a7c-3400-4601-be7a-6b3dd256a4dc",
"LocationId": "544fa580-e6fd-4bd7-8a99-0dd662741eef",
"CategoryId": "b1a61c7e-2dd7-4d51-af62-639fe1673dd8",
"SectorId": "5f9ecd20-7ecf-4637-845b-57ad700f08b8",
"Month": 1,
"Year": 1,
"SubSectorId": "d5ee9bbe-1941-4660-b8cd-47bcfceff8d0",
"DateFrom": "2026-06-15T21:06:19.9501993+04:00",
"DateTo": "2026-06-15T21:06:19.9501993+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2026-06-15T21:06:19.9481989+04:00","TimeTo":"2026-06-15T21:06:19.9481989+04:00","Description":"sample string 1","WorkFlowStatus":"1ee30b5a-ce5a-4a81-ab5a-89b789484c8d","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"11ad89df-e7aa-404c-baf3-c40282390c20","AssetId":"5b85f4d4-8171-4d3d-ab1b-9e777ad8f15d","BuildingId":"9c3d9d25-8fc5-4b09-b19b-f2442cee9c8d","SubBuildingId":"bdb96a7c-3400-4601-be7a-6b3dd256a4dc","LocationId":"544fa580-e6fd-4bd7-8a99-0dd662741eef","CategoryId":"b1a61c7e-2dd7-4d51-af62-639fe1673dd8","SectorId":"5f9ecd20-7ecf-4637-845b-57ad700f08b8","Month":1,"Year":1,"SubSectorId":"d5ee9bbe-1941-4660-b8cd-47bcfceff8d0","DateFrom":"2026-06-15T21:06:19.9501993+04:00","DateTo":"2026-06-15T21:06:19.9501993+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>5b85f4d4-8171-4d3d-ab1b-9e777ad8f15d</AssetId> <BuildingId>9c3d9d25-8fc5-4b09-b19b-f2442cee9c8d</BuildingId> <CategoryId>b1a61c7e-2dd7-4d51-af62-639fe1673dd8</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2026-06-15T21:06:19.9501993+04:00</DateFrom> <DateTo>2026-06-15T21:06:19.9501993+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>11ad89df-e7aa-404c-baf3-c40282390c20</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>544fa580-e6fd-4bd7-8a99-0dd662741eef</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>5f9ecd20-7ecf-4637-845b-57ad700f08b8</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>bdb96a7c-3400-4601-be7a-6b3dd256a4dc</SubBuildingId> <SubSectorId>d5ee9bbe-1941-4660-b8cd-47bcfceff8d0</SubSectorId> <TimeFrom>2026-06-15T21:06:19.9481989+04:00</TimeFrom> <TimeTo>2026-06-15T21:06:19.9481989+04:00</TimeTo> <WorkFlowStatus>1ee30b5a-ce5a-4a81-ab5a-89b789484c8d</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": "1294adc3-ba21-4a15-8628-eefff768290d",
"M_Asset": "80268aa6-8c96-4c6e-9a31-52a24c71ca58",
"M_Building": "7b343fc2-3eb5-407b-b024-c6fc74032eee",
"M_SubBuilding": "b00db9bf-8038-4db6-9015-ef0535a4a75a",
"M_Location": "2d3abe51-4fc2-4b85-96b7-5a3c6a71552d",
"M_Category": "76d22c18-b43c-44a8-ae87-02add164e008",
"M_Sectors": "c40bb6bb-5c72-488a-b2fe-50a747460c77",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
},
{
"Id": 1,
"M_Division": "1294adc3-ba21-4a15-8628-eefff768290d",
"M_Asset": "80268aa6-8c96-4c6e-9a31-52a24c71ca58",
"M_Building": "7b343fc2-3eb5-407b-b024-c6fc74032eee",
"M_SubBuilding": "b00db9bf-8038-4db6-9015-ef0535a4a75a",
"M_Location": "2d3abe51-4fc2-4b85-96b7-5a3c6a71552d",
"M_Category": "76d22c18-b43c-44a8-ae87-02add164e008",
"M_Sectors": "c40bb6bb-5c72-488a-b2fe-50a747460c77",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"1294adc3-ba21-4a15-8628-eefff768290d","M_Asset":"80268aa6-8c96-4c6e-9a31-52a24c71ca58","M_Building":"7b343fc2-3eb5-407b-b024-c6fc74032eee","M_SubBuilding":"b00db9bf-8038-4db6-9015-ef0535a4a75a","M_Location":"2d3abe51-4fc2-4b85-96b7-5a3c6a71552d","M_Category":"76d22c18-b43c-44a8-ae87-02add164e008","M_Sectors":"c40bb6bb-5c72-488a-b2fe-50a747460c77","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"1294adc3-ba21-4a15-8628-eefff768290d","M_Asset":"80268aa6-8c96-4c6e-9a31-52a24c71ca58","M_Building":"7b343fc2-3eb5-407b-b024-c6fc74032eee","M_SubBuilding":"b00db9bf-8038-4db6-9015-ef0535a4a75a","M_Location":"2d3abe51-4fc2-4b85-96b7-5a3c6a71552d","M_Category":"76d22c18-b43c-44a8-ae87-02add164e008","M_Sectors":"c40bb6bb-5c72-488a-b2fe-50a747460c77","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>80268aa6-8c96-4c6e-9a31-52a24c71ca58</M_Asset>
<M_Building>7b343fc2-3eb5-407b-b024-c6fc74032eee</M_Building>
<M_Category>76d22c18-b43c-44a8-ae87-02add164e008</M_Category>
<M_Division>1294adc3-ba21-4a15-8628-eefff768290d</M_Division>
<M_Location>2d3abe51-4fc2-4b85-96b7-5a3c6a71552d</M_Location>
<M_Sectors>c40bb6bb-5c72-488a-b2fe-50a747460c77</M_Sectors>
<M_SubBuilding>b00db9bf-8038-4db6-9015-ef0535a4a75a</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>80268aa6-8c96-4c6e-9a31-52a24c71ca58</M_Asset>
<M_Building>7b343fc2-3eb5-407b-b024-c6fc74032eee</M_Building>
<M_Category>76d22c18-b43c-44a8-ae87-02add164e008</M_Category>
<M_Division>1294adc3-ba21-4a15-8628-eefff768290d</M_Division>
<M_Location>2d3abe51-4fc2-4b85-96b7-5a3c6a71552d</M_Location>
<M_Sectors>c40bb6bb-5c72-488a-b2fe-50a747460c77</M_Sectors>
<M_SubBuilding>b00db9bf-8038-4db6-9015-ef0535a4a75a</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
</ArrayOfTimeSheetStructure>