vw-carnet
Version:
Node package to connect to VW Carnet SOAP service
31 lines • 1.46 kB
text/xml
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://ns.hughestelematics.com/Gateway/service/TripStatisticsService" xmlns:v1="http://xmlns.hughestelematics.com/Gateway/TripStatistics/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:GetLastTripReport>
<v1:QueryTripDetails>
<v1:Data>
<v1:TCUID>{{TCUID}}</v1:TCUID>
<v1:AccountId>{{AccountID}}</v1:AccountId>
<v1:VIN>{{VIN}}</v1:VIN>
<v1:TripType>LastTrip</v1:TripType>
</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:QueryTripDetails>
</ser:GetLastTripReport>
</env:Body>
</env:Envelope>