See all operations
POST: capabilities/statuses
Description
Adds a new capability status to the system
How to Execute
To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):
https://api.inflectra.com/spira/services/v7_0/RestService.svc/capabilities/statuses
Request Body
Property
|
Description
|
CapabilityStatusId
|
The id of the capability status
|
Name
|
The name of the status
|
Position
|
The position of the status in the list
|
IsActive
|
Is this an active status
|
IsDefault
|
Is this the default status
|
IsOpen
|
Is this an open status
|
Guid
|
The unique identifier for the artifact
|
ConcurrencyGuid
|
GUID for representing the concurrency state of a given artifact
|
LastUpdateDate
|
Last time the artifact was updated
|
<RemoteCapabilityStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<ConcurrencyGuid i:nil="true" />
<Guid i:nil="true" />
<LastUpdateDate i:nil="true" />
<CapabilityStatusId i:nil="true" />
<IsActive>false</IsActive>
<IsDefault>false</IsDefault>
<IsOpen>false</IsOpen>
<Name i:nil="true" />
<Position>0</Position>
</RemoteCapabilityStatus>
{"CapabilityStatusId":null,
"Name":null,
"Position":0,
"IsActive":false,
"IsDefault":false,
"IsOpen":false,
"Guid":null,
"ConcurrencyGuid":null,
"LastUpdateDate":null}
Return Data
The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.
Property
|
Description
|
CapabilityStatusId
|
The id of the capability status
|
Name
|
The name of the status
|
Position
|
The position of the status in the list
|
IsActive
|
Is this an active status
|
IsDefault
|
Is this the default status
|
IsOpen
|
Is this an open status
|
Guid
|
The unique identifier for the artifact
|
ConcurrencyGuid
|
GUID for representing the concurrency state of a given artifact
|
LastUpdateDate
|
Last time the artifact was updated
|
<RemoteCapabilityStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<ConcurrencyGuid i:nil="true" />
<Guid i:nil="true" />
<LastUpdateDate i:nil="true" />
<CapabilityStatusId i:nil="true" />
<IsActive>false</IsActive>
<IsDefault>false</IsDefault>
<IsOpen>false</IsOpen>
<Name i:nil="true" />
<Position>0</Position>
</RemoteCapabilityStatus>
{"CapabilityStatusId":null,
"Name":null,
"Position":0,
"IsActive":false,
"IsDefault":false,
"IsOpen":false,
"Guid":null,
"ConcurrencyGuid":null,
"LastUpdateDate":null}