POST api/TrackTimeProjects/EditProject

Edits the Track time project.

Request Information

URI Parameters

None.

Body Parameters

EditTrackTimeProjectPost
NameDescriptionTypeAdditional information
Id

(Required) The Track time project Id.

integer

None.

Name

(Required) Name of the Track time project.

string

None.

Code

Code of the Track time project

string

None.

Color

(Required) Color of the Track time project

string

None.

IsArchived

True if the Track time project is archived

boolean

None.

Description

Description of the Track time project

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "Default project edited",
  "Code": "1",
  "Color": "#000000",
  "IsArchived": true,
  "Description": null
}

application/xml, text/xml

Sample:
<EditTrackTimeProjectPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <Code>1</Code>
  <Color>#000000</Color>
  <Description i:nil="true" />
  <IsArchived>true</IsArchived>
  <Name>Default project edited</Name>
  <Id>1</Id>
</EditTrackTimeProjectPost>

Response Information

Resource Description

IHttpActionResult

None.