POST Api/AgentBudgetApi/GetTSStructure
Request Information
URI Parameters
None.
Body Parameters
FilterTimesName | 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-07-12T10:18:58.2238434+04:00", "TimeTo": "2025-07-12T10:18:58.2394692+04:00", "Description": "sample string 1", "WorkFlowStatus": "5b0546c7-52db-41c6-933d-d544d616a6f5", "CreatedBy": 1, "IsDeleted": true, "Status": "sample string 3", "AgentId": 1, "DivisionId": "71c3f3bc-392b-41e4-b8dc-912eed80daa2", "AssetId": "7d816f52-283c-4e8b-9421-f1d05459ea6c", "BuildingId": "f4a77251-c0c1-49c8-815f-4be55219e09d", "SubBuildingId": "2e6e3e33-558d-462a-8305-96137b722c54", "LocationId": "489eac65-9b3d-42b2-a1d9-7d1aa96a5966", "CategoryId": "9a027c35-7112-4fb7-8ca7-14e55d6b413a", "SectorId": "a1c16518-7e25-4df3-8dd0-ffa949000447", "Month": 1, "Year": 1, "SubSectorId": "ab3884ea-3eb2-4f6e-b6d3-0daf0aac22d3", "DateFrom": "2025-07-12T10:18:58.2394692+04:00", "DateTo": "2025-07-12T10:18:58.2394692+04:00", "Source": "sample string 4" }
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2025-07-12T10:18:58.2238434+04:00","TimeTo":"2025-07-12T10:18:58.2394692+04:00","Description":"sample string 1","WorkFlowStatus":"5b0546c7-52db-41c6-933d-d544d616a6f5","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"71c3f3bc-392b-41e4-b8dc-912eed80daa2","AssetId":"7d816f52-283c-4e8b-9421-f1d05459ea6c","BuildingId":"f4a77251-c0c1-49c8-815f-4be55219e09d","SubBuildingId":"2e6e3e33-558d-462a-8305-96137b722c54","LocationId":"489eac65-9b3d-42b2-a1d9-7d1aa96a5966","CategoryId":"9a027c35-7112-4fb7-8ca7-14e55d6b413a","SectorId":"a1c16518-7e25-4df3-8dd0-ffa949000447","Month":1,"Year":1,"SubSectorId":"ab3884ea-3eb2-4f6e-b6d3-0daf0aac22d3","DateFrom":"2025-07-12T10:18:58.2394692+04:00","DateTo":"2025-07-12T10:18:58.2394692+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>7d816f52-283c-4e8b-9421-f1d05459ea6c</AssetId> <BuildingId>f4a77251-c0c1-49c8-815f-4be55219e09d</BuildingId> <CategoryId>9a027c35-7112-4fb7-8ca7-14e55d6b413a</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2025-07-12T10:18:58.2394692+04:00</DateFrom> <DateTo>2025-07-12T10:18:58.2394692+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>71c3f3bc-392b-41e4-b8dc-912eed80daa2</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>489eac65-9b3d-42b2-a1d9-7d1aa96a5966</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>a1c16518-7e25-4df3-8dd0-ffa949000447</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>2e6e3e33-558d-462a-8305-96137b722c54</SubBuildingId> <SubSectorId>ab3884ea-3eb2-4f6e-b6d3-0daf0aac22d3</SubSectorId> <TimeFrom>2025-07-12T10:18:58.2238434+04:00</TimeFrom> <TimeTo>2025-07-12T10:18:58.2394692+04:00</TimeTo> <WorkFlowStatus>5b0546c7-52db-41c6-933d-d544d616a6f5</WorkFlowStatus> <Year>1</Year> </FilterTimes>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TimeSheetStructureName | 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": "123c4916-586e-4445-83c3-d484a5184e87", "M_Asset": "1e264767-ccf0-48d0-9a5b-d412290880b9", "M_Building": "23b46ef7-ebee-4dec-adbd-600d42dcbcb2", "M_SubBuilding": "dbb8c860-0894-49e0-ac94-bf91863b8c4b", "M_Location": "373b8ada-aae0-4b42-abf0-6c69d551527c", "M_Category": "dd8b7653-98ac-40f9-8995-217dfd390f0b", "M_Sectors": "fc39ee4d-797f-4016-9369-4293cf68f68d", "TimeFrom": "00:00:00.1234567", "TimeTo": "00:00:00.1234567" }, { "Id": 1, "M_Division": "123c4916-586e-4445-83c3-d484a5184e87", "M_Asset": "1e264767-ccf0-48d0-9a5b-d412290880b9", "M_Building": "23b46ef7-ebee-4dec-adbd-600d42dcbcb2", "M_SubBuilding": "dbb8c860-0894-49e0-ac94-bf91863b8c4b", "M_Location": "373b8ada-aae0-4b42-abf0-6c69d551527c", "M_Category": "dd8b7653-98ac-40f9-8995-217dfd390f0b", "M_Sectors": "fc39ee4d-797f-4016-9369-4293cf68f68d", "TimeFrom": "00:00:00.1234567", "TimeTo": "00:00:00.1234567" } ]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"123c4916-586e-4445-83c3-d484a5184e87","M_Asset":"1e264767-ccf0-48d0-9a5b-d412290880b9","M_Building":"23b46ef7-ebee-4dec-adbd-600d42dcbcb2","M_SubBuilding":"dbb8c860-0894-49e0-ac94-bf91863b8c4b","M_Location":"373b8ada-aae0-4b42-abf0-6c69d551527c","M_Category":"dd8b7653-98ac-40f9-8995-217dfd390f0b","M_Sectors":"fc39ee4d-797f-4016-9369-4293cf68f68d","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"123c4916-586e-4445-83c3-d484a5184e87","M_Asset":"1e264767-ccf0-48d0-9a5b-d412290880b9","M_Building":"23b46ef7-ebee-4dec-adbd-600d42dcbcb2","M_SubBuilding":"dbb8c860-0894-49e0-ac94-bf91863b8c4b","M_Location":"373b8ada-aae0-4b42-abf0-6c69d551527c","M_Category":"dd8b7653-98ac-40f9-8995-217dfd390f0b","M_Sectors":"fc39ee4d-797f-4016-9369-4293cf68f68d","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>1e264767-ccf0-48d0-9a5b-d412290880b9</M_Asset> <M_Building>23b46ef7-ebee-4dec-adbd-600d42dcbcb2</M_Building> <M_Category>dd8b7653-98ac-40f9-8995-217dfd390f0b</M_Category> <M_Division>123c4916-586e-4445-83c3-d484a5184e87</M_Division> <M_Location>373b8ada-aae0-4b42-abf0-6c69d551527c</M_Location> <M_Sectors>fc39ee4d-797f-4016-9369-4293cf68f68d</M_Sectors> <M_SubBuilding>dbb8c860-0894-49e0-ac94-bf91863b8c4b</M_SubBuilding> <TimeFrom>PT0.1234567S</TimeFrom> <TimeTo>PT0.1234567S</TimeTo> </TimeSheetStructure> <TimeSheetStructure> <Id>1</Id> <M_Asset>1e264767-ccf0-48d0-9a5b-d412290880b9</M_Asset> <M_Building>23b46ef7-ebee-4dec-adbd-600d42dcbcb2</M_Building> <M_Category>dd8b7653-98ac-40f9-8995-217dfd390f0b</M_Category> <M_Division>123c4916-586e-4445-83c3-d484a5184e87</M_Division> <M_Location>373b8ada-aae0-4b42-abf0-6c69d551527c</M_Location> <M_Sectors>fc39ee4d-797f-4016-9369-4293cf68f68d</M_Sectors> <M_SubBuilding>dbb8c860-0894-49e0-ac94-bf91863b8c4b</M_SubBuilding> <TimeFrom>PT0.1234567S</TimeFrom> <TimeTo>PT0.1234567S</TimeTo> </TimeSheetStructure> </ArrayOfTimeSheetStructure>