Web Service
MakeBooking_asmx
Overview
Service Description
Client proxy

Methods GetServerStartTimestamp
EmailServerDetails
DeleteServer
ModifyServer
IsServerAvailableAtTime
CreateServer

Select the language for which you want to generate a proxy     

C# Client Proxy    Download

// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 1.1.4322.2032
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------



/// <remarks/>
[System.Web.Services.WebServiceBinding(Name="MakeBooking_asmxSoap",
      Namespace="http://tempuri.org/")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public class MakeBooking_asmx : System.Web.Services.Protocols.SoapHttpClientProtocol {
    
    public MakeBooking_asmx() {
        this.Url = "http://world.gamecreate.com/bookings/MakeBooking.asmx";
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
         "http://tempuri.org/GetServerStartTimestamp", RequestNamespace="http://tempuri.org/",
          ResponseNamespace="http://tempuri.org/",
          ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
          Use=System.Web.Services.Description.SoapBindingUse.Literal)]
    public int GetServerStartTimestamp(int serverId) {
        object[] results = this.Invoke("GetServerStartTimestamp"new object[] {
                    serverId});
        return ((int)(results[0]));
    }
    
    public System.IAsyncResult BeginGetServerStartTimestamp(int serverId, System.AsyncCallback
          callback, object asyncState) {
        return this.BeginInvoke("GetServerStartTimestamp"new object[] {
                    serverId}, callback, asyncState);
    }
    
    public int EndGetServerStartTimestamp(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((int)(results[0]));
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
         "http://tempuri.org/EmailServerDetails", RequestNamespace="http://tempuri.org/",
          ResponseNamespace="http://tempuri.org/",
          ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
          Use=System.Web.Services.Description.SoapBindingUse.Literal)]
    public bool EmailServerDetails(string username, string password, int serverId, string[]
          addresses, bool includeSecretProperties) {
        object[] results = this.Invoke("EmailServerDetails"new object[] {
                    username,
                    password,
                    serverId,
                    addresses,
                    includeSecretProperties});
        return ((bool)(results[0]));
    }
    
    public System.IAsyncResult BeginEmailServerDetails(string username, string password, int
          serverId, string[] addresses, bool includeSecretProperties, System.AsyncCallback
          callback, object asyncState) {
        return this.BeginInvoke("EmailServerDetails"new object[] {
                    username,
                    password,
                    serverId,
                    addresses,
                    includeSecretProperties}, callback, asyncState);
    }
    
    public bool EndEmailServerDetails(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((bool)(results[0]));
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
         "http://tempuri.org/DeleteServer", RequestNamespace="http://tempuri.org/",
          ResponseNamespace="http://tempuri.org/",
          ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
          Use=System.Web.Services.Description.SoapBindingUse.Literal)]
    public bool DeleteServer(string username, string password, int serverId) {
        object[] results = this.Invoke("DeleteServer"new object[] {
                    username,
                    password,
                    serverId});
        return ((bool)(results[0]));
    }
    
    public System.IAsyncResult BeginDeleteServer(string username, string password, int serverId,
          System.AsyncCallback callback, object asyncState) {
        return this.BeginInvoke("DeleteServer"new object[] {
                    username,
                    password,
                    serverId}, callback, asyncState);
    }
    
    public bool EndDeleteServer(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((bool)(results[0]));
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
         "http://tempuri.org/ModifyServer", RequestNamespace="http://tempuri.org/",
          ResponseNamespace="http://tempuri.org/",
          ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
          Use=System.Web.Services.Description.SoapBindingUse.Literal)]
    public bool ModifyServer(string username, string password, int serverId, string name,
          string propertyValues, string templateIds) {
        object[] results = this.Invoke("ModifyServer"new object[] {
                    username,
                    password,
                    serverId,
                    name,
                    propertyValues,
                    templateIds});
        return ((bool)(results[0]));
    }
    
    public System.IAsyncResult BeginModifyServer(string username, string password, int serverId,
          string name, string propertyValues, string templateIds, System.AsyncCallback callback,
          object asyncState) {
        return this.BeginInvoke("ModifyServer"new object[] {
                    username,
                    password,
                    serverId,
                    name,
                    propertyValues,
                    templateIds}, callback, asyncState);
    }
    
    public bool EndModifyServer(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((bool)(results[0]));
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
         "http://tempuri.org/IsServerAvailableAtTime", RequestNamespace="http://tempuri.org/",
          ResponseNamespace="http://tempuri.org/",
          ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
          Use=System.Web.Services.Description.SoapBindingUse.Literal)]
    public bool IsServerAvailableAtTime(string username, string password, int gameId, int
          startTimestamp, int runtimeMins, int numberPlayers) {
        object[] results = this.Invoke("IsServerAvailableAtTime"new object[] {
                    username,
                    password,
                    gameId,
                    startTimestamp,
                    runtimeMins,
                    numberPlayers});
        return ((bool)(results[0]));
    }
    
    public System.IAsyncResult BeginIsServerAvailableAtTime(string username, string password,
          int gameId, int startTimestamp, int runtimeMins, int numberPlayers,
          System.AsyncCallback callback, object asyncState) {
        return this.BeginInvoke("IsServerAvailableAtTime"new object[] {
                    username,
                    password,
                    gameId,
                    startTimestamp,
                    runtimeMins,
                    numberPlayers}, callback, asyncState);
    }
    
    public bool EndIsServerAvailableAtTime(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((bool)(results[0]));
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute(
         "http://tempuri.org/CreateServer", RequestNamespace="http://tempuri.org/",
          ResponseNamespace="http://tempuri.org/",
          ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped,
          Use=System.Web.Services.Description.SoapBindingUse.Literal)]
    public int CreateServer(string username, string password, int gameId, int startTimestamp,
          int runtimeMins, int numberPlayers, string name, string propertyValues, string
          templateIds) {
        object[] results = this.Invoke("CreateServer"new object[] {
                    username,
                    password,
                    gameId,
                    startTimestamp,
                    runtimeMins,
                    numberPlayers,
                    name,
                    propertyValues,
                    templateIds});
        return ((int)(results[0]));
    }
    
    public System.IAsyncResult BeginCreateServer(string username, string password, int gameId,
          int startTimestamp, int runtimeMins, int numberPlayers, string name, string
          propertyValues, string templateIds, System.AsyncCallback callback, object asyncState)
          {
        return this.BeginInvoke("CreateServer"new object[] {
                    username,
                    password,
                    gameId,
                    startTimestamp,
                    runtimeMins,
                    numberPlayers,
                    name,
                    propertyValues,
                    templateIds}, callback, asyncState);
    }
    
    public int EndCreateServer(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((int)(results[0]));
    }
}