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-10-30T10:00:35.2935571+04:00",
"TimeTo": "2025-10-30T10:00:35.2935571+04:00",
"Description": "sample string 1",
"WorkFlowStatus": "194f8eda-be8b-4cad-9779-0e987fd44beb",
"CreatedBy": 1,
"IsDeleted": true,
"Status": "sample string 3",
"AgentId": 1,
"DivisionId": "a85e8c8a-19af-4496-8fb6-d00d9e840584",
"AssetId": "e70b893a-8058-496b-ba90-04fbdc55b45f",
"BuildingId": "3268c99a-41d0-49ab-91d3-6ca785a42b45",
"SubBuildingId": "0acd8609-68b1-4f10-ae7f-bf6a95d9128f",
"LocationId": "d630a3f0-cec7-4ec9-a7d1-3755b46edc88",
"CategoryId": "ccbbf75a-4ac5-4545-b880-f6f0b883e31c",
"SectorId": "735aa12e-b8a2-4437-9c07-e2c3567348a8",
"Month": 1,
"Year": 1,
"SubSectorId": "74162ac5-f64b-4455-a873-6739d9668241",
"DateFrom": "2025-10-30T10:00:35.2935571+04:00",
"DateTo": "2025-10-30T10:00:35.2935571+04:00",
"Source": "sample string 4"
}
text/html, multipart/form-data
Sample:
{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2025-10-30T10:00:35.2935571+04:00","TimeTo":"2025-10-30T10:00:35.2935571+04:00","Description":"sample string 1","WorkFlowStatus":"194f8eda-be8b-4cad-9779-0e987fd44beb","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"a85e8c8a-19af-4496-8fb6-d00d9e840584","AssetId":"e70b893a-8058-496b-ba90-04fbdc55b45f","BuildingId":"3268c99a-41d0-49ab-91d3-6ca785a42b45","SubBuildingId":"0acd8609-68b1-4f10-ae7f-bf6a95d9128f","LocationId":"d630a3f0-cec7-4ec9-a7d1-3755b46edc88","CategoryId":"ccbbf75a-4ac5-4545-b880-f6f0b883e31c","SectorId":"735aa12e-b8a2-4437-9c07-e2c3567348a8","Month":1,"Year":1,"SubSectorId":"74162ac5-f64b-4455-a873-6739d9668241","DateFrom":"2025-10-30T10:00:35.2935571+04:00","DateTo":"2025-10-30T10:00:35.2935571+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>e70b893a-8058-496b-ba90-04fbdc55b45f</AssetId> <BuildingId>3268c99a-41d0-49ab-91d3-6ca785a42b45</BuildingId> <CategoryId>ccbbf75a-4ac5-4545-b880-f6f0b883e31c</CategoryId> <CreatedBy>1</CreatedBy> <DateFrom>2025-10-30T10:00:35.2935571+04:00</DateFrom> <DateTo>2025-10-30T10:00:35.2935571+04:00</DateTo> <Description>sample string 1</Description> <DivisionId>a85e8c8a-19af-4496-8fb6-d00d9e840584</DivisionId> <Id>1</Id> <IsDeleted>true</IsDeleted> <LocationId>d630a3f0-cec7-4ec9-a7d1-3755b46edc88</LocationId> <Month>1</Month> <ScheduleId>1</ScheduleId> <SectorId>735aa12e-b8a2-4437-9c07-e2c3567348a8</SectorId> <Source>sample string 4</Source> <Status>sample string 3</Status> <SubBuildingId>0acd8609-68b1-4f10-ae7f-bf6a95d9128f</SubBuildingId> <SubSectorId>74162ac5-f64b-4455-a873-6739d9668241</SubSectorId> <TimeFrom>2025-10-30T10:00:35.2935571+04:00</TimeFrom> <TimeTo>2025-10-30T10:00:35.2935571+04:00</TimeTo> <WorkFlowStatus>194f8eda-be8b-4cad-9779-0e987fd44beb</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": "c0768888-98a5-41b3-a861-9a60103ad759",
"M_Asset": "a84c5cf9-26fc-4751-9ab8-434dfb913595",
"M_Building": "32e550b2-7eab-4603-ad1c-77dfd8635d38",
"M_SubBuilding": "da1bc6b9-c575-4b37-ad20-14db066ab61d",
"M_Location": "651b8f28-7f1c-4e77-a089-81fd966d98b1",
"M_Category": "3294751e-aa65-4bad-9b4c-3bc3801dbbc5",
"M_Sectors": "4b15e196-96aa-429c-9f75-53fdae42365f",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
},
{
"Id": 1,
"M_Division": "c0768888-98a5-41b3-a861-9a60103ad759",
"M_Asset": "a84c5cf9-26fc-4751-9ab8-434dfb913595",
"M_Building": "32e550b2-7eab-4603-ad1c-77dfd8635d38",
"M_SubBuilding": "da1bc6b9-c575-4b37-ad20-14db066ab61d",
"M_Location": "651b8f28-7f1c-4e77-a089-81fd966d98b1",
"M_Category": "3294751e-aa65-4bad-9b4c-3bc3801dbbc5",
"M_Sectors": "4b15e196-96aa-429c-9f75-53fdae42365f",
"TimeFrom": "00:00:00.1234567",
"TimeTo": "00:00:00.1234567"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"M_Division":"c0768888-98a5-41b3-a861-9a60103ad759","M_Asset":"a84c5cf9-26fc-4751-9ab8-434dfb913595","M_Building":"32e550b2-7eab-4603-ad1c-77dfd8635d38","M_SubBuilding":"da1bc6b9-c575-4b37-ad20-14db066ab61d","M_Location":"651b8f28-7f1c-4e77-a089-81fd966d98b1","M_Category":"3294751e-aa65-4bad-9b4c-3bc3801dbbc5","M_Sectors":"4b15e196-96aa-429c-9f75-53fdae42365f","TimeFrom":"00:00:00.1234567","TimeTo":"00:00:00.1234567"},{"Id":1,"M_Division":"c0768888-98a5-41b3-a861-9a60103ad759","M_Asset":"a84c5cf9-26fc-4751-9ab8-434dfb913595","M_Building":"32e550b2-7eab-4603-ad1c-77dfd8635d38","M_SubBuilding":"da1bc6b9-c575-4b37-ad20-14db066ab61d","M_Location":"651b8f28-7f1c-4e77-a089-81fd966d98b1","M_Category":"3294751e-aa65-4bad-9b4c-3bc3801dbbc5","M_Sectors":"4b15e196-96aa-429c-9f75-53fdae42365f","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>a84c5cf9-26fc-4751-9ab8-434dfb913595</M_Asset>
<M_Building>32e550b2-7eab-4603-ad1c-77dfd8635d38</M_Building>
<M_Category>3294751e-aa65-4bad-9b4c-3bc3801dbbc5</M_Category>
<M_Division>c0768888-98a5-41b3-a861-9a60103ad759</M_Division>
<M_Location>651b8f28-7f1c-4e77-a089-81fd966d98b1</M_Location>
<M_Sectors>4b15e196-96aa-429c-9f75-53fdae42365f</M_Sectors>
<M_SubBuilding>da1bc6b9-c575-4b37-ad20-14db066ab61d</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
<TimeSheetStructure>
<Id>1</Id>
<M_Asset>a84c5cf9-26fc-4751-9ab8-434dfb913595</M_Asset>
<M_Building>32e550b2-7eab-4603-ad1c-77dfd8635d38</M_Building>
<M_Category>3294751e-aa65-4bad-9b4c-3bc3801dbbc5</M_Category>
<M_Division>c0768888-98a5-41b3-a861-9a60103ad759</M_Division>
<M_Location>651b8f28-7f1c-4e77-a089-81fd966d98b1</M_Location>
<M_Sectors>4b15e196-96aa-429c-9f75-53fdae42365f</M_Sectors>
<M_SubBuilding>da1bc6b9-c575-4b37-ad20-14db066ab61d</M_SubBuilding>
<TimeFrom>PT0.1234567S</TimeFrom>
<TimeTo>PT0.1234567S</TimeTo>
</TimeSheetStructure>
</ArrayOfTimeSheetStructure>