CM
Click here for a complete list of operations.
ClientSearchAUS
Search for clients in Coach Manager
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 /CM.asmx HTTP/1.1
Host: cmapi.pinnaclecoachlines.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://coachmanager.com/ClientSearchAUS"
<?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>
<ClientSearchAUS xmlns="http://coachmanager.com/">
<SessionKey>string</SessionKey>
<SearchDetails>
<ClientID>string</ClientID>
<FirstName>string</FirstName>
<Surname>string</Surname>
<Initials>string</Initials>
<Company>string</Company>
<Address>string</Address>
<City>string</City>
<State>string</State>
<PostCode>string</PostCode>
<TelNo>string</TelNo>
<Email>string</Email>
<DateCreated>string</DateCreated>
<DateCreatedOperator>GreaterThan or EqualTo or LessThan</DateCreatedOperator>
<LastUpdated>string</LastUpdated>
<LastUpdatedOperator>GreaterThan or EqualTo or LessThan</LastUpdatedOperator>
</SearchDetails>
</ClientSearchAUS>
</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>
<ClientSearchAUSResponse xmlns="http://coachmanager.com/">
<ClientSearchAUSResult>
<Result>Success or Fail</Result>
<ResultDescription>string</ResultDescription>
<Clients>
<AUSClient>
<ClientID>string</ClientID>
<AcceptBookings>boolean</AcceptBookings>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
<FirstName>string</FirstName>
<Salutation>string</Salutation>
<Department>string</Department>
<Company>string</Company>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Postcode>string</Postcode>
<TelNo1>string</TelNo1>
<TelNo1Comment>string</TelNo1Comment>
<TelNo2>string</TelNo2>
<TelNo2Comment>string</TelNo2Comment>
<TelNo3>string</TelNo3>
<TelNo3Comment>string</TelNo3Comment>
<FaxNo>string</FaxNo>
<FaxNoComment>string</FaxNoComment>
<Email>string</Email>
<TemplateQuote>string</TemplateQuote>
<TemplateProvisional>string</TemplateProvisional>
<TemplateFirm>string</TemplateFirm>
<SendLettersVia>Post or Email or Fax</SendLettersVia>
<SendFollowUpEmail>boolean</SendFollowUpEmail>
<ClientDiscountPercentage>decimal</ClientDiscountPercentage>
<BookingType>string</BookingType>
<Livery>string</Livery>
<ApplyVehicleTypeSurcharges>boolean</ApplyVehicleTypeSurcharges>
<DepositRequired>boolean</DepositRequired>
<GSTNumber>string</GSTNumber>
<CreditLimit>int</CreditLimit>
<OverdueDays>int</OverdueDays>
<OverdueFrom>DateOfInvoice or EndOfMonth</OverdueFrom>
<TermsOfTrade>string</TermsOfTrade>
<InvoiceMethod>Daily or Weekly or Monthly or ClientID or Immediate</InvoiceMethod>
<InvoiceType>Individual or Combined</InvoiceType>
<SendInvoiceVia>Post or Email or Fax</SendInvoiceVia>
<Code1>string</Code1>
<Code2>string</Code2>
<Code3>string</Code3>
<Code4>string</Code4>
<Code5>string</Code5>
<Notes>string</Notes>
<Suspend>boolean</Suspend>
<Deleted>boolean</Deleted>
<ClientContactConsents xsi:nil="true" />
<DateCreated>string</DateCreated>
<LastUpdated>string</LastUpdated>
</AUSClient>
<AUSClient>
<ClientID>string</ClientID>
<AcceptBookings>boolean</AcceptBookings>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
<FirstName>string</FirstName>
<Salutation>string</Salutation>
<Department>string</Department>
<Company>string</Company>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Postcode>string</Postcode>
<TelNo1>string</TelNo1>
<TelNo1Comment>string</TelNo1Comment>
<TelNo2>string</TelNo2>
<TelNo2Comment>string</TelNo2Comment>
<TelNo3>string</TelNo3>
<TelNo3Comment>string</TelNo3Comment>
<FaxNo>string</FaxNo>
<FaxNoComment>string</FaxNoComment>
<Email>string</Email>
<TemplateQuote>string</TemplateQuote>
<TemplateProvisional>string</TemplateProvisional>
<TemplateFirm>string</TemplateFirm>
<SendLettersVia>Post or Email or Fax</SendLettersVia>
<SendFollowUpEmail>boolean</SendFollowUpEmail>
<ClientDiscountPercentage>decimal</ClientDiscountPercentage>
<BookingType>string</BookingType>
<Livery>string</Livery>
<ApplyVehicleTypeSurcharges>boolean</ApplyVehicleTypeSurcharges>
<DepositRequired>boolean</DepositRequired>
<GSTNumber>string</GSTNumber>
<CreditLimit>int</CreditLimit>
<OverdueDays>int</OverdueDays>
<OverdueFrom>DateOfInvoice or EndOfMonth</OverdueFrom>
<TermsOfTrade>string</TermsOfTrade>
<InvoiceMethod>Daily or Weekly or Monthly or ClientID or Immediate</InvoiceMethod>
<InvoiceType>Individual or Combined</InvoiceType>
<SendInvoiceVia>Post or Email or Fax</SendInvoiceVia>
<Code1>string</Code1>
<Code2>string</Code2>
<Code3>string</Code3>
<Code4>string</Code4>
<Code5>string</Code5>
<Notes>string</Notes>
<Suspend>boolean</Suspend>
<Deleted>boolean</Deleted>
<ClientContactConsents xsi:nil="true" />
<DateCreated>string</DateCreated>
<LastUpdated>string</LastUpdated>
</AUSClient>
</Clients>
</ClientSearchAUSResult>
</ClientSearchAUSResponse>
</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 /CM.asmx HTTP/1.1
Host: cmapi.pinnaclecoachlines.com.au
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>
<ClientSearchAUS xmlns="http://coachmanager.com/">
<SessionKey>string</SessionKey>
<SearchDetails>
<ClientID>string</ClientID>
<FirstName>string</FirstName>
<Surname>string</Surname>
<Initials>string</Initials>
<Company>string</Company>
<Address>string</Address>
<City>string</City>
<State>string</State>
<PostCode>string</PostCode>
<TelNo>string</TelNo>
<Email>string</Email>
<DateCreated>string</DateCreated>
<DateCreatedOperator>GreaterThan or EqualTo or LessThan</DateCreatedOperator>
<LastUpdated>string</LastUpdated>
<LastUpdatedOperator>GreaterThan or EqualTo or LessThan</LastUpdatedOperator>
</SearchDetails>
</ClientSearchAUS>
</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>
<ClientSearchAUSResponse xmlns="http://coachmanager.com/">
<ClientSearchAUSResult>
<Result>Success or Fail</Result>
<ResultDescription>string</ResultDescription>
<Clients>
<AUSClient>
<ClientID>string</ClientID>
<AcceptBookings>boolean</AcceptBookings>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
<FirstName>string</FirstName>
<Salutation>string</Salutation>
<Department>string</Department>
<Company>string</Company>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Postcode>string</Postcode>
<TelNo1>string</TelNo1>
<TelNo1Comment>string</TelNo1Comment>
<TelNo2>string</TelNo2>
<TelNo2Comment>string</TelNo2Comment>
<TelNo3>string</TelNo3>
<TelNo3Comment>string</TelNo3Comment>
<FaxNo>string</FaxNo>
<FaxNoComment>string</FaxNoComment>
<Email>string</Email>
<TemplateQuote>string</TemplateQuote>
<TemplateProvisional>string</TemplateProvisional>
<TemplateFirm>string</TemplateFirm>
<SendLettersVia>Post or Email or Fax</SendLettersVia>
<SendFollowUpEmail>boolean</SendFollowUpEmail>
<ClientDiscountPercentage>decimal</ClientDiscountPercentage>
<BookingType>string</BookingType>
<Livery>string</Livery>
<ApplyVehicleTypeSurcharges>boolean</ApplyVehicleTypeSurcharges>
<DepositRequired>boolean</DepositRequired>
<GSTNumber>string</GSTNumber>
<CreditLimit>int</CreditLimit>
<OverdueDays>int</OverdueDays>
<OverdueFrom>DateOfInvoice or EndOfMonth</OverdueFrom>
<TermsOfTrade>string</TermsOfTrade>
<InvoiceMethod>Daily or Weekly or Monthly or ClientID or Immediate</InvoiceMethod>
<InvoiceType>Individual or Combined</InvoiceType>
<SendInvoiceVia>Post or Email or Fax</SendInvoiceVia>
<Code1>string</Code1>
<Code2>string</Code2>
<Code3>string</Code3>
<Code4>string</Code4>
<Code5>string</Code5>
<Notes>string</Notes>
<Suspend>boolean</Suspend>
<Deleted>boolean</Deleted>
<ClientContactConsents xsi:nil="true" />
<DateCreated>string</DateCreated>
<LastUpdated>string</LastUpdated>
</AUSClient>
<AUSClient>
<ClientID>string</ClientID>
<AcceptBookings>boolean</AcceptBookings>
<Title>string</Title>
<Initials>string</Initials>
<Surname>string</Surname>
<FirstName>string</FirstName>
<Salutation>string</Salutation>
<Department>string</Department>
<Company>string</Company>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Postcode>string</Postcode>
<TelNo1>string</TelNo1>
<TelNo1Comment>string</TelNo1Comment>
<TelNo2>string</TelNo2>
<TelNo2Comment>string</TelNo2Comment>
<TelNo3>string</TelNo3>
<TelNo3Comment>string</TelNo3Comment>
<FaxNo>string</FaxNo>
<FaxNoComment>string</FaxNoComment>
<Email>string</Email>
<TemplateQuote>string</TemplateQuote>
<TemplateProvisional>string</TemplateProvisional>
<TemplateFirm>string</TemplateFirm>
<SendLettersVia>Post or Email or Fax</SendLettersVia>
<SendFollowUpEmail>boolean</SendFollowUpEmail>
<ClientDiscountPercentage>decimal</ClientDiscountPercentage>
<BookingType>string</BookingType>
<Livery>string</Livery>
<ApplyVehicleTypeSurcharges>boolean</ApplyVehicleTypeSurcharges>
<DepositRequired>boolean</DepositRequired>
<GSTNumber>string</GSTNumber>
<CreditLimit>int</CreditLimit>
<OverdueDays>int</OverdueDays>
<OverdueFrom>DateOfInvoice or EndOfMonth</OverdueFrom>
<TermsOfTrade>string</TermsOfTrade>
<InvoiceMethod>Daily or Weekly or Monthly or ClientID or Immediate</InvoiceMethod>
<InvoiceType>Individual or Combined</InvoiceType>
<SendInvoiceVia>Post or Email or Fax</SendInvoiceVia>
<Code1>string</Code1>
<Code2>string</Code2>
<Code3>string</Code3>
<Code4>string</Code4>
<Code5>string</Code5>
<Notes>string</Notes>
<Suspend>boolean</Suspend>
<Deleted>boolean</Deleted>
<ClientContactConsents xsi:nil="true" />
<DateCreated>string</DateCreated>
<LastUpdated>string</LastUpdated>
</AUSClient>
</Clients>
</ClientSearchAUSResult>
</ClientSearchAUSResponse>
</soap12:Body>
</soap12:Envelope>