( Service1 Web Service

Service1


Click here for a complete list of operations.

InsertUpdateloyaltyProgram

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/InsertUpdateloyaltyProgram"

<?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>
    <InsertUpdateloyaltyProgram xmlns="http://tempuri.org/">
      <businessobj>
        <BusinessId1>int</BusinessId1>
        <Name1>string</Name1>
        <loyaltyAlert>boolean</loyaltyAlert>
        <alertMSG>string</alertMSG>
        <SMSText>string</SMSText>
        <AlertInterval>int</AlertInterval>
        <numberOfLoyaltyPunch1>int</numberOfLoyaltyPunch1>
        <LP_ID1>int</LP_ID1>
        <LP_ACTIVE_STS1>string</LP_ACTIVE_STS1>
        <LP_NAME1>string</LP_NAME1>
        <LP_NO_STAMPS1>int</LP_NO_STAMPS1>
        <LP_DISC_COUP1>string</LP_DISC_COUP1>
        <LP_VALID_FOR1>int</LP_VALID_FOR1>
        <LP_BUS_ID1>int</LP_BUS_ID1>
        <LP_LOYALTY_CD1>int</LP_LOYALTY_CD1>
        <LP_CREATEDBY_ID1>string</LP_CREATEDBY_ID1>
        <ErrorMessage1>string</ErrorMessage1>
        <discountoffername1>string</discountoffername1>
        <country_code1>string</country_code1>
        <LP_ASSIGN_MAILID1>string</LP_ASSIGN_MAILID1>
        <Chainloyalty1>boolean</Chainloyalty1>
        <discountOfferId>int</discountOfferId>
        <rewardPoint1>int</rewardPoint1>
        <frequency>int</frequency>
        <loyaltyType>string</loyaltyType>
        <offerType>string</offerType>
        <Referral_ID1>int</Referral_ID1>
        <surveyId1>string</surveyId1>
        <surveyReq1>boolean</surveyReq1>
        <refCount1>string</refCount1>
        <surveyCount1>string</surveyCount1>
        <refReq1>string</refReq1>
        <CheckinCount1>string</CheckinCount1>
        <CheckinReq1>string</CheckinReq1>
        <fbCheckinID1>int</fbCheckinID1>
        <donationID>int</donationID>
        <donationPoint1>int</donationPoint1>
        <hasMsg>int</hasMsg>
        <DonationMsg>string</DonationMsg>
        <organizationAMOUNT>decimal</organizationAMOUNT>
        <organizationNAME1>string</organizationNAME1>
        <reviewCount1>string</reviewCount1>
      </businessobj>
      <Identifier>int</Identifier>
    </InsertUpdateloyaltyProgram>
  </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>
    <InsertUpdateloyaltyProgramResponse xmlns="http://tempuri.org/">
      <InsertUpdateloyaltyProgramResult>boolean</InsertUpdateloyaltyProgramResult>
    </InsertUpdateloyaltyProgramResponse>
  </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>
    <InsertUpdateloyaltyProgram xmlns="http://tempuri.org/">
      <businessobj>
        <BusinessId1>int</BusinessId1>
        <Name1>string</Name1>
        <loyaltyAlert>boolean</loyaltyAlert>
        <alertMSG>string</alertMSG>
        <SMSText>string</SMSText>
        <AlertInterval>int</AlertInterval>
        <numberOfLoyaltyPunch1>int</numberOfLoyaltyPunch1>
        <LP_ID1>int</LP_ID1>
        <LP_ACTIVE_STS1>string</LP_ACTIVE_STS1>
        <LP_NAME1>string</LP_NAME1>
        <LP_NO_STAMPS1>int</LP_NO_STAMPS1>
        <LP_DISC_COUP1>string</LP_DISC_COUP1>
        <LP_VALID_FOR1>int</LP_VALID_FOR1>
        <LP_BUS_ID1>int</LP_BUS_ID1>
        <LP_LOYALTY_CD1>int</LP_LOYALTY_CD1>
        <LP_CREATEDBY_ID1>string</LP_CREATEDBY_ID1>
        <ErrorMessage1>string</ErrorMessage1>
        <discountoffername1>string</discountoffername1>
        <country_code1>string</country_code1>
        <LP_ASSIGN_MAILID1>string</LP_ASSIGN_MAILID1>
        <Chainloyalty1>boolean</Chainloyalty1>
        <discountOfferId>int</discountOfferId>
        <rewardPoint1>int</rewardPoint1>
        <frequency>int</frequency>
        <loyaltyType>string</loyaltyType>
        <offerType>string</offerType>
        <Referral_ID1>int</Referral_ID1>
        <surveyId1>string</surveyId1>
        <surveyReq1>boolean</surveyReq1>
        <refCount1>string</refCount1>
        <surveyCount1>string</surveyCount1>
        <refReq1>string</refReq1>
        <CheckinCount1>string</CheckinCount1>
        <CheckinReq1>string</CheckinReq1>
        <fbCheckinID1>int</fbCheckinID1>
        <donationID>int</donationID>
        <donationPoint1>int</donationPoint1>
        <hasMsg>int</hasMsg>
        <DonationMsg>string</DonationMsg>
        <organizationAMOUNT>decimal</organizationAMOUNT>
        <organizationNAME1>string</organizationNAME1>
        <reviewCount1>string</reviewCount1>
      </businessobj>
      <Identifier>int</Identifier>
    </InsertUpdateloyaltyProgram>
  </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>
    <InsertUpdateloyaltyProgramResponse xmlns="http://tempuri.org/">
      <InsertUpdateloyaltyProgramResult>boolean</InsertUpdateloyaltyProgramResult>
    </InsertUpdateloyaltyProgramResponse>
  </soap12:Body>
</soap12:Envelope>
);