UNPKG

vw-carnet

Version:

Node package to connect to VW Carnet SOAP service

35 lines (34 loc) 1.63 kB
<?xml version="1.0" encoding="utf-8" ?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://ns.hughestelematics.com/Gateway/service/PreTripClimatisationService" xmlns:v1="http://xmlns.hughestelematics.com/Gateway/PreTripClimatisation/V1" xmlns:hv1="http://xmlns.hughestelematics.com/Gateway/Common/Header/V1"> <env:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/06/secext"> <wsse:UsernameToken xmlns:wsu="http://schemas.xmlsoap.org/ws/2003/06/utility" wsu:Id="sample"> <wsse:Username>{{sessionKey}}</wsse:Username> </wsse:UsernameToken> </wsse:Security> </env:Header> <env:Body> <ser:GetJobStatus> <v1:GetJobStatusRequest> <v1:Data> <v1:VIN>{{VIN}}</v1:VIN> <v1:AccountId>{{AccountID}}</v1:AccountId> <v1:TCUID>{{TCUID}}</v1:TCUID> <!-- tartRpc/stopRpc/startWindowHeating/stopWindowHeating/setRpc--> <v1:requestType>{{requestType}}</v1:requestType> <v1:EventTransId>{{originalTransactionID}}</v1:EventTransId> </v1:Data> <v1:Header> <hv1:SourceName>{sourceName}</hv1:SourceName> <hv1:Organization>{organization}</hv1:Organization> <hv1:TransactionId>{transactionID}</hv1:TransactionId> <hv1:Region>{region}</hv1:Region> <hv1:Timestamp>{timestamp}</hv1:Timestamp> <hv1:TargetName>{targetName}</hv1:TargetName> <hv1:ApplicationName>{applicationName}</hv1:ApplicationName> </v1:Header> </v1:GetJobStatusRequest> </ser:GetJobStatus> </env:Body> </env:Envelope>