Service
Click here for a complete list of operations.
SetLiteratureOrder
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/SetLiteratureOrder" <?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> <SetLiteratureOrder xmlns="http://soap.lcg.org/webdept/AttendWithUs"> <apiKey>guid</apiKey> <id>guid</id> <litOrder> <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> </litOrder> <metaData>string</metaData> </SetLiteratureOrder> </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> <SetLiteratureOrderResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs"> <SetLiteratureOrderResult> <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> </SetLiteratureOrderResult> </SetLiteratureOrderResponse> </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> <SetLiteratureOrder xmlns="http://soap.lcg.org/webdept/AttendWithUs"> <apiKey>guid</apiKey> <id>guid</id> <litOrder> <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> </litOrder> <metaData>string</metaData> </SetLiteratureOrder> </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> <SetLiteratureOrderResponse xmlns="http://soap.lcg.org/webdept/AttendWithUs"> <SetLiteratureOrderResult> <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> </SetLiteratureOrderResult> </SetLiteratureOrderResponse> </soap12:Body> </soap12:Envelope>