PUT api/timesheetprojects/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

TimesheetProjectGridModel
NameDescriptionTypeAdditional 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": [
    "504dbb54-2822-47da-93fd-74606f725dc9",
    "85ad0bed-3498-48b3-8299-d5f9b96e8e2f"
  ],
  "timesheet_project_module_names": [
    "sample string 1",
    "sample string 2"
  ],
  "user_id": "sample string 2",
  "color": "sample string 3",
  "id": "49b765b8-9e2e-4f83-9a1f-b53b70a1c1d2",
  "subscription_id": "139dfacf-32c3-4813-b65c-8c67626b4a0f",
  "ts": "QEA="
}

application/xml, text/xml

Sample:
<TimesheetProjectGridModel 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">49b765b8-9e2e-4f83-9a1f-b53b70a1c1d2</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">139dfacf-32c3-4813-b65c-8c67626b4a0f</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>504dbb54-2822-47da-93fd-74606f725dc9</d2p1:guid>
    <d2p1:guid>85ad0bed-3498-48b3-8299-d5f9b96e8e2f</d2p1:guid>
  </TimesheetProjectModules>
  <UserId>sample string 2</UserId>
</TimesheetProjectGridModel>

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.