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-05-25T18:52:13.3527641+04:00", "TimeTo": "2025-05-25T18:52:13.3527641+04:00", "Description": "sample string 1", "WorkFlowStatus": "55e2ac2f-44b3-4f1d-86fa-4e73759871d7", "CreatedBy": 1, "IsDeleted": true, "Status": "sample string 3", "AgentId": 1, "DivisionId": "34703a0d-6073-400e-82bc-1aada5692e56", "AssetId": "996d0623-991b-4444-a1e3-4951292ca51f", "BuildingId": "f841480b-9f1d-4fba-924f-a3a35e2a952f", "SubBuildingId": "856d0c97-5f65-463a-b22c-a7994ca3fc3b", "LocationId": "40e1db75-ba11-46eb-bc2d-a7a35d6f78a0", "CategoryId": "7b60a42a-dd28-4708-ba03-9812492366a6", "SectorId": "e34dcf9b-bfc4-44bd-89f4-3336b5b206c1", "Month": 1, "Year": 1, "SubSectorId": "eeb0fce8-9579-41c6-ae1c-122e26d60279", "DateFrom": "2025-05-25T18:52:13.3683594+04:00", "DateTo": "2025-05-25T18:52:13.3683594+04:00", "Source": "sample string 4" }
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2025-05-25T18:52:13.3527641+04:00","TimeTo":"2025-05-25T18:52:13.3527641+04:00","Description":"sample string 1","WorkFlowStatus":"55e2ac2f-44b3-4f1d-86fa-4e73759871d7","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"34703a0d-6073-400e-82bc-1aada5692e56","AssetId":"996d0623-991b-4444-a1e3-4951292ca51f","BuildingId":"f841480b-9f1d-4fba-924f-a3a35e2a952f","SubBuildingId":"856d0c97-5f65-463a-b22c-a7994ca3fc3b","LocationId":"40e1db75-ba11-46eb-bc2d-a7a35d6f78a0","CategoryId":"7b60a42a-dd28-4708-ba03-9812492366a6","SectorId":"e34dcf9b-bfc4-44bd-89f4-3336b5b206c1","Month":1,"Year":1,"SubSectorId":"eeb0fce8-9579-41c6-ae1c-122e26d60279","DateFrom":"2025-05-25T18:52:13.3683594+04:00","DateTo":"2025-05-25T18:52:13.3683594+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>996d0623-991b-4444-a1e3-4951292ca51f</AssetId> <BuildingId>f841480b-9f1d-4fba-924f-a3a35e2a952f</BuildingId> <CategoryId>7b60a42a-dd28-4708-ba03-9812492366a6</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2025-05-25T18:52:13.3683594+04:00</DateFrom> <DateTo>2025-05-25T18:52:13.3683594+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>34703a0d-6073-400e-82bc-1aada5692e56</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>40e1db75-ba11-46eb-bc2d-a7a35d6f78a0</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>e34dcf9b-bfc4-44bd-89f4-3336b5b206c1</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>856d0c97-5f65-463a-b22c-a7994ca3fc3b</SubBuildingId> <SubSectorId>eeb0fce8-9579-41c6-ae1c-122e26d60279</SubSectorId> <TimeFrom>2025-05-25T18:52:13.3527641+04:00</TimeFrom> <TimeTo>2025-05-25T18:52:13.3527641+04:00</TimeTo> <WorkFlowStatus>55e2ac2f-44b3-4f1d-86fa-4e73759871d7</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": "6725c755-702e-4f9c-b120-93f57e56b7e7", "M_Asset": "d15f64db-c83b-46da-b919-574349df7620", "M_Building": "0cc845e0-6394-47a0-86e1-3820d8c929be", "M_SubBuilding": "b48bc227-8075-4663-9be9-72f6e282dc01", "M_Location": "1a00f065-fc62-49da-a525-f62fe8c40e2c", "M_Category": "f5b27b35-8c63-4b6a-834f-399074446023", "M_Sectors": "4cc25ca8-1d88-404d-974c-cfdbe177d9ef", "TimeFrom": "00:00:00.1234567", "TimeTo": "00:00:00.1234567" }, { "Id": 1, "M_Division": "6725c755-702e-4f9c-b120-93f57e56b7e7", "M_Asset": "d15f64db-c83b-46da-b919-574349df7620", "M_Building": "0cc845e0-6394-47a0-86e1-3820d8c929be", "M_SubBuilding": "b48bc227-8075-4663-9be9-72f6e282dc01", "M_Location": "1a00f065-fc62-49da-a525-f62fe8c40e2c", "M_Category": "f5b27b35-8c63-4b6a-834f-399074446023", "M_Sectors": "4cc25ca8-1d88-404d-974c-cfdbe177d9ef", "TimeFrom": "00:00:00.1234567", "TimeTo": "00:00:00.1234567" } ]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"6725c755-702e-4f9c-b120-93f57e56b7e7","M_Asset":"d15f64db-c83b-46da-b919-574349df7620","M_Building":"0cc845e0-6394-47a0-86e1-3820d8c929be","M_SubBuilding":"b48bc227-8075-4663-9be9-72f6e282dc01","M_Location":"1a00f065-fc62-49da-a525-f62fe8c40e2c","M_Category":"f5b27b35-8c63-4b6a-834f-399074446023","M_Sectors":"4cc25ca8-1d88-404d-974c-cfdbe177d9ef","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"6725c755-702e-4f9c-b120-93f57e56b7e7","M_Asset":"d15f64db-c83b-46da-b919-574349df7620","M_Building":"0cc845e0-6394-47a0-86e1-3820d8c929be","M_SubBuilding":"b48bc227-8075-4663-9be9-72f6e282dc01","M_Location":"1a00f065-fc62-49da-a525-f62fe8c40e2c","M_Category":"f5b27b35-8c63-4b6a-834f-399074446023","M_Sectors":"4cc25ca8-1d88-404d-974c-cfdbe177d9ef","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>d15f64db-c83b-46da-b919-574349df7620</M_Asset> <M_Building>0cc845e0-6394-47a0-86e1-3820d8c929be</M_Building> <M_Category>f5b27b35-8c63-4b6a-834f-399074446023</M_Category> <M_Division>6725c755-702e-4f9c-b120-93f57e56b7e7</M_Division> <M_Location>1a00f065-fc62-49da-a525-f62fe8c40e2c</M_Location> <M_Sectors>4cc25ca8-1d88-404d-974c-cfdbe177d9ef</M_Sectors> <M_SubBuilding>b48bc227-8075-4663-9be9-72f6e282dc01</M_SubBuilding> <TimeFrom>PT0.1234567S</TimeFrom> <TimeTo>PT0.1234567S</TimeTo> </TimeSheetStructure> <TimeSheetStructure> <Id>1</Id> <M_Asset>d15f64db-c83b-46da-b919-574349df7620</M_Asset> <M_Building>0cc845e0-6394-47a0-86e1-3820d8c929be</M_Building> <M_Category>f5b27b35-8c63-4b6a-834f-399074446023</M_Category> <M_Division>6725c755-702e-4f9c-b120-93f57e56b7e7</M_Division> <M_Location>1a00f065-fc62-49da-a525-f62fe8c40e2c</M_Location> <M_Sectors>4cc25ca8-1d88-404d-974c-cfdbe177d9ef</M_Sectors> <M_SubBuilding>b48bc227-8075-4663-9be9-72f6e282dc01</M_SubBuilding> <TimeFrom>PT0.1234567S</TimeFrom> <TimeTo>PT0.1234567S</TimeTo> </TimeSheetStructure> </ArrayOfTimeSheetStructure>