PUT api/timesheettasks/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

TimesheetTaskGridModel
NameDescriptionTypeAdditional information
name

string

Required

String length: inclusive between 0 and 255

timesheet_project_id

globally unique identifier

Required

timesheet_project

string

None.

user_id

string

None.

color

string

None.

id

globally unique identifier

None.

subscription_id

globally unique identifier

None.

ts

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "timesheet_project_id": "3c8fcc0d-7513-4f02-a9f3-eb5da3afb1ec",
  "timesheet_project": "sample string 2",
  "user_id": "sample string 3",
  "color": "sample string 4",
  "id": "49e6e13e-8af1-4191-b4d6-83214a6cef40",
  "subscription_id": "93b5e7fd-9daf-468f-a671-ff3f109895af",
  "ts": "QEA="
}

application/xml, text/xml

Sample:
<TimesheetTaskGridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">49e6e13e-8af1-4191-b4d6-83214a6cef40</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">93b5e7fd-9daf-468f-a671-ff3f109895af</SubscriptionId>
  <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
  <Color>sample string 4</Color>
  <Name>sample string 1</Name>
  <TimesheetProject>sample string 2</TimesheetProject>
  <TimesheetProjectId>3c8fcc0d-7513-4f02-a9f3-eb5da3afb1ec</TimesheetProjectId>
  <UserId>sample string 3</UserId>
</TimesheetTaskGridModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.