REST API: Requirements

Methods


TypeVer.Command parameterParameters
Getters
GET5beta2+ getRequirementTypes
Example of success:

GET7+ getRequirementTypes treeFilter=<treeFilter>
Example of success:

GET3.0b1+ getRequirementsTree (opt.) connectorIndex=<index>
Example of success:

GET3.0sp6+ getRequirementForm
Example of success:

GET3.3+ getGenericRequirementForm
Example of success:

GET5.0b0+ getExternalRequirementForm (opt.) connectorIndex=<index>
Example of success:

GET3.0b3+ getRequirementDetails requirementId=<id>
frozen=<true|false>
(opt.) connectorIndex=<index>
Example of success:

GET3.0sp7+ getRequirementDetailsRevision requirementId=<id>
revision=<revision>
Example of success:

GET3.0b3+ getRequirementCustomFields requirementId=<id>
Example of success:

GET3.3b1+ getRequirementCoverageSpecifications sutId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET3.3b1+ getRequirementCoverageTests sutId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET3.0b3+ getRequirementLinkedRequirements requirementIds=<id, id, ...>
(opt.) connectorIndex=<index>
Example of success:

GET3.2+ getRequirementLinkedSuts requirementIds=<id, id, ...>
(opt.) connectorIndex=<index>
Example of success:

GET3.2+ getRequirementLinkedSpecifications requirementIds=<id, id, ...>
(opt.) connectorIndex=<index>
Example of success:

GET3.2+ getRequirementLinkedTests requirementIds=<id, id, ...>
(opt.) connectorIndex=<index>
Example of success:

GET6+ getRequirementLinkedBugs requirementIds=<id, id, ...>
(opt.) connectorIndex=<index>
Example of success:

GET10+ getRequirementRelatedSpecifications requirementIds=<id, id, ...>
(opt.) connectorIndex=<index>
Example of success:

GET3.0b3+ getRequirementAttachments requirementId=<id>
Example of success:

GET3.0b3+ getRequirementInheritedAttachments requirementId=<id>
Example of success:

GET3.0b3+ getRequirementRevisions requirementId=<id>
Example of success:

GET3.0b3+ getRequirementChanges requirementId=<id>
Example of success:

GET5+ getRequirementResultsTests requirementId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET5+ getRequirementResultsTestcases requirementId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET5+ getRequirementResultsSteps requirementId=<id>
(opt.) connectorIndex=<index>
Example of success:

GET6+ getRequirementFreezeStatus requirementId=<id>
Example of success:

Setters
POST3.0+createRequirement parentFolderId=<id>
Content of the form with values
(see getRequirementForm)
must be passed in the request's body
as multi-part.
Example of success:

Setters
POST3.3+createGenericRequirement parentFolderId=<id>
Content of the form with values
(see getGenericRequirementForm)
must be passed in the request's body
as multi-part.
Example of success:

Setters
POST5.0b0+createExternalRequirement projectName=<name>
Content of the form with values
(see getExternlRequirementForm)
must be passed in the request's body
as multi-part.
(opt.) connectorIndex=<index>
Example of success:

POST3.0sp6+update Requirement Details Content of the form with values
(see getRequirementDetails)
must be passed in the request's body
as multi-part.
Example of success:

Example of failure:
POST5+updateRequirementsStatus requirementIds=<id, id, ...>
status=<requirementStatus>
Example of success:

Example of failure:
POST5+updateRequirementsPriority requirementIds=<id, id, ...>
priority=<requirementPriority>
Example of success:

Example of failure:
POST5+updateRequirementsRisk requirementIds=<id, id, ...>
risk=<risk>
Example of success:

Example of failure:
POST5+updateRequirementsType requirementIds=<id, id, ...>
type=<requirementType>
Example of success:

Example of failure:
POST10+linkRequirementToRequirements requirementId=<id>
(opt.) connectorIndex1=<index> (source requirement)
(opt.) connectorIndex2=<index> (destination requirements)

The list of the requirement Ids
must be passed in the request's body
in the object list format
Example of success:

Example of failure:
POST3.2b0linkRequirementToSuts requirementId=<id>
(opt.) connectorIndex=<index>

The list of the SUT Ids
must be passed in the request's body
in the object list format
Example of success:

Example of failure:
POST3.2b0linkRequirementToSpecifications requirementId=<id>
(opt.) connectorIndex=<index>

The list of the specification Ids
must be passed in the request's body
in the object list format
Example of success:

Example of failure:
POST3.2b0linkRequirementToTests requirementId=<id>
(opt.) connectorIndex=<index>

The list of the test Ids
must be passed in the request's body
in the object list format
Example of success:

Example of failure:
POST3.0+insertRequirementCustomFieldValue requirementId=<id>
type=<customFieldType>
customFieldId=<id>
customFieldValue=<value>
Example of success:

POST3.0+copyRequirements requirementIds=<id, id, ...>
destParentFolderId=<id>
Example of success:

POST3.0+moveRequirements requirementIds=<id, id, ...>
destParentFolderId=<id>
Example of success:

POST9+moveGenericRequirements requirementIds=<id, id, ...>
destParentFolderId=<id>
Example of success:

POST3.0+freezeRequirement requirementId=<id>
Example of success:

POST?signRequirement requirementId=<id>
Example of success:

POST3.0+unfreezeRequirement requirementId=<id>
Example of success:

POST3.0+deleteRequirements requirementIds=<id, id, ...>
Example of success:

POST9+deleteGenericRequirements requirementIds=<id, id, ...>
Example of success: