Update a project version
Updates the project version that is associated with the specified version ID.
1{2 "createdBy": "string",3 "modifiedBy": "string",4 "creationTimeStamp": "2019-08-24T14:15:22Z",5 "modifiedTimeStamp": "2019-08-24T14:15:22Z",6 "id": "string",7 "name": "string",8 "description": "string",9 "versionNumber": "string",10 "projectId": "string",11 "version": 212}
Name | Type | Required | Description |
---|---|---|---|
projectId | string | true | The unique identifier for the project. |
versionId | string | true | The unique identifier for the project version. |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | false | The entity tag obtained from the most recent |
The representation of the project version.
Contains information about a project version. Note: To update a project version using the PUT operation, you must include all of the properties. You can retrieve the values by performing a GET operation for a project version (getProjectVersion). These are the properties that are required for a PUT operation: id, projectId, name, and description.
Name | Type | Required | Description |
---|---|---|---|
id | string | false | The unique identifier for the project version. This is required for GET and PUT REST operations. |
name | string | true | The name of the project version. |
description | string | false | The description of the project version. |
projectId | string | true | The identifier for the project. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. The project version was updated. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No project version exists at the requested path. | Schema | |
412 | Precondition Failed | The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resource's last modified timestamp. | Schema | |
428 | Precondition Required | The request headers did not include a `If-Match` or `If-Unmodified-Since` precondition. | Schema |