Service


Click here for a complete list of operations.

SetLocation

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: lcgsoap.azurewebsites.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://soap.lcg.org/webdept/AttendWithUs/SetLocation"

<?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>
    <SetLocation xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <apiKey>guid</apiKey>
      <id>guid</id>
      <location>
        <City>string</City>
        <StateProv>string</StateProv>
        <ZipPostal>string</ZipPostal>
        <CountryCode>string</CountryCode>
      </location>
      <metaData>string</metaData>
    </SetLocation>
  </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>
    <SetLocationResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <SetLocationResult>
        <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>
      </SetLocationResult>
    </SetLocationResponse>
  </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: lcgsoap.azurewebsites.net
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>
    <SetLocation xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <apiKey>guid</apiKey>
      <id>guid</id>
      <location>
        <City>string</City>
        <StateProv>string</StateProv>
        <ZipPostal>string</ZipPostal>
        <CountryCode>string</CountryCode>
      </location>
      <metaData>string</metaData>
    </SetLocation>
  </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>
    <SetLocationResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <SetLocationResult>
        <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>
      </SetLocationResult>
    </SetLocationResponse>
  </soap12:Body>
</soap12:Envelope>