Testopia:Documentation:XMLRPC:Build

From MozillaWiki
Revision as of 22:39, 1 December 2006 by Ghendricks (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Testopia:Documentation:XMLRPC

Build

Description

An object representing a Testopia build number.

Hiearchy

Bugzilla::WebService::Testopia::Build

Attributes

Attribute Data Type Comments
build_id integer
product_id integer
name string
description string
milestone string


Methods


lookup_id_by_name - Lookup A Build ID By Its Name


Usage

Build.lookup_id_by_name

Parameters
Parameter Data Type Comments
name string Cannot be null or empty string


Result

The build id for the respective name or 0 if an error occurs.

Example

Perl

$proxy->call('Build.lookup_id_by_name', 'First Build');



lookup_name_by_id - Lookup A Build Name By Its ID


Usage

Build.lookup_name_by_id

Parameters
Parameter Data Type Comments
id integer Cannot be 0


Result

The build name for the respective id or empty string if an error occurs.

Example

Perl

$proxy->call('Build.lookup_name_by_id', 1);




Back to Testopia