vw-carnet
Version:
Node package to connect to VW Carnet SOAP service
35 lines (34 loc) • 1.63 kB
text/xml
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bc="http://ns.hughestelematics.com/Gateway/service/BatteryChargingService" xmlns:hv1="http://xmlns.hughestelematics.com/Gateway/Common/Header/V1"
xmlns:bcv1="http://xmlns.hughestelematics.com/Gateway/BatteryCharging/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>
<bc:GetJobStatus>
<bcv1:GetJobStatusRequest>
<bcv1:Data>
<bcv1:VIN>{{VIN}}</bcv1:VIN>
<bcv1:AccountId>{{AccountID}}</bcv1:AccountId>
<bcv1:TCUID>{{TCUID}}</bcv1:TCUID>
<!-- startRbc/stopRbc/unlockChargePlug/setRbc-->
<bcv1:requestType>{{requestType}}</bcv1:requestType>
<bcv1:EventTransId>{{originalTransactionID}}</bcv1:EventTransId>
</bcv1:Data>
<bcv1: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>
</bcv1:Header>
</bcv1:GetJobStatusRequest>
</bc:GetJobStatus>
</env:Body>
</env:Envelope>