PUT api/timesheettasks/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
TimesheetTaskGridViewModel| Name | Description | Type | Additional 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": "e7f0cdfd-409a-4d69-b9ca-6ee032ada469",
"timesheet_project": "sample string 2",
"user_id": "sample string 3",
"color": "sample string 4",
"id": "538c0a56-29ef-4314-8970-ddb6ac24fe93",
"subscription_id": "33cf70a2-9a46-4320-8e76-66e48b469b03",
"ts": "QEA="
}
application/xml, text/xml
Sample:
<TimesheetTaskGridViewModel 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">538c0a56-29ef-4314-8970-ddb6ac24fe93</Id> <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">33cf70a2-9a46-4320-8e76-66e48b469b03</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>e7f0cdfd-409a-4d69-b9ca-6ee032ada469</TimesheetProjectId> <UserId>sample string 3</UserId> </TimesheetTaskGridViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.