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": "2025-12-14T17:45:48.1315249+04:00",
"TimeTo": "2025-12-14T17:45:48.1315249+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "665abb5d-89d5-40c2-964e-4d1433322519",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "410f7a03-ca09-4c67-939b-f1c3bb08d982",
"AssetId": "301900b8-2ae1-4e34-92a5-95fcac3acce8",
"BuildingId": "68bbb1aa-e6c3-4bb3-a4db-e85a57b8ee3d",
"SubBuildingId": "cf6671d9-855d-409e-b29f-762d54f59961",
"LocationId": "cf58065f-6be6-4ee9-8cec-b201b00c40f9",
"CategoryId": "fb8c2209-1890-4e66-8bde-6b78f509e20b",
"SectorId": "1d87a61f-3dee-45f3-a549-6f0a1e247de4",
"Month": 1,
"Year": 1,
"SubSectorId": "ba3187ce-91b4-481f-bebd-0f54f34e3746",
"DateFrom": "2025-12-14T17:45:48.1315249+04:00",
"DateTo": "2025-12-14T17:45:48.1315249+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2025-12-14T17:45:48.1315249+04:00","TimeTo":"2025-12-14T17:45:48.1315249+04:00","Description":"sample string 1","WorkFlowStatus":"665abb5d-89d5-40c2-964e-4d1433322519","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"410f7a03-ca09-4c67-939b-f1c3bb08d982","AssetId":"301900b8-2ae1-4e34-92a5-95fcac3acce8","BuildingId":"68bbb1aa-e6c3-4bb3-a4db-e85a57b8ee3d","SubBuildingId":"cf6671d9-855d-409e-b29f-762d54f59961","LocationId":"cf58065f-6be6-4ee9-8cec-b201b00c40f9","CategoryId":"fb8c2209-1890-4e66-8bde-6b78f509e20b","SectorId":"1d87a61f-3dee-45f3-a549-6f0a1e247de4","Month":1,"Year":1,"SubSectorId":"ba3187ce-91b4-481f-bebd-0f54f34e3746","DateFrom":"2025-12-14T17:45:48.1315249+04:00","DateTo":"2025-12-14T17:45:48.1315249+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>301900b8-2ae1-4e34-92a5-95fcac3acce8</AssetId> <BuildingId>68bbb1aa-e6c3-4bb3-a4db-e85a57b8ee3d</BuildingId> <CategoryId>fb8c2209-1890-4e66-8bde-6b78f509e20b</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2025-12-14T17:45:48.1315249+04:00</DateFrom> <DateTo>2025-12-14T17:45:48.1315249+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>410f7a03-ca09-4c67-939b-f1c3bb08d982</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>cf58065f-6be6-4ee9-8cec-b201b00c40f9</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>1d87a61f-3dee-45f3-a549-6f0a1e247de4</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>cf6671d9-855d-409e-b29f-762d54f59961</SubBuildingId> <SubSectorId>ba3187ce-91b4-481f-bebd-0f54f34e3746</SubSectorId> <TimeFrom>2025-12-14T17:45:48.1315249+04:00</TimeFrom> <TimeTo>2025-12-14T17:45:48.1315249+04:00</TimeTo> <WorkFlowStatus>665abb5d-89d5-40c2-964e-4d1433322519</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": "8471c1aa-6657-48c2-be8b-faf5aff9b997",
"M_Asset": "a2cfd10e-9d37-4453-ad10-ee090e91ca0d",
"M_Building": "9a6f64f9-7a11-41e8-b2aa-5bca3e921013",
"M_SubBuilding": "cf3e2de2-86f9-41a5-93f9-374db2c964da",
"M_Location": "4b2f0144-7fe1-42b3-9d43-2309f9230dff",
"M_Category": "91f456d1-ca75-416d-a054-f7b9c1f5e431",
"M_Sectors": "8eb0217c-5604-4d2e-89ee-a039efc12989",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
},
{
"Id": 1,
"M_Division": "8471c1aa-6657-48c2-be8b-faf5aff9b997",
"M_Asset": "a2cfd10e-9d37-4453-ad10-ee090e91ca0d",
"M_Building": "9a6f64f9-7a11-41e8-b2aa-5bca3e921013",
"M_SubBuilding": "cf3e2de2-86f9-41a5-93f9-374db2c964da",
"M_Location": "4b2f0144-7fe1-42b3-9d43-2309f9230dff",
"M_Category": "91f456d1-ca75-416d-a054-f7b9c1f5e431",
"M_Sectors": "8eb0217c-5604-4d2e-89ee-a039efc12989",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"8471c1aa-6657-48c2-be8b-faf5aff9b997","M_Asset":"a2cfd10e-9d37-4453-ad10-ee090e91ca0d","M_Building":"9a6f64f9-7a11-41e8-b2aa-5bca3e921013","M_SubBuilding":"cf3e2de2-86f9-41a5-93f9-374db2c964da","M_Location":"4b2f0144-7fe1-42b3-9d43-2309f9230dff","M_Category":"91f456d1-ca75-416d-a054-f7b9c1f5e431","M_Sectors":"8eb0217c-5604-4d2e-89ee-a039efc12989","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"8471c1aa-6657-48c2-be8b-faf5aff9b997","M_Asset":"a2cfd10e-9d37-4453-ad10-ee090e91ca0d","M_Building":"9a6f64f9-7a11-41e8-b2aa-5bca3e921013","M_SubBuilding":"cf3e2de2-86f9-41a5-93f9-374db2c964da","M_Location":"4b2f0144-7fe1-42b3-9d43-2309f9230dff","M_Category":"91f456d1-ca75-416d-a054-f7b9c1f5e431","M_Sectors":"8eb0217c-5604-4d2e-89ee-a039efc12989","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>a2cfd10e-9d37-4453-ad10-ee090e91ca0d</M_Asset>
<M_Building>9a6f64f9-7a11-41e8-b2aa-5bca3e921013</M_Building>
<M_Category>91f456d1-ca75-416d-a054-f7b9c1f5e431</M_Category>
<M_Division>8471c1aa-6657-48c2-be8b-faf5aff9b997</M_Division>
<M_Location>4b2f0144-7fe1-42b3-9d43-2309f9230dff</M_Location>
<M_Sectors>8eb0217c-5604-4d2e-89ee-a039efc12989</M_Sectors>
<M_SubBuilding>cf3e2de2-86f9-41a5-93f9-374db2c964da</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>a2cfd10e-9d37-4453-ad10-ee090e91ca0d</M_Asset>
<M_Building>9a6f64f9-7a11-41e8-b2aa-5bca3e921013</M_Building>
<M_Category>91f456d1-ca75-416d-a054-f7b9c1f5e431</M_Category>
<M_Division>8471c1aa-6657-48c2-be8b-faf5aff9b997</M_Division>
<M_Location>4b2f0144-7fe1-42b3-9d43-2309f9230dff</M_Location>
<M_Sectors>8eb0217c-5604-4d2e-89ee-a039efc12989</M_Sectors>
<M_SubBuilding>cf3e2de2-86f9-41a5-93f9-374db2c964da</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
</ArrayOfTimeSheetStructure>