POST api/matrix/{id}/version?name={name}&parentVersion={parentVersion}&isDefault={isDefault}
Creates a new version for a specified metadata matrix.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the matrix for which the version is being created. |
integer |
Required |
| name |
The name of the new version. Must be unique within the matrix. |
string |
Required |
| parentVersion |
Optional GUID or name of a parent version to inherit from. |
string |
Default value is |
| isDefault |
If true, sets the new version as the default version for the matrix. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
On success: HTTP 200 OK indicating the version was created successfully. On failure: HTTP 400 Bad Request with a message indicating the error.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/scim+json
Sample:
Sample not available.