( Service1 Web Service

Service1


Click here for a complete list of operations.

createRestaurant

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ViungoWebService.asmx HTTP/1.1
Host: ws.fuelthebuilders.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/createRestaurant"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <createRestaurant xmlns="http://tempuri.org/">
      <restaurant>
        <BusinessId1>int</BusinessId1>
        <Name1>string</Name1>
        <Website1>string</Website1>
        <Address11>string</Address11>
        <Address21>string</Address21>
        <CountryID1>int</CountryID1>
        <StateID1>int</StateID1>
        <CityID>int</CityID>
        <ZipCode1>string</ZipCode1>
        <BuinessPhone1>string</BuinessPhone1>
        <CellPhone1>string</CellPhone1>
        <UserID1>int</UserID1>
        <businessTypeID1>int</businessTypeID1>
        <businessTypeName1>string</businessTypeName1>
        <ServicesList1>
          <string>string</string>
          <string>string</string>
        </ServicesList1>
        <ServiceValuesList1>
          <string>string</string>
          <string>string</string>
        </ServiceValuesList1>
        <ServiceId1>
          <int>int</int>
          <int>int</int>
        </ServiceId1>
        <ServiceType1>
          <string>string</string>
          <string>string</string>
        </ServiceType1>
        <ServiceOptions1>
          <string>string</string>
          <string>string</string>
        </ServiceOptions1>
        <ProfilePicture1>string</ProfilePicture1>
        <bs_mem_id1>int</bs_mem_id1>
        <membership_validity1>string</membership_validity1>
        <exec_id1>int</exec_id1>
        <mode_of_reference1>string</mode_of_reference1>
        <country_name1>string</country_name1>
        <state_name1>string</state_name1>
        <city_name1>string</city_name1>
        <ReferanceID>int</ReferanceID>
        <discountoffername1>string</discountoffername1>
        <country_code1>string</country_code1>
        <lat>decimal</lat>
        <lng>decimal</lng>
        <MasterBusinessID>int</MasterBusinessID>
        <AreaRegion>string</AreaRegion>
      </restaurant>
      <servicesData>
        <anyType />
        <anyType />
      </servicesData>
    </createRestaurant>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <createRestaurantResponse xmlns="http://tempuri.org/">
      <createRestaurantResult>int</createRestaurantResult>
    </createRestaurantResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ViungoWebService.asmx HTTP/1.1
Host: ws.fuelthebuilders.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <createRestaurant xmlns="http://tempuri.org/">
      <restaurant>
        <BusinessId1>int</BusinessId1>
        <Name1>string</Name1>
        <Website1>string</Website1>
        <Address11>string</Address11>
        <Address21>string</Address21>
        <CountryID1>int</CountryID1>
        <StateID1>int</StateID1>
        <CityID>int</CityID>
        <ZipCode1>string</ZipCode1>
        <BuinessPhone1>string</BuinessPhone1>
        <CellPhone1>string</CellPhone1>
        <UserID1>int</UserID1>
        <businessTypeID1>int</businessTypeID1>
        <businessTypeName1>string</businessTypeName1>
        <ServicesList1>
          <string>string</string>
          <string>string</string>
        </ServicesList1>
        <ServiceValuesList1>
          <string>string</string>
          <string>string</string>
        </ServiceValuesList1>
        <ServiceId1>
          <int>int</int>
          <int>int</int>
        </ServiceId1>
        <ServiceType1>
          <string>string</string>
          <string>string</string>
        </ServiceType1>
        <ServiceOptions1>
          <string>string</string>
          <string>string</string>
        </ServiceOptions1>
        <ProfilePicture1>string</ProfilePicture1>
        <bs_mem_id1>int</bs_mem_id1>
        <membership_validity1>string</membership_validity1>
        <exec_id1>int</exec_id1>
        <mode_of_reference1>string</mode_of_reference1>
        <country_name1>string</country_name1>
        <state_name1>string</state_name1>
        <city_name1>string</city_name1>
        <ReferanceID>int</ReferanceID>
        <discountoffername1>string</discountoffername1>
        <country_code1>string</country_code1>
        <lat>decimal</lat>
        <lng>decimal</lng>
        <MasterBusinessID>int</MasterBusinessID>
        <AreaRegion>string</AreaRegion>
      </restaurant>
      <servicesData>
        <anyType />
        <anyType />
      </servicesData>
    </createRestaurant>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <createRestaurantResponse xmlns="http://tempuri.org/">
      <createRestaurantResult>int</createRestaurantResult>
    </createRestaurantResponse>
  </soap12:Body>
</soap12:Envelope>
);