BBGenie
Click here for a complete list of operations.
oQueryPromptAction
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 /BBAdmin/WebService/BBGenie.asmx HTTP/1.1 Host: webservices.bookingbuilder.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.bookingbuilder.com/webservices/oQueryPromptAction" <?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> <oQueryPromptAction xmlns="http://www.bookingbuilder.com/webservices"> <sEmailAddress>string</sEmailAddress> <sPassword>string</sPassword> <iGroupID>int</iGroupID> <aoConditions> <QueryCondition> <iOpenParenCount>int</iOpenParenCount> <sFieldName>string</sFieldName> <sOperator>string</sOperator> <sValue>string</sValue> <iCloseParenCount>int</iCloseParenCount> <sCombiner>string</sCombiner> </QueryCondition> <QueryCondition> <iOpenParenCount>int</iOpenParenCount> <sFieldName>string</sFieldName> <sOperator>string</sOperator> <sValue>string</sValue> <iCloseParenCount>int</iCloseParenCount> <sCombiner>string</sCombiner> </QueryCondition> </aoConditions> </oQueryPromptAction> </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> <oQueryPromptActionResponse xmlns="http://www.bookingbuilder.com/webservices"> <oQueryPromptActionResult> <bSuccess>boolean</bSuccess> <sErrorMessage>string</sErrorMessage> <iCountAffected>int</iCountAffected> <arPromptActionData> <PromptActionData> <ixALPrompAction>int</ixALPrompAction> <dtTimeStamp>dateTime</dtTimeStamp> <iComputerID>int</iComputerID> <sComputerName>string</sComputerName> <sComputerNickname>string</sComputerNickname> <iGroupID>int</iGroupID> <sGroupName>string</sGroupName> <ixBBMsgMaster>int</ixBBMsgMaster> <sPromptName>string</sPromptName> <sNWName>string</sNWName> <sData1>string</sData1> <sData2>string</sData2> <sData3>string</sData3> <bIsFromNW>boolean</bIsFromNW> <ixBBMsgActionType>int</ixBBMsgActionType> <sActionName>string</sActionName> </PromptActionData> <PromptActionData> <ixALPrompAction>int</ixALPrompAction> <dtTimeStamp>dateTime</dtTimeStamp> <iComputerID>int</iComputerID> <sComputerName>string</sComputerName> <sComputerNickname>string</sComputerNickname> <iGroupID>int</iGroupID> <sGroupName>string</sGroupName> <ixBBMsgMaster>int</ixBBMsgMaster> <sPromptName>string</sPromptName> <sNWName>string</sNWName> <sData1>string</sData1> <sData2>string</sData2> <sData3>string</sData3> <bIsFromNW>boolean</bIsFromNW> <ixBBMsgActionType>int</ixBBMsgActionType> <sActionName>string</sActionName> </PromptActionData> </arPromptActionData> </oQueryPromptActionResult> </oQueryPromptActionResponse> </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 /BBAdmin/WebService/BBGenie.asmx HTTP/1.1 Host: webservices.bookingbuilder.com 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> <oQueryPromptAction xmlns="http://www.bookingbuilder.com/webservices"> <sEmailAddress>string</sEmailAddress> <sPassword>string</sPassword> <iGroupID>int</iGroupID> <aoConditions> <QueryCondition> <iOpenParenCount>int</iOpenParenCount> <sFieldName>string</sFieldName> <sOperator>string</sOperator> <sValue>string</sValue> <iCloseParenCount>int</iCloseParenCount> <sCombiner>string</sCombiner> </QueryCondition> <QueryCondition> <iOpenParenCount>int</iOpenParenCount> <sFieldName>string</sFieldName> <sOperator>string</sOperator> <sValue>string</sValue> <iCloseParenCount>int</iCloseParenCount> <sCombiner>string</sCombiner> </QueryCondition> </aoConditions> </oQueryPromptAction> </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> <oQueryPromptActionResponse xmlns="http://www.bookingbuilder.com/webservices"> <oQueryPromptActionResult> <bSuccess>boolean</bSuccess> <sErrorMessage>string</sErrorMessage> <iCountAffected>int</iCountAffected> <arPromptActionData> <PromptActionData> <ixALPrompAction>int</ixALPrompAction> <dtTimeStamp>dateTime</dtTimeStamp> <iComputerID>int</iComputerID> <sComputerName>string</sComputerName> <sComputerNickname>string</sComputerNickname> <iGroupID>int</iGroupID> <sGroupName>string</sGroupName> <ixBBMsgMaster>int</ixBBMsgMaster> <sPromptName>string</sPromptName> <sNWName>string</sNWName> <sData1>string</sData1> <sData2>string</sData2> <sData3>string</sData3> <bIsFromNW>boolean</bIsFromNW> <ixBBMsgActionType>int</ixBBMsgActionType> <sActionName>string</sActionName> </PromptActionData> <PromptActionData> <ixALPrompAction>int</ixALPrompAction> <dtTimeStamp>dateTime</dtTimeStamp> <iComputerID>int</iComputerID> <sComputerName>string</sComputerName> <sComputerNickname>string</sComputerNickname> <iGroupID>int</iGroupID> <sGroupName>string</sGroupName> <ixBBMsgMaster>int</ixBBMsgMaster> <sPromptName>string</sPromptName> <sNWName>string</sNWName> <sData1>string</sData1> <sData2>string</sData2> <sData3>string</sData3> <bIsFromNW>boolean</bIsFromNW> <ixBBMsgActionType>int</ixBBMsgActionType> <sActionName>string</sActionName> </PromptActionData> </arPromptActionData> </oQueryPromptActionResult> </oQueryPromptActionResponse> </soap12:Body> </soap12:Envelope>