Service


Click here for a complete list of operations.

SetFeedback

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

<?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>
    <SetFeedback xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <apiKey>guid</apiKey>
      <id>guid</id>
      <feedback>
        <HowDidYouHearAboutLCG>string</HowDidYouHearAboutLCG>
        <AnyQuestions>string</AnyQuestions>
      </feedback>
      <metaData>string</metaData>
    </SetFeedback>
  </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>
    <SetFeedbackResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <SetFeedbackResult>
        <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>
      </SetFeedbackResult>
    </SetFeedbackResponse>
  </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>
    <SetFeedback xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <apiKey>guid</apiKey>
      <id>guid</id>
      <feedback>
        <HowDidYouHearAboutLCG>string</HowDidYouHearAboutLCG>
        <AnyQuestions>string</AnyQuestions>
      </feedback>
      <metaData>string</metaData>
    </SetFeedback>
  </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>
    <SetFeedbackResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs">
      <SetFeedbackResult>
        <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>
      </SetFeedbackResult>
    </SetFeedbackResponse>
  </soap12:Body>
</soap12:Envelope>