StarterTemplate ASP.NET Host

<back to all web services

RequestRequirementsAll

Requirements service

The following routes are available for this service:
GET/service/api/v1/projects/{ProjectId}/requirementsReturns a list of requirements in a projectThe authenticating user must have the Read privilege for Requirements.
Parameters:
NameParameterData TypeRequiredDescription
OffsetqueryintNoThe number of requirements to skip before counting the returned requirements
LimitqueryintNoThe maximum number of requirements to return
ProjectIdpathintYesThe ID of the project that contains requirements
FilterquerystringNoThe filter expression to apply to the list of requirements

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/RequestRequirementsAll HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/json
Content-Length: length

{"offset":0,"limit":0,"project_id":0,"filter":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"results":[{"id":0,"project_id":0,"title":"String","active":false,"status":"String","__permissions":{"acl":0},"act_finish":"0001-01-01T00:00:00.0000000","act_hrs":0,"act_start":"0001-01-01T00:00:00.0000000","assigned_to_name":"String","assignee_user_id":0,"business_rule":"String","comments":"String","date_created":"0001-01-01T00:00:00.0000000","date_last_escalated":"0001-01-01T00:00:00.0000000","date_opened":"0001-01-01T00:00:00.0000000","date_updated":"0001-01-01T00:00:00.0000000","description":"String","est_finish":"0001-01-01T00:00:00.0000000","est_hrs":0,"est_hrs_remaining":0,"est_start":"0001-01-01T00:00:00.0000000","folder_id":0,"folder_name":"String","grouping":"String","import_id":0,"keywords":"String","last_escalation_rule":"String","last_escalation_rule_id":0,"nbr_escalations":0,"nbr_events":0,"nbr_files":0,"nbr_notes":0,"nbr_tasks":0,"notes_description":"String","opened_by":0,"opened_by_company":"String","opened_by_email":"String","opened_by_name":"String","original_id":0,"owner_name":"String","owner_user_id":0,"pct_complete":0,"sub_grouping":"String","update_user_id":0,"user_name":"String"}]}