BackOffice


Click here for a complete list of operations.

AddCustomer

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 /puckanetennisclub/app/BackOffice.asmx HTTP/1.1
Host: lightingsports.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.joycesoftware.com/AddCustomer"

<?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>
    <AddCustomer xmlns="http://www.joycesoftware.com">
      <customer>
        <Id>int</Id>
        <CustomerGuid>string</CustomerGuid>
        <Code>string</Code>
        <Name>string</Name>
        <Email>string</Email>
        <CustomerAddress>string</CustomerAddress>
        <PhoneNumber>string</PhoneNumber>
        <FaxNumber>string</FaxNumber>
        <Password>string</Password>
        <PasswordFormatId>int</PasswordFormatId>
        <PasswordSalt>string</PasswordSalt>
        <AdminComment>string</AdminComment>
        <IsTaxExempt>boolean</IsTaxExempt>
        <Active>boolean</Active>
        <Deleted>boolean</Deleted>
        <LastIpAddress>string</LastIpAddress>
        <CreatedOnUtc>dateTime</CreatedOnUtc>
        <LastLoginDateUtc>dateTime</LastLoginDateUtc>
        <LastActivityDateUtc>dateTime</LastActivityDateUtc>
        <LastInvoiceDateUtc>dateTime</LastInvoiceDateUtc>
        <LastPaymentDateUtc>dateTime</LastPaymentDateUtc>
        <LastAdjustmentDateUtc>dateTime</LastAdjustmentDateUtc>
        <UpdatedOnUtc>dateTime</UpdatedOnUtc>
        <MobileNumber>string</MobileNumber>
        <WebSite>string</WebSite>
        <Twitter>string</Twitter>
        <Company>string</Company>
        <GroupGuid>string</GroupGuid>
        <PriceListID>int</PriceListID>
        <MainContact>string</MainContact>
        <CustomerReferenceRequired>string</CustomerReferenceRequired>
        <ManualStatementOnly>string</ManualStatementOnly>
        <CreditDays>decimal</CreditDays>
        <ContactByPhone>string</ContactByPhone>
        <ContactByText>string</ContactByText>
        <ContactByEmail>string</ContactByEmail>
        <ContactforMarketing>string</ContactforMarketing>
        <IsSensitive>string</IsSensitive>
        <ResetPassword>string</ResetPassword>
        <MembershipIsPaid>string</MembershipIsPaid>
        <NextMemberShipPayment>dateTime</NextMemberShipPayment>
        <FamilyAccountGUID>string</FamilyAccountGUID>
        <PasswordResetGUID>string</PasswordResetGUID>
        <StripeCustomerID>string</StripeCustomerID>
        <DateOfBirth>dateTime</DateOfBirth>
        <CodeOfEthicsAgreed>string</CodeOfEthicsAgreed>
        <TermsAndConditionsAgreed>string</TermsAndConditionsAgreed>
        <AllowRestricted>string</AllowRestricted>
        <CurrentBalance>decimal</CurrentBalance>
        <BalanceRecord>
          <connectionString>string</connectionString>
          <Id>int</Id>
          <CustomerGuid>string</CustomerGuid>
          <CurrentBalance>decimal</CurrentBalance>
          <LastInvoiceAmount>decimal</LastInvoiceAmount>
          <LastSaleAmount>decimal</LastSaleAmount>
          <LastPaymentAmount>decimal</LastPaymentAmount>
          <LastAdjustmentAmount>decimal</LastAdjustmentAmount>
          <GameCredits>decimal</GameCredits>
        </BalanceRecord>
      </customer>
    </AddCustomer>
  </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>
    <AddCustomerResponse xmlns="http://www.joycesoftware.com">
      <AddCustomerResult />
    </AddCustomerResponse>
  </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 /puckanetennisclub/app/BackOffice.asmx HTTP/1.1
Host: lightingsports.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>
    <AddCustomer xmlns="http://www.joycesoftware.com">
      <customer>
        <Id>int</Id>
        <CustomerGuid>string</CustomerGuid>
        <Code>string</Code>
        <Name>string</Name>
        <Email>string</Email>
        <CustomerAddress>string</CustomerAddress>
        <PhoneNumber>string</PhoneNumber>
        <FaxNumber>string</FaxNumber>
        <Password>string</Password>
        <PasswordFormatId>int</PasswordFormatId>
        <PasswordSalt>string</PasswordSalt>
        <AdminComment>string</AdminComment>
        <IsTaxExempt>boolean</IsTaxExempt>
        <Active>boolean</Active>
        <Deleted>boolean</Deleted>
        <LastIpAddress>string</LastIpAddress>
        <CreatedOnUtc>dateTime</CreatedOnUtc>
        <LastLoginDateUtc>dateTime</LastLoginDateUtc>
        <LastActivityDateUtc>dateTime</LastActivityDateUtc>
        <LastInvoiceDateUtc>dateTime</LastInvoiceDateUtc>
        <LastPaymentDateUtc>dateTime</LastPaymentDateUtc>
        <LastAdjustmentDateUtc>dateTime</LastAdjustmentDateUtc>
        <UpdatedOnUtc>dateTime</UpdatedOnUtc>
        <MobileNumber>string</MobileNumber>
        <WebSite>string</WebSite>
        <Twitter>string</Twitter>
        <Company>string</Company>
        <GroupGuid>string</GroupGuid>
        <PriceListID>int</PriceListID>
        <MainContact>string</MainContact>
        <CustomerReferenceRequired>string</CustomerReferenceRequired>
        <ManualStatementOnly>string</ManualStatementOnly>
        <CreditDays>decimal</CreditDays>
        <ContactByPhone>string</ContactByPhone>
        <ContactByText>string</ContactByText>
        <ContactByEmail>string</ContactByEmail>
        <ContactforMarketing>string</ContactforMarketing>
        <IsSensitive>string</IsSensitive>
        <ResetPassword>string</ResetPassword>
        <MembershipIsPaid>string</MembershipIsPaid>
        <NextMemberShipPayment>dateTime</NextMemberShipPayment>
        <FamilyAccountGUID>string</FamilyAccountGUID>
        <PasswordResetGUID>string</PasswordResetGUID>
        <StripeCustomerID>string</StripeCustomerID>
        <DateOfBirth>dateTime</DateOfBirth>
        <CodeOfEthicsAgreed>string</CodeOfEthicsAgreed>
        <TermsAndConditionsAgreed>string</TermsAndConditionsAgreed>
        <AllowRestricted>string</AllowRestricted>
        <CurrentBalance>decimal</CurrentBalance>
        <BalanceRecord>
          <connectionString>string</connectionString>
          <Id>int</Id>
          <CustomerGuid>string</CustomerGuid>
          <CurrentBalance>decimal</CurrentBalance>
          <LastInvoiceAmount>decimal</LastInvoiceAmount>
          <LastSaleAmount>decimal</LastSaleAmount>
          <LastPaymentAmount>decimal</LastPaymentAmount>
          <LastAdjustmentAmount>decimal</LastAdjustmentAmount>
          <GameCredits>decimal</GameCredits>
        </BalanceRecord>
      </customer>
    </AddCustomer>
  </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>
    <AddCustomerResponse xmlns="http://www.joycesoftware.com">
      <AddCustomerResult />
    </AddCustomerResponse>
  </soap12:Body>
</soap12:Envelope>