StarterTemplate ASP.NET Host

<back to all web services

RequestReleasePostSearch

Releases service

The following routes are available for this service:
POST/service/api/v1/projects/{ProjectId}/releases/searchReturns the list of releases in a projectThe authenticating user must have the Read privilege for Releases. This method fully equivalent to GET method, but this one allows you to send large filter string.
Parameters:
NameParameterData TypeRequiredDescription
OffsetqueryintNoThe number of releases to skip before counting the returned releases
LimitqueryintNoThe maximum number of releases to return
ProjectIdpathintYesThe ID of the project that contains releases

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

HTTP + JSV

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

POST /jsv/reply/RequestReleasePostSearch HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

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

{
	results: 
	[
		{
			id: 0,
			project_id: 0,
			folder_id: 0,
			folder_name: String,
			release_id: 0,
			parent_id: 0,
			release_type: String,
			title: String,
			description: String,
			owner_user_id: 0,
			assignee_user_id: 0,
			is_auto_adjust_est_dates: False,
			date_created: 0001-01-01,
			date_updated: 0001-01-01,
			create_user_id: 0,
			update_user_id: 0,
			is_active: False,
			status_code: String,
			est_start_date: 0001-01-01,
			est_finish_date: 0001-01-01,
			seq_num: 0,
			import_id: 0,
			parent_name: String,
			updated_user_name: String,
			created_user_name: String,
			nbr_files: 0,
			nbr_notes: 0,
			__permissions: 
			{
				acl: 0
			}
		}
	]
}