ESAService
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
ProcessVehicle
ESA’s Interactive Vehicle Data Request Interface accepts a VIN input and provides and returns the vehicle details for that VIN. This interface introduces a “Get” and a “Show” BOD
Test
Das Testformular ist nur für Anforderungen vom lokalen Computer verfügbar.SOAP 1.1
Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /V2/ESAService.asmx HTTP/1.1 Host: service.casp.fair-computer.de Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://casp.fair-computer.de/2013/ProcessVehicle" <?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> <payloadManifest xmlns="http://www.starstandards.org/webservices/2009/transport"> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> </payloadManifest> </soap:Header> <soap:Body> <ProcessVehicleRequest xmlns="https://casp.fair-computer.de/2013"> <payload> <content id="token"> <GetVehicleDataRetrieval> <GetVehicleDataDataArea xsi:nil="true" /> </GetVehicleDataRetrieval> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> </content> <content id="token"> <GetVehicleDataRetrieval> <GetVehicleDataDataArea xsi:nil="true" /> </GetVehicleDataRetrieval> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> </content> </payload> </ProcessVehicleRequest> </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:Header> <payloadManifest xmlns="http://www.starstandards.org/webservices/2009/transport"> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> </payloadManifest> </soap:Header> <soap:Body> <ProcessVehicleResponse xmlns="https://casp.fair-computer.de/2013"> <payload> <content> <ShowVehicleDataContent id="token"> <ShowVehicleData xsi:nil="true" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> </ShowVehicleDataContent> <ShowVehicleDataContent id="token"> <ShowVehicleData xsi:nil="true" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> </ShowVehicleDataContent> </content> </payload> </ProcessVehicleResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /V2/ESAService.asmx HTTP/1.1 Host: service.casp.fair-computer.de 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> <payloadManifest xmlns="http://www.starstandards.org/webservices/2009/transport"> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> </payloadManifest> </soap12:Header> <soap12:Body> <ProcessVehicleRequest xmlns="https://casp.fair-computer.de/2013"> <payload> <content id="token"> <GetVehicleDataRetrieval> <GetVehicleDataDataArea xsi:nil="true" /> </GetVehicleDataRetrieval> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> </content> <content id="token"> <GetVehicleDataRetrieval> <GetVehicleDataDataArea xsi:nil="true" /> </GetVehicleDataRetrieval> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> <attachment xmlns="http://www.openapplications.org/oagis/9"> <id>token</id> <fileName>string</fileName> <attachmentData>base64Binary</attachmentData> <mimeCode>string</mimeCode> <uriReference>anyURI</uriReference> </attachment> </content> </payload> </ProcessVehicleRequest> </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:Header> <payloadManifest xmlns="http://www.starstandards.org/webservices/2009/transport"> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> <manifest contentID="token" namespaceURI="anyURI" element="string" relatedID="string" version="string" /> </payloadManifest> </soap12:Header> <soap12:Body> <ProcessVehicleResponse xmlns="https://casp.fair-computer.de/2013"> <payload> <content> <ShowVehicleDataContent id="token"> <ShowVehicleData xsi:nil="true" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> </ShowVehicleDataContent> <ShowVehicleDataContent id="token"> <ShowVehicleData xsi:nil="true" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> <attachment xsi:nil="true" xmlns="http://www.openapplications.org/oagis/9" /> </ShowVehicleDataContent> </content> </payload> </ProcessVehicleResponse> </soap12:Body> </soap12:Envelope>