Testopia:Documentation:XMLRPC:Build: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(Replacing page with ' see [http://landfill.bugzilla.org/testopia2/docs/html/api/Bugzilla/WebService/Testopia/Build.html http://landfill.bugzilla.org/testopia2/docs/html/api/Bugzilla/WebService/Test...')
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__NOEDITSECTION__
see [http://landfill.bugzilla.org/testopia2/docs/html/api/Bugzilla/WebService/Testopia/Build.html http://landfill.bugzilla.org/testopia2/docs/html/api/Bugzilla/WebService/Testopia/Build.html]
Back to [[Testopia:Documentation:XMLRPC]]
 
==Build==
 
===Description===
An object representing a Testopia build number.
 
===Hiearchy===
Bugzilla::WebService::Testopia::Build
 
===Attributes===
 
{| border=1 cellpadding=4
| '''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=====
{| border=1 cellpadding=4
| '''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=====
<b>Perl</b>
$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=====
{| border=1 cellpadding=4
| '''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=====
<b>Perl</b>
$proxy->call('Build.lookup_name_by_id', 1);
 
 
 
 
<br>Back to  [[Testopia]]

Latest revision as of 17:04, 23 June 2008