Service


Click here for a complete list of operations.

SetContactInformation

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 /WebDept/AttendWithUs/Service.asmx HTTP/1.1
Host: soap.lcg.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://soap.lcg.org/webdept/AttendWithUs/SetContactInformation"

<?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>
    <SetContactInformation xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <apiKey>guid</apiKey>
      <id>guid</id>
      <contactDetails>
        <First>string</First>
        <Last>string</Last>
        <Email>string</Email>
        <PhoneNumber>string</PhoneNumber>
        <HasValidContactDetails>boolean</HasValidContactDetails>
      </contactDetails>
      <metaData>string</metaData>
    </SetContactInformation>
  </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>
    <SetContactInformationResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <SetContactInformationResult>
        <Id>guid</Id>
        <Language>string</Language>
        <Location>
          <City>string</City>
          <StateProv>string</StateProv>
          <ZipPostal>string</ZipPostal>
          <CountryCode>string</CountryCode>
        </Location>
        <Pastor>
          <Id>guid</Id>
          <FormattedName>string</FormattedName>
          <CongregationName>string</CongregationName>
          <FormattedPhoneNumber>string</FormattedPhoneNumber>
          <E164PhoneNumber>string</E164PhoneNumber>
          <EmailAddress>string</EmailAddress>
        </Pastor>
        <ContactDetails>
          <First>string</First>
          <Last>string</Last>
          <Email>string</Email>
          <PhoneNumber>string</PhoneNumber>
          <HasValidContactDetails>boolean</HasValidContactDetails>
        </ContactDetails>
        <LiteratureOrder>
          <First>string</First>
          <Last>string</Last>
          <AddressLine1>string</AddressLine1>
          <AddressLine2>string</AddressLine2>
          <City>string</City>
          <StateProv>string</StateProv>
          <ZipPostal>string</ZipPostal>
          <CountryCode>string</CountryCode>
          <BibleStudyCourse>boolean</BibleStudyCourse>
          <TomorrowsWorld>boolean</TomorrowsWorld>
          <Item1Code>string</Item1Code>
          <Item2Code>string</Item2Code>
          <Item3Code>string</Item3Code>
        </LiteratureOrder>
        <Feedback>
          <HowDidYouHearAboutLCG>string</HowDidYouHearAboutLCG>
          <AnyQuestions>string</AnyQuestions>
        </Feedback>
        <Mutable>boolean</Mutable>
      </SetContactInformationResult>
    </SetContactInformationResponse>
  </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 /WebDept/AttendWithUs/Service.asmx HTTP/1.1
Host: soap.lcg.org
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>
    <SetContactInformation xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <apiKey>guid</apiKey>
      <id>guid</id>
      <contactDetails>
        <First>string</First>
        <Last>string</Last>
        <Email>string</Email>
        <PhoneNumber>string</PhoneNumber>
        <HasValidContactDetails>boolean</HasValidContactDetails>
      </contactDetails>
      <metaData>string</metaData>
    </SetContactInformation>
  </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>
    <SetContactInformationResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <SetContactInformationResult>
        <Id>guid</Id>
        <Language>string</Language>
        <Location>
          <City>string</City>
          <StateProv>string</StateProv>
          <ZipPostal>string</ZipPostal>
          <CountryCode>string</CountryCode>
        </Location>
        <Pastor>
          <Id>guid</Id>
          <FormattedName>string</FormattedName>
          <CongregationName>string</CongregationName>
          <FormattedPhoneNumber>string</FormattedPhoneNumber>
          <E164PhoneNumber>string</E164PhoneNumber>
          <EmailAddress>string</EmailAddress>
        </Pastor>
        <ContactDetails>
          <First>string</First>
          <Last>string</Last>
          <Email>string</Email>
          <PhoneNumber>string</PhoneNumber>
          <HasValidContactDetails>boolean</HasValidContactDetails>
        </ContactDetails>
        <LiteratureOrder>
          <First>string</First>
          <Last>string</Last>
          <AddressLine1>string</AddressLine1>
          <AddressLine2>string</AddressLine2>
          <City>string</City>
          <StateProv>string</StateProv>
          <ZipPostal>string</ZipPostal>
          <CountryCode>string</CountryCode>
          <BibleStudyCourse>boolean</BibleStudyCourse>
          <TomorrowsWorld>boolean</TomorrowsWorld>
          <Item1Code>string</Item1Code>
          <Item2Code>string</Item2Code>
          <Item3Code>string</Item3Code>
        </LiteratureOrder>
        <Feedback>
          <HowDidYouHearAboutLCG>string</HowDidYouHearAboutLCG>
          <AnyQuestions>string</AnyQuestions>
        </Feedback>
        <Mutable>boolean</Mutable>
      </SetContactInformationResult>
    </SetContactInformationResponse>
  </soap12:Body>
</soap12:Envelope>