PUT api/timesheetprojects/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
TimesheetProjectGridViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| timesheet_project_modules | Collection of globally unique identifier |
None. |
|
| timesheet_project_module_names | Collection of 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_modules": [
"e8d062ca-4c1c-45f5-9f90-477dfe4b5ff8",
"ec539226-0f62-4ceb-9e49-296951d2a5b6"
],
"timesheet_project_module_names": [
"sample string 1",
"sample string 2"
],
"user_id": "sample string 2",
"color": "sample string 3",
"id": "892132e7-c0dc-44d4-9076-f81c334d8bdc",
"subscription_id": "f1143a41-6bab-447c-9ae2-11ebfd014360",
"ts": "QEA="
}
application/xml, text/xml
Sample:
<TimesheetProjectGridViewModel 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">892132e7-c0dc-44d4-9076-f81c334d8bdc</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">f1143a41-6bab-447c-9ae2-11ebfd014360</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<Color>sample string 3</Color>
<Name>sample string 1</Name>
<TimesheetProjectModuleNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</TimesheetProjectModuleNames>
<TimesheetProjectModules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e8d062ca-4c1c-45f5-9f90-477dfe4b5ff8</d2p1:guid>
<d2p1:guid>ec539226-0f62-4ceb-9e49-296951d2a5b6</d2p1:guid>
</TimesheetProjectModules>
<UserId>sample string 2</UserId>
</TimesheetProjectGridViewModel>
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.