POST Api/AgentBudgetApi/UpdateTimeSheet

Request Information

URI Parameters

None.

Body Parameters

Collection of FilterTimes
NameDescriptionTypeAdditional 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:58:23.6785874+04:00",
    "TimeTo": "2025-05-25T18:58:23.6785874+04:00",
    "Description": "sample string 1",
    "WorkFlowStatus": "4644260a-9fea-490a-a86b-90bc9228ccf9",
    "CreatedBy": 1,
    "IsDeleted": true,
    "Status": "sample string 3",
    "AgentId": 1,
    "DivisionId": "a9d2c075-15a6-4824-9e82-e9dede065fd9",
    "AssetId": "a6115245-579e-4ecd-bded-97398600e2ec",
    "BuildingId": "1ea1b31c-71bc-46d2-a911-83e548461205",
    "SubBuildingId": "4bf05f86-8181-443c-ab51-dc67d5cd039c",
    "LocationId": "d2578250-fa81-4aec-ba24-02d32ce13a5a",
    "CategoryId": "60f3456f-e2d9-44b2-8c2c-7da9dae5f9d1",
    "SectorId": "70d3b6a5-4c26-4584-833f-85dd6784a679",
    "Month": 1,
    "Year": 1,
    "SubSectorId": "f809483f-1c05-44fc-aef1-e02c49e208b4",
    "DateFrom": "2025-05-25T18:58:23.6785874+04:00",
    "DateTo": "2025-05-25T18:58:23.6785874+04:00",
    "Source": "sample string 4"
  },
  {
    "Id": 1,
    "AgentMonthlyTimeSheetId": 1,
    "ScheduleId": 1,
    "TimeFrom": "2025-05-25T18:58:23.6785874+04:00",
    "TimeTo": "2025-05-25T18:58:23.6785874+04:00",
    "Description": "sample string 1",
    "WorkFlowStatus": "4644260a-9fea-490a-a86b-90bc9228ccf9",
    "CreatedBy": 1,
    "IsDeleted": true,
    "Status": "sample string 3",
    "AgentId": 1,
    "DivisionId": "a9d2c075-15a6-4824-9e82-e9dede065fd9",
    "AssetId": "a6115245-579e-4ecd-bded-97398600e2ec",
    "BuildingId": "1ea1b31c-71bc-46d2-a911-83e548461205",
    "SubBuildingId": "4bf05f86-8181-443c-ab51-dc67d5cd039c",
    "LocationId": "d2578250-fa81-4aec-ba24-02d32ce13a5a",
    "CategoryId": "60f3456f-e2d9-44b2-8c2c-7da9dae5f9d1",
    "SectorId": "70d3b6a5-4c26-4584-833f-85dd6784a679",
    "Month": 1,
    "Year": 1,
    "SubSectorId": "f809483f-1c05-44fc-aef1-e02c49e208b4",
    "DateFrom": "2025-05-25T18:58:23.6785874+04:00",
    "DateTo": "2025-05-25T18:58:23.6785874+04:00",
    "Source": "sample string 4"
  }
]

text/html, multipart/form-data

Sample:
[{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2025-05-25T18:58:23.6785874+04:00","TimeTo":"2025-05-25T18:58:23.6785874+04:00","Description":"sample string 1","WorkFlowStatus":"4644260a-9fea-490a-a86b-90bc9228ccf9","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"a9d2c075-15a6-4824-9e82-e9dede065fd9","AssetId":"a6115245-579e-4ecd-bded-97398600e2ec","BuildingId":"1ea1b31c-71bc-46d2-a911-83e548461205","SubBuildingId":"4bf05f86-8181-443c-ab51-dc67d5cd039c","LocationId":"d2578250-fa81-4aec-ba24-02d32ce13a5a","CategoryId":"60f3456f-e2d9-44b2-8c2c-7da9dae5f9d1","SectorId":"70d3b6a5-4c26-4584-833f-85dd6784a679","Month":1,"Year":1,"SubSectorId":"f809483f-1c05-44fc-aef1-e02c49e208b4","DateFrom":"2025-05-25T18:58:23.6785874+04:00","DateTo":"2025-05-25T18:58:23.6785874+04:00","Source":"sample string 4"},{"Id":1,"AgentMonthlyTimeSheetId":1,"ScheduleId":1,"TimeFrom":"2025-05-25T18:58:23.6785874+04:00","TimeTo":"2025-05-25T18:58:23.6785874+04:00","Description":"sample string 1","WorkFlowStatus":"4644260a-9fea-490a-a86b-90bc9228ccf9","CreatedBy":1,"IsDeleted":true,"Status":"sample string 3","AgentId":1,"DivisionId":"a9d2c075-15a6-4824-9e82-e9dede065fd9","AssetId":"a6115245-579e-4ecd-bded-97398600e2ec","BuildingId":"1ea1b31c-71bc-46d2-a911-83e548461205","SubBuildingId":"4bf05f86-8181-443c-ab51-dc67d5cd039c","LocationId":"d2578250-fa81-4aec-ba24-02d32ce13a5a","CategoryId":"60f3456f-e2d9-44b2-8c2c-7da9dae5f9d1","SectorId":"70d3b6a5-4c26-4584-833f-85dd6784a679","Month":1,"Year":1,"SubSectorId":"f809483f-1c05-44fc-aef1-e02c49e208b4","DateFrom":"2025-05-25T18:58:23.6785874+04:00","DateTo":"2025-05-25T18:58:23.6785874+04:00","Source":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfFilterTimes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <FilterTimes>
    <AgentId>1</AgentId>
    <AgentMonthlyTimeSheetId>1</AgentMonthlyTimeSheetId>
    <AssetId>a6115245-579e-4ecd-bded-97398600e2ec</AssetId>
    <BuildingId>1ea1b31c-71bc-46d2-a911-83e548461205</BuildingId>
    <CategoryId>60f3456f-e2d9-44b2-8c2c-7da9dae5f9d1</CategoryId>
    <CreatedBy>1</CreatedBy>
    <DateFrom>2025-05-25T18:58:23.6785874+04:00</DateFrom>
    <DateTo>2025-05-25T18:58:23.6785874+04:00</DateTo>
    <Description>sample string 1</Description>
    <DivisionId>a9d2c075-15a6-4824-9e82-e9dede065fd9</DivisionId>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <LocationId>d2578250-fa81-4aec-ba24-02d32ce13a5a</LocationId>
    <Month>1</Month>
    <ScheduleId>1</ScheduleId>
    <SectorId>70d3b6a5-4c26-4584-833f-85dd6784a679</SectorId>
    <Source>sample string 4</Source>
    <Status>sample string 3</Status>
    <SubBuildingId>4bf05f86-8181-443c-ab51-dc67d5cd039c</SubBuildingId>
    <SubSectorId>f809483f-1c05-44fc-aef1-e02c49e208b4</SubSectorId>
    <TimeFrom>2025-05-25T18:58:23.6785874+04:00</TimeFrom>
    <TimeTo>2025-05-25T18:58:23.6785874+04:00</TimeTo>
    <WorkFlowStatus>4644260a-9fea-490a-a86b-90bc9228ccf9</WorkFlowStatus>
    <Year>1</Year>
  </FilterTimes>
  <FilterTimes>
    <AgentId>1</AgentId>
    <AgentMonthlyTimeSheetId>1</AgentMonthlyTimeSheetId>
    <AssetId>a6115245-579e-4ecd-bded-97398600e2ec</AssetId>
    <BuildingId>1ea1b31c-71bc-46d2-a911-83e548461205</BuildingId>
    <CategoryId>60f3456f-e2d9-44b2-8c2c-7da9dae5f9d1</CategoryId>
    <CreatedBy>1</CreatedBy>
    <DateFrom>2025-05-25T18:58:23.6785874+04:00</DateFrom>
    <DateTo>2025-05-25T18:58:23.6785874+04:00</DateTo>
    <Description>sample string 1</Description>
    <DivisionId>a9d2c075-15a6-4824-9e82-e9dede065fd9</DivisionId>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <LocationId>d2578250-fa81-4aec-ba24-02d32ce13a5a</LocationId>
    <Month>1</Month>
    <ScheduleId>1</ScheduleId>
    <SectorId>70d3b6a5-4c26-4584-833f-85dd6784a679</SectorId>
    <Source>sample string 4</Source>
    <Status>sample string 3</Status>
    <SubBuildingId>4bf05f86-8181-443c-ab51-dc67d5cd039c</SubBuildingId>
    <SubSectorId>f809483f-1c05-44fc-aef1-e02c49e208b4</SubSectorId>
    <TimeFrom>2025-05-25T18:58:23.6785874+04:00</TimeFrom>
    <TimeTo>2025-05-25T18:58:23.6785874+04:00</TimeTo>
    <WorkFlowStatus>4644260a-9fea-490a-a86b-90bc9228ccf9</WorkFlowStatus>
    <Year>1</Year>
  </FilterTimes>
</ArrayOfFilterTimes>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>