EInquiry
Click here for a complete list of operations.
SubmitInquiry
Submits inquiry information to AIM.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /einquiry/EInquiry.asmx HTTP/1.1 Host: aim.bbbs.org Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://aim.bbbs.org/EInquiry/SubmitInquiry" <?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> <SubmitInquiry xmlns="http://aim.bbbs.org/EInquiry"> <PtcptContactEmail>string</PtcptContactEmail> <PtcptContactPhoneArea>string</PtcptContactPhoneArea> <PtcptContactPhoneNumber>string</PtcptContactPhoneNumber> <PtcptContactPhoneExt>string</PtcptContactPhoneExt> <PtcptContactPhoneTypeKey>string</PtcptContactPhoneTypeKey> <PtcptContactZipCode>string</PtcptContactZipCode> <PtcptInfoDOB>string</PtcptInfoDOB> <PtcptInfoGenderKey>string</PtcptInfoGenderKey> <PtcptInfoNameFirst>string</PtcptInfoNameFirst> <PtcptInfoNameLast>string</PtcptInfoNameLast> <RequestLocationKey>string</RequestLocationKey> <RequestParticipantTypeKey>string</RequestParticipantTypeKey> <RequestNewsletter>string</RequestNewsletter> <RequestSenderKey>string</RequestSenderKey> <RequestSiteLanguage>string</RequestSiteLanguage> <RequestReferralSourceTypeKey>string</RequestReferralSourceTypeKey> <RequestReferralSourceType>string</RequestReferralSourceType> <RequestReferralSourceKey>string</RequestReferralSourceKey> <RequestReferralSource>string</RequestReferralSource> </SubmitInquiry> </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> <SubmitInquiryResponse xmlns="http://aim.bbbs.org/EInquiry"> <SubmitInquiryResult>string</SubmitInquiryResult> </SubmitInquiryResponse> </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 /einquiry/EInquiry.asmx HTTP/1.1 Host: aim.bbbs.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> <SubmitInquiry xmlns="http://aim.bbbs.org/EInquiry"> <PtcptContactEmail>string</PtcptContactEmail> <PtcptContactPhoneArea>string</PtcptContactPhoneArea> <PtcptContactPhoneNumber>string</PtcptContactPhoneNumber> <PtcptContactPhoneExt>string</PtcptContactPhoneExt> <PtcptContactPhoneTypeKey>string</PtcptContactPhoneTypeKey> <PtcptContactZipCode>string</PtcptContactZipCode> <PtcptInfoDOB>string</PtcptInfoDOB> <PtcptInfoGenderKey>string</PtcptInfoGenderKey> <PtcptInfoNameFirst>string</PtcptInfoNameFirst> <PtcptInfoNameLast>string</PtcptInfoNameLast> <RequestLocationKey>string</RequestLocationKey> <RequestParticipantTypeKey>string</RequestParticipantTypeKey> <RequestNewsletter>string</RequestNewsletter> <RequestSenderKey>string</RequestSenderKey> <RequestSiteLanguage>string</RequestSiteLanguage> <RequestReferralSourceTypeKey>string</RequestReferralSourceTypeKey> <RequestReferralSourceType>string</RequestReferralSourceType> <RequestReferralSourceKey>string</RequestReferralSourceKey> <RequestReferralSource>string</RequestReferralSource> </SubmitInquiry> </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> <SubmitInquiryResponse xmlns="http://aim.bbbs.org/EInquiry"> <SubmitInquiryResult>string</SubmitInquiryResult> </SubmitInquiryResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /einquiry/EInquiry.asmx/SubmitInquiry?PtcptContactEmail=string&PtcptContactPhoneArea=string&PtcptContactPhoneNumber=string&PtcptContactPhoneExt=string&PtcptContactPhoneTypeKey=string&PtcptContactZipCode=string&PtcptInfoDOB=string&PtcptInfoGenderKey=string&PtcptInfoNameFirst=string&PtcptInfoNameLast=string&RequestLocationKey=string&RequestParticipantTypeKey=string&RequestNewsletter=string&RequestSenderKey=string&RequestSiteLanguage=string&RequestReferralSourceTypeKey=string&RequestReferralSourceType=string&RequestReferralSourceKey=string&RequestReferralSource=string HTTP/1.1 Host: aim.bbbs.org
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://aim.bbbs.org/EInquiry">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /einquiry/EInquiry.asmx/SubmitInquiry HTTP/1.1 Host: aim.bbbs.org Content-Type: application/x-www-form-urlencoded Content-Length: length PtcptContactEmail=string&PtcptContactPhoneArea=string&PtcptContactPhoneNumber=string&PtcptContactPhoneExt=string&PtcptContactPhoneTypeKey=string&PtcptContactZipCode=string&PtcptInfoDOB=string&PtcptInfoGenderKey=string&PtcptInfoNameFirst=string&PtcptInfoNameLast=string&RequestLocationKey=string&RequestParticipantTypeKey=string&RequestNewsletter=string&RequestSenderKey=string&RequestSiteLanguage=string&RequestReferralSourceTypeKey=string&RequestReferralSourceType=string&RequestReferralSourceKey=string&RequestReferralSource=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://aim.bbbs.org/EInquiry">string</string>