csi
Click here for a complete list of operations.
SetAppointment2
This will allow you to save appointments and send email to customer, call center and shop automatically. This is the second version recommended for use. I kept the first version to allow time for other users of the web service to upgrade to using this WebMethod.
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 /csi.asmx HTTP/1.1
Host: bodyshops.collisionrepairexperts.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://bodyshops.collisionrepairexperts.com/SetAppointment2"
<?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:Header>
<AuthHeader xmlns="http://bodyshops.collisionrepairexperts.com/">
<Username>string</Username>
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<SetAppointment2 xmlns="http://bodyshops.collisionrepairexperts.com/">
<ShopId>string</ShopId>
<CustomerFname>string</CustomerFname>
<CustomerLname>string</CustomerLname>
<PrimaryPhone>string</PrimaryPhone>
<SecondaryPhone>string</SecondaryPhone>
<Year>string</Year>
<Make>string</Make>
<Model>string</Model>
<InsuranceCompany>string</InsuranceCompany>
<AppointmentDate>string</AppointmentDate>
<AppointmentTime>string</AppointmentTime>
<Referral>string</Referral>
<Email>string</Email>
<DamageArea>string</DamageArea>
<Comment>string</Comment>
<IPAddress>string</IPAddress>
</SetAppointment2>
</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>
<SetAppointment2Response xmlns="http://bodyshops.collisionrepairexperts.com/">
<SetAppointment2Result>boolean</SetAppointment2Result>
</SetAppointment2Response>
</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 /csi.asmx HTTP/1.1
Host: bodyshops.collisionrepairexperts.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:Header>
<AuthHeader xmlns="http://bodyshops.collisionrepairexperts.com/">
<Username>string</Username>
<Password>string</Password>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<SetAppointment2 xmlns="http://bodyshops.collisionrepairexperts.com/">
<ShopId>string</ShopId>
<CustomerFname>string</CustomerFname>
<CustomerLname>string</CustomerLname>
<PrimaryPhone>string</PrimaryPhone>
<SecondaryPhone>string</SecondaryPhone>
<Year>string</Year>
<Make>string</Make>
<Model>string</Model>
<InsuranceCompany>string</InsuranceCompany>
<AppointmentDate>string</AppointmentDate>
<AppointmentTime>string</AppointmentTime>
<Referral>string</Referral>
<Email>string</Email>
<DamageArea>string</DamageArea>
<Comment>string</Comment>
<IPAddress>string</IPAddress>
</SetAppointment2>
</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>
<SetAppointment2Response xmlns="http://bodyshops.collisionrepairexperts.com/">
<SetAppointment2Result>boolean</SetAppointment2Result>
</SetAppointment2Response>
</soap12:Body>
</soap12:Envelope>