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-05-01T05:21:50.8047508+04:00",
"TimeTo": "2026-05-01T05:21:50.8047508+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "eadcb8ed-6606-412a-b24b-f9c0dcf010ee",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "6162e99c-750a-4a67-9c79-f0b2184372ad",
"AssetId": "1272ad54-a774-47f2-bcb5-4993ed26a852",
"BuildingId": "7790bd4f-f3b7-43b8-ad8d-221ca6a9319c",
"SubBuildingId": "877a0ee2-1ac8-4726-9f14-aad2db94b53d",
"LocationId": "030a0155-9e4e-4048-8160-ed289885c828",
"CategoryId": "4e121cfe-e550-4337-a4f5-14a723a818b2",
"SectorId": "9bdd9ee9-90ca-49e5-aeab-45c0325231a0",
"Month": 1,
"Year": 1,
"SubSectorId": "0ad6509e-5361-4d55-ae6a-6ca5da799703",
"DateFrom": "2026-05-01T05:21:50.8047508+04:00",
"DateTo": "2026-05-01T05:21:50.8047508+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2026-05-01T05:21:50.8047508+04:00","TimeTo":"2026-05-01T05:21:50.8047508+04:00","Description":"sample string 1","WorkFlowStatus":"eadcb8ed-6606-412a-b24b-f9c0dcf010ee","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"6162e99c-750a-4a67-9c79-f0b2184372ad","AssetId":"1272ad54-a774-47f2-bcb5-4993ed26a852","BuildingId":"7790bd4f-f3b7-43b8-ad8d-221ca6a9319c","SubBuildingId":"877a0ee2-1ac8-4726-9f14-aad2db94b53d","LocationId":"030a0155-9e4e-4048-8160-ed289885c828","CategoryId":"4e121cfe-e550-4337-a4f5-14a723a818b2","SectorId":"9bdd9ee9-90ca-49e5-aeab-45c0325231a0","Month":1,"Year":1,"SubSectorId":"0ad6509e-5361-4d55-ae6a-6ca5da799703","DateFrom":"2026-05-01T05:21:50.8047508+04:00","DateTo":"2026-05-01T05:21:50.8047508+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>1272ad54-a774-47f2-bcb5-4993ed26a852</AssetId> <BuildingId>7790bd4f-f3b7-43b8-ad8d-221ca6a9319c</BuildingId> <CategoryId>4e121cfe-e550-4337-a4f5-14a723a818b2</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2026-05-01T05:21:50.8047508+04:00</DateFrom> <DateTo>2026-05-01T05:21:50.8047508+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>6162e99c-750a-4a67-9c79-f0b2184372ad</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>030a0155-9e4e-4048-8160-ed289885c828</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>9bdd9ee9-90ca-49e5-aeab-45c0325231a0</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>877a0ee2-1ac8-4726-9f14-aad2db94b53d</SubBuildingId> <SubSectorId>0ad6509e-5361-4d55-ae6a-6ca5da799703</SubSectorId> <TimeFrom>2026-05-01T05:21:50.8047508+04:00</TimeFrom> <TimeTo>2026-05-01T05:21:50.8047508+04:00</TimeTo> <WorkFlowStatus>eadcb8ed-6606-412a-b24b-f9c0dcf010ee</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": "0e503d3f-e6ba-4d5c-bb61-96ee2d8616a4",
"M_Asset": "b0c334e2-28cf-4093-8799-55742284dc71",
"M_Building": "575bc5ca-2ada-4f9b-baa5-de9f38c2e251",
"M_SubBuilding": "e52fc18e-1211-4c1e-a0dc-3159d4f291b3",
"M_Location": "fa8cf168-9171-4dde-a263-f951bfc0247f",
"M_Category": "65fc9186-4c7c-45e3-9b4b-5f3796be7914",
"M_Sectors": "dd985a79-f234-411e-892c-9e14cffb0d73",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
},
{
"Id": 1,
"M_Division": "0e503d3f-e6ba-4d5c-bb61-96ee2d8616a4",
"M_Asset": "b0c334e2-28cf-4093-8799-55742284dc71",
"M_Building": "575bc5ca-2ada-4f9b-baa5-de9f38c2e251",
"M_SubBuilding": "e52fc18e-1211-4c1e-a0dc-3159d4f291b3",
"M_Location": "fa8cf168-9171-4dde-a263-f951bfc0247f",
"M_Category": "65fc9186-4c7c-45e3-9b4b-5f3796be7914",
"M_Sectors": "dd985a79-f234-411e-892c-9e14cffb0d73",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"0e503d3f-e6ba-4d5c-bb61-96ee2d8616a4","M_Asset":"b0c334e2-28cf-4093-8799-55742284dc71","M_Building":"575bc5ca-2ada-4f9b-baa5-de9f38c2e251","M_SubBuilding":"e52fc18e-1211-4c1e-a0dc-3159d4f291b3","M_Location":"fa8cf168-9171-4dde-a263-f951bfc0247f","M_Category":"65fc9186-4c7c-45e3-9b4b-5f3796be7914","M_Sectors":"dd985a79-f234-411e-892c-9e14cffb0d73","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"0e503d3f-e6ba-4d5c-bb61-96ee2d8616a4","M_Asset":"b0c334e2-28cf-4093-8799-55742284dc71","M_Building":"575bc5ca-2ada-4f9b-baa5-de9f38c2e251","M_SubBuilding":"e52fc18e-1211-4c1e-a0dc-3159d4f291b3","M_Location":"fa8cf168-9171-4dde-a263-f951bfc0247f","M_Category":"65fc9186-4c7c-45e3-9b4b-5f3796be7914","M_Sectors":"dd985a79-f234-411e-892c-9e14cffb0d73","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>b0c334e2-28cf-4093-8799-55742284dc71</M_Asset>
<M_Building>575bc5ca-2ada-4f9b-baa5-de9f38c2e251</M_Building>
<M_Category>65fc9186-4c7c-45e3-9b4b-5f3796be7914</M_Category>
<M_Division>0e503d3f-e6ba-4d5c-bb61-96ee2d8616a4</M_Division>
<M_Location>fa8cf168-9171-4dde-a263-f951bfc0247f</M_Location>
<M_Sectors>dd985a79-f234-411e-892c-9e14cffb0d73</M_Sectors>
<M_SubBuilding>e52fc18e-1211-4c1e-a0dc-3159d4f291b3</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>b0c334e2-28cf-4093-8799-55742284dc71</M_Asset>
<M_Building>575bc5ca-2ada-4f9b-baa5-de9f38c2e251</M_Building>
<M_Category>65fc9186-4c7c-45e3-9b4b-5f3796be7914</M_Category>
<M_Division>0e503d3f-e6ba-4d5c-bb61-96ee2d8616a4</M_Division>
<M_Location>fa8cf168-9171-4dde-a263-f951bfc0247f</M_Location>
<M_Sectors>dd985a79-f234-411e-892c-9e14cffb0d73</M_Sectors>
<M_SubBuilding>e52fc18e-1211-4c1e-a0dc-3159d4f291b3</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
</ArrayOfTimeSheetStructure>