ProBusinessTools
Click here for a complete list of operations.
SearchOrders
This method returns an object array of the OrderSearchResults. This structure shows some basic information of the orders queried by a set of criteria supplied.
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 /publicwebservices/probusinesstools.asmx HTTP/1.1 Host: secure.probusinesstools.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://secure.probusinesstools.com/publicWebServices/SearchOrders" <?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> <SearchOrders xmlns="http://secure.probusinesstools.com/publicWebServices"> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> <mySearchCriteria> <InternalOrderID>string</InternalOrderID> <JobNumber>string</JobNumber> <CustomerFirstName>string</CustomerFirstName> <CustomerLastName>string</CustomerLastName> <OrderType>string</OrderType> <JobType>string</JobType> <OrderDate>string</OrderDate> <AccountNumber>string</AccountNumber> <OrderStatus>string</OrderStatus> <PhoneNumber>string</PhoneNumber> <CustomerZipCode>string</CustomerZipCode> <StreetNumber>string</StreetNumber> <ScheduleStartDate>string</ScheduleStartDate> <CompletedOnDate>string</CompletedOnDate> <LastModifiedDate>string</LastModifiedDate> <AssignedToTeamID>string</AssignedToTeamID> <AssignedToSubID>string</AssignedToSubID> <SalesPerson>string</SalesPerson> <DateRangeSearch> <OrderDateBegin>string</OrderDateBegin> <OrderDateEnd>string</OrderDateEnd> <ScheduleDateBegin>string</ScheduleDateBegin> <ScheduleDateEnd>string</ScheduleDateEnd> <CompletedOnDateBegin>string</CompletedOnDateBegin> <CompletedOnDateEnd>string</CompletedOnDateEnd> <LastModifiedDateBegin>string</LastModifiedDateBegin> <LastModifiedDateEnd>string</LastModifiedDateEnd> </DateRangeSearch> <sortResultsBy>AccountNumber or AssignedToSubID or AssignedToTeamID or CompletedOnDate or CustomerFirstName or CustomerLastName or JobNumber or JobType or OrderDate or OrderID or OrderStatus or OrderType or SalesPerson or ScheduleStartDate</sortResultsBy> <CustomerIDNumber>string</CustomerIDNumber> <SecondaryStatus>string</SecondaryStatus> <isClosed>SearchOpenOrdersOnly or SearchClosedOrdersOnly or SearchAllOrders</isClosed> <CompletedByName>string</CompletedByName> <AdCode>string</AdCode> <BillingMethod>string</BillingMethod> <HasFiles>string</HasFiles> <PaperWorkBox>string</PaperWorkBox> <BillingAccountNumber>string</BillingAccountNumber> <Address2>string</Address2> <BillingAddress2>string</BillingAddress2> <ShippingAddress2>string</ShippingAddress2> <MiddleName>string</MiddleName> <AltMiddleName>string</AltMiddleName> <department>string</department> </mySearchCriteria> </SearchOrders> </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> <SearchOrdersResponse xmlns="http://secure.probusinesstools.com/publicWebServices"> <SearchOrdersResult> <OrderSearchResults> <internalOrderID>string</internalOrderID> <JobNumber>string</JobNumber> <OrderDate>string</OrderDate> <ScheduleDate>string</ScheduleDate> <CompletedOnDate>string</CompletedOnDate> <LastModifiedDate>string</LastModifiedDate> </OrderSearchResults> <OrderSearchResults> <internalOrderID>string</internalOrderID> <JobNumber>string</JobNumber> <OrderDate>string</OrderDate> <ScheduleDate>string</ScheduleDate> <CompletedOnDate>string</CompletedOnDate> <LastModifiedDate>string</LastModifiedDate> </OrderSearchResults> </SearchOrdersResult> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> </SearchOrdersResponse> </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 /publicwebservices/probusinesstools.asmx HTTP/1.1 Host: secure.probusinesstools.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> <SearchOrders xmlns="http://secure.probusinesstools.com/publicWebServices"> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> <mySearchCriteria> <InternalOrderID>string</InternalOrderID> <JobNumber>string</JobNumber> <CustomerFirstName>string</CustomerFirstName> <CustomerLastName>string</CustomerLastName> <OrderType>string</OrderType> <JobType>string</JobType> <OrderDate>string</OrderDate> <AccountNumber>string</AccountNumber> <OrderStatus>string</OrderStatus> <PhoneNumber>string</PhoneNumber> <CustomerZipCode>string</CustomerZipCode> <StreetNumber>string</StreetNumber> <ScheduleStartDate>string</ScheduleStartDate> <CompletedOnDate>string</CompletedOnDate> <LastModifiedDate>string</LastModifiedDate> <AssignedToTeamID>string</AssignedToTeamID> <AssignedToSubID>string</AssignedToSubID> <SalesPerson>string</SalesPerson> <DateRangeSearch> <OrderDateBegin>string</OrderDateBegin> <OrderDateEnd>string</OrderDateEnd> <ScheduleDateBegin>string</ScheduleDateBegin> <ScheduleDateEnd>string</ScheduleDateEnd> <CompletedOnDateBegin>string</CompletedOnDateBegin> <CompletedOnDateEnd>string</CompletedOnDateEnd> <LastModifiedDateBegin>string</LastModifiedDateBegin> <LastModifiedDateEnd>string</LastModifiedDateEnd> </DateRangeSearch> <sortResultsBy>AccountNumber or AssignedToSubID or AssignedToTeamID or CompletedOnDate or CustomerFirstName or CustomerLastName or JobNumber or JobType or OrderDate or OrderID or OrderStatus or OrderType or SalesPerson or ScheduleStartDate</sortResultsBy> <CustomerIDNumber>string</CustomerIDNumber> <SecondaryStatus>string</SecondaryStatus> <isClosed>SearchOpenOrdersOnly or SearchClosedOrdersOnly or SearchAllOrders</isClosed> <CompletedByName>string</CompletedByName> <AdCode>string</AdCode> <BillingMethod>string</BillingMethod> <HasFiles>string</HasFiles> <PaperWorkBox>string</PaperWorkBox> <BillingAccountNumber>string</BillingAccountNumber> <Address2>string</Address2> <BillingAddress2>string</BillingAddress2> <ShippingAddress2>string</ShippingAddress2> <MiddleName>string</MiddleName> <AltMiddleName>string</AltMiddleName> <department>string</department> </mySearchCriteria> </SearchOrders> </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> <SearchOrdersResponse xmlns="http://secure.probusinesstools.com/publicWebServices"> <SearchOrdersResult> <OrderSearchResults> <internalOrderID>string</internalOrderID> <JobNumber>string</JobNumber> <OrderDate>string</OrderDate> <ScheduleDate>string</ScheduleDate> <CompletedOnDate>string</CompletedOnDate> <LastModifiedDate>string</LastModifiedDate> </OrderSearchResults> <OrderSearchResults> <internalOrderID>string</internalOrderID> <JobNumber>string</JobNumber> <OrderDate>string</OrderDate> <ScheduleDate>string</ScheduleDate> <CompletedOnDate>string</CompletedOnDate> <LastModifiedDate>string</LastModifiedDate> </OrderSearchResults> </SearchOrdersResult> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> </SearchOrdersResponse> </soap12:Body> </soap12:Envelope>