CustomerManager


Click here for a complete list of operations.

AddNewCustomer

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 /KMWare.ZMA.POS.CustomerMgmt.Host/CustomerManager.asmx HTTP/1.1
Host: ssa.fp360.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://KMWare.ZMA.POS.CustomerMgmt.ServiceContracts/AddNewCustomer"

<?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>
    <AddNewCustomer xmlns="http://KMWare.ZMA.POS.CustomerMgmt.ServiceContracts">
      <AddNewCustomerRequest xmlns="http://KMWare.ZMA.POS.CustomerMgmt.DataTypes/2007/06">
        <CustomerCode>string</CustomerCode>
        <CustomerTypeCode>string</CustomerTypeCode>
        <CustomField1>string</CustomField1>
        <ExpiryDate>dateTime</ExpiryDate>
        <Name>string</Name>
        <Note>string</Note>
        <OrganizationUnitId>short</OrganizationUnitId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateId>string</UpdateId>
        <TaxExcemptedCode>string</TaxExcemptedCode>
        <Status>string</Status>
        <MembershipRenewalExpiryDate>dateTime</MembershipRenewalExpiryDate>
        <CustomerAddress>
          <CustomerAddress>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <AddressLineId>short</AddressLineId>
            <City>string</City>
            <ContactEmail>string</ContactEmail>
            <ContactNumber>string</ContactNumber>
            <Country>string</Country>
            <CustomerAddressType>string</CustomerAddressType>
            <CustomerCode>string</CustomerCode>
            <CustomField1>string</CustomField1>
            <ExpiryDate>dateTime</ExpiryDate>
            <Fax>string</Fax>
            <Note>string</Note>
            <OrganizationUnitId>short</OrganizationUnitId>
            <PostalZipCode>string</PostalZipCode>
            <State>string</State>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateId>string</UpdateId>
            <ContactPerson>string</ContactPerson>
            <AddressStatus>string</AddressStatus>
            <IsPrimaryAddress>string</IsPrimaryAddress>
            <EConsignment>string</EConsignment>
            <Username>string</Username>
            <Password>string</Password>
            <PasswordSalt>string</PasswordSalt>
            <PasswordFormat>int</PasswordFormat>
            <County>string</County>
          </CustomerAddress>
          <CustomerAddress>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <AddressLineId>short</AddressLineId>
            <City>string</City>
            <ContactEmail>string</ContactEmail>
            <ContactNumber>string</ContactNumber>
            <Country>string</Country>
            <CustomerAddressType>string</CustomerAddressType>
            <CustomerCode>string</CustomerCode>
            <CustomField1>string</CustomField1>
            <ExpiryDate>dateTime</ExpiryDate>
            <Fax>string</Fax>
            <Note>string</Note>
            <OrganizationUnitId>short</OrganizationUnitId>
            <PostalZipCode>string</PostalZipCode>
            <State>string</State>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateId>string</UpdateId>
            <ContactPerson>string</ContactPerson>
            <AddressStatus>string</AddressStatus>
            <IsPrimaryAddress>string</IsPrimaryAddress>
            <EConsignment>string</EConsignment>
            <Username>string</Username>
            <Password>string</Password>
            <PasswordSalt>string</PasswordSalt>
            <PasswordFormat>int</PasswordFormat>
            <County>string</County>
          </CustomerAddress>
        </CustomerAddress>
        <CustomerCreditCardDetail>
          <CustomerCreditCardDetail>
            <OrganizationUnitId>short</OrganizationUnitId>
            <MembershipCode>string</MembershipCode>
            <CardType>string</CardType>
            <CardHolderName>string</CardHolderName>
            <Number>string</Number>
            <Expiration>string</Expiration>
            <Primary>string</Primary>
            <CustomField1>string</CustomField1>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <CreditCardLineId>short</CreditCardLineId>
          </CustomerCreditCardDetail>
          <CustomerCreditCardDetail>
            <OrganizationUnitId>short</OrganizationUnitId>
            <MembershipCode>string</MembershipCode>
            <CardType>string</CardType>
            <CardHolderName>string</CardHolderName>
            <Number>string</Number>
            <Expiration>string</Expiration>
            <Primary>string</Primary>
            <CustomField1>string</CustomField1>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <CreditCardLineId>short</CreditCardLineId>
          </CustomerCreditCardDetail>
        </CustomerCreditCardDetail>
        <CustomerDiscount>
          <CustomerDiscount>
            <OrganizationUnitId>short</OrganizationUnitId>
            <UpdateId>string</UpdateId>
            <PassTypeCode>string</PassTypeCode>
            <DiscountCode>string</DiscountCode>
            <DiscountDescription>string</DiscountDescription>
            <DiscountType>string</DiscountType>
            <DiscountValue>decimal</DiscountValue>
            <DisplayName>string</DisplayName>
            <ModuleCode>int</ModuleCode>
          </CustomerDiscount>
          <CustomerDiscount>
            <OrganizationUnitId>short</OrganizationUnitId>
            <UpdateId>string</UpdateId>
            <PassTypeCode>string</PassTypeCode>
            <DiscountCode>string</DiscountCode>
            <DiscountDescription>string</DiscountDescription>
            <DiscountType>string</DiscountType>
            <DiscountValue>decimal</DiscountValue>
            <DisplayName>string</DisplayName>
            <ModuleCode>int</ModuleCode>
          </CustomerDiscount>
        </CustomerDiscount>
        <Tag>string</Tag>
        <GroupsalesStatus>string</GroupsalesStatus>
        <GroupingType>string</GroupingType>
        <IsQBIntegrated>string</IsQBIntegrated>
        <Gender>string</Gender>
        <DOB>dateTime</DOB>
        <Title>string</Title>
        <MiddleName>string</MiddleName>
        <LastName>string</LastName>
        <FirstName>string</FirstName>
        <PaymentTerm>int</PaymentTerm>
        <MemberPopupMessage>string</MemberPopupMessage>
        <CustomerOrganizationId>string</CustomerOrganizationId>
        <EMailOpt>string</EMailOpt>
        <PrintMailOpt>string</PrintMailOpt>
        <CustomerGroupType>string</CustomerGroupType>
        <AccountCode>string</AccountCode>
        <TitleSuffix>string</TitleSuffix>
        <Address1>string</Address1>
        <IsGiftAidFormAttached>string</IsGiftAidFormAttached>
        <GiftAidReferenceNo>string</GiftAidReferenceNo>
        <CustomerDonationHistory>
          <CustomerDonationHistory>
            <DonationDate>dateTime</DonationDate>
            <DonateFor>string</DonateFor>
            <Amount>decimal</Amount>
          </CustomerDonationHistory>
          <CustomerDonationHistory>
            <DonationDate>dateTime</DonationDate>
            <DonateFor>string</DonateFor>
            <Amount>decimal</Amount>
          </CustomerDonationHistory>
        </CustomerDonationHistory>
        <CustomerSalesHistory>
          <CustomerSalesHistory>
            <OrganizationUnitId>short</OrganizationUnitId>
            <CustomerCode>string</CustomerCode>
            <ModuleCode>string</ModuleCode>
            <SalesTransactionDate>dateTime</SalesTransactionDate>
            <ItemDescription>string</ItemDescription>
            <Quantity>decimal</Quantity>
            <TotalAmount>decimal</TotalAmount>
            <TransactionId>string</TransactionId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </CustomerSalesHistory>
          <CustomerSalesHistory>
            <OrganizationUnitId>short</OrganizationUnitId>
            <CustomerCode>string</CustomerCode>
            <ModuleCode>string</ModuleCode>
            <SalesTransactionDate>dateTime</SalesTransactionDate>
            <ItemDescription>string</ItemDescription>
            <Quantity>decimal</Quantity>
            <TotalAmount>decimal</TotalAmount>
            <TransactionId>string</TransactionId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </CustomerSalesHistory>
        </CustomerSalesHistory>
        <CustomField2>string</CustomField2>
        <CustomField3>string</CustomField3>
        <CustomField4>string</CustomField4>
        <CustomField5>string</CustomField5>
        <IsEnrolementCustomer>string</IsEnrolementCustomer>
      </AddNewCustomerRequest>
    </AddNewCustomer>
  </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>
    <AddNewCustomerResponse xmlns="http://KMWare.ZMA.POS.CustomerMgmt.ServiceContracts">
      <AddNewCustomerResult>string</AddNewCustomerResult>
    </AddNewCustomerResponse>
  </soap:Body>
</soap:Envelope>