AdminAPI SOAP WebService interface description

Endpoint URI: http://tournamanage.net/webservice/index.php

WSDL URI: http://tournamanage.net/webservice/index.php?WSDL

PHP SOAP client download URI: http://tournamanage.net/webservice/index.php?PHPSOAPCLIENT

Index

Complex types:

Public methods:

Complex types

Claim

This is a voucher claim!

ClaimArray

This is an array type of Claim.

An array of Claims

Voucher

This is a voucher!

VoucherArray

This is an array type of Voucher.

An array of Vouchers

Public methods

ClaimVoucher

Voucher ClaimVoucher (
    string session_id,
    string voucher_id,
    string claimed_by
)

Claim a Voucher

Return value Voucher: $voucher A voucher object and updates the voucher to be "claimed".

ExpireVoucher

boolean ExpireVoucher (
    string session_id,
    string voucher_id
)

Expires a voucher

Return value boolean: How did it go?

GetClaims

ClaimArray GetClaims (
    string session_id,
    string voucher_id
)

Get all claims for a given voucher

Return value ClaimArray: $claims An array of claims-objects.

GetVoucher

Voucher GetVoucher (
    string session_id,
    string voucher_id
)

Get a Voucher

Return value Voucher: $voucher A voucher object

GetVouchers

VoucherArray GetVouchers (
    string session_id,
    boolean include_inactive
)

Get multiple Vouchers

Return value VoucherArray: $vouchers An array of Voucher objects

Login

string Login (
    string username,
    string password
)

Do authentication

Return value string: Session_id() or a SOAPFault if authentication fails

PutVoucher

boolean PutVoucher (
    string session_id,
    Voucher voucher
)

Save a new voucher to the database

Return value boolean: How did it go?


Powered by PhpWsdl - PDF download: Download this page as PDF