PUT api/v2/projects/{id}
Update existing project. User must have a "Manage projects" privilege to perform this action.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Project unique identificator |
string |
Required |
Body Parameters
Project object with changes. Only changed fields are required. Missing fields, or fields with NULL value are ignored.
ProjectDetailsName | Description | Type | Additional information |
---|---|---|---|
name |
Project name |
string |
None. |
code |
Project code |
string |
None. |
update-date |
Last update date |
date |
None. |
status |
Status (active or not) |
TagvueEntityStatus |
None. |
entity-id |
Identifying entity-id of the entity, this is expected to be unique |
string |
None. |
Request Formats
application/xml, text/xml
Sample:
<project entity-id="sample string 4" xmlns="urn:tagvue:am"> <status>inactive</status> <name>sample string 1</name> <code>sample string 2</code> <update-date>2025-05-30T17:56:17.4711351-07:00</update-date> </project>
application/json, text/json
Sample:
{ "name": "sample string 1", "code": "sample string 2", "update-date": "2025-05-30T17:56:17.4711351-07:00", "status": 0, "entity-id": "sample string 4" }
Response Information
Resource Description
Returns HttpStatus 200 (OK) if operation was succesfull or HttpStatus 400 (BAD REQUEST) if failed to update project.
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |