Reference for https://gnet.grdd.net/Platform.svc/providerUpdateStatusByTransactionId/{TRANSACTIONID}/{VERSION}
Providers who have received reservations from Affiliate Partners or Distribution channels will need to provide real-time status updates by calling this service
Url: https://gnet.grdd.net/Platform.svc/providerUpdateStatusByTransactionId/{TRANSACTIONID}/{VERSION}
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Request | Json | Example |
| Response | Xml | Example |
| Response | Json | Example |
The following is an example request Xml body:
<statusUpdateObj xmlns="http://schemas.datacontract.org/2004/07/PlatformSvc.NSproviderUpdate">
<LocalTimestamp>String content</LocalTimestamp>
<UTCtimestamp>String content</UTCtimestamp>
<chauffeur>
<chauffeurId>String content</chauffeurId>
<email>String content</email>
<firstName>String content</firstName>
<lastName>String content</lastName>
<phoneNumber>String content</phoneNumber>
<picURL>String content</picURL>
</chauffeur>
<fees>
<statFee>
<code>String content</code>
<currency>String content</currency>
<description>String content</description>
<fee>String content</fee>
<percent>String content</percent>
<reimbursable>String content</reimbursable>
<type>String content</type>
</statFee>
<statFee>
<code>String content</code>
<currency>String content</currency>
<description>String content</description>
<fee>String content</fee>
<percent>String content</percent>
<reimbursable>String content</reimbursable>
<type>String content</type>
</statFee>
</fees>
<griddID>String content</griddID>
<lat>String content</lat>
<lon>String content</lon>
<note>String content</note>
<requesterResNo>String content</requesterResNo>
<resNo>String content</resNo>
<status>String content</status>
<totalAmount>String content</totalAmount>
<transactionId>String content</transactionId>
<vehicle>
<make>String content</make>
<mileage>String content</mileage>
<model>String content</model>
<passengerCount>String content</passengerCount>
<plateNo>String content</plateNo>
<vColor>String content</vColor>
<vehicleId>String content</vehicleId>
<vehicleType>String content</vehicleType>
<vin>String content</vin>
<year>String content</year>
</vehicle>
</statusUpdateObj>
The following is an example request Json body:
{
"LocalTimestamp":"String content",
"UTCtimestamp":"String content",
"chauffeur":{
"chauffeurId":"String content",
"email":"String content",
"firstName":"String content",
"lastName":"String content",
"phoneNumber":"String content",
"picURL":"String content"
},
"fees":[{
"code":"String content",
"currency":"String content",
"description":"String content",
"fee":"String content",
"percent":"String content",
"reimbursable":"String content",
"type":"String content"
}],
"griddID":"String content",
"lat":"String content",
"lon":"String content",
"note":"String content",
"requesterResNo":"String content",
"resNo":"String content",
"status":"String content",
"totalAmount":"String content",
"transactionId":"String content",
"vehicle":{
"make":"String content",
"mileage":"String content",
"model":"String content",
"passengerCount":"String content",
"plateNo":"String content",
"vColor":"String content",
"vehicleId":"String content",
"vehicleType":"String content",
"vin":"String content",
"year":"String content"
}
}
The following is an example response Xml body:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">String content</string>
The following is an example response Json body:
"String content"
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/PlatformSvc.NSproviderUpdate" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PlatformSvc.NSproviderUpdate" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="statusUpdateObj">
<xs:sequence>
<xs:element minOccurs="0" name="LocalTimestamp" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="UTCtimestamp" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="chauffeur" nillable="true" type="tns:Chauffeur" />
<xs:element minOccurs="0" name="fees" nillable="true" type="tns:ArrayOfstatFee" />
<xs:element minOccurs="0" name="griddID" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="lat" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="lon" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="note" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="requesterResNo" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="resNo" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="status" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="totalAmount" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="transactionId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="vehicle" nillable="true" type="tns:Vehicle" />
</xs:sequence>
</xs:complexType>
<xs:element name="statusUpdateObj" nillable="true" type="tns:statusUpdateObj" />
<xs:complexType name="Chauffeur">
<xs:sequence>
<xs:element minOccurs="0" name="chauffeurId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="firstName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="lastName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="phoneNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="picURL" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Chauffeur" nillable="true" type="tns:Chauffeur" />
<xs:complexType name="ArrayOfstatFee">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="statFee" nillable="true" type="tns:statFee" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfstatFee" nillable="true" type="tns:ArrayOfstatFee" />
<xs:complexType name="statFee">
<xs:sequence>
<xs:element minOccurs="0" name="code" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="currency" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="description" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="fee" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="percent" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="reimbursable" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="statFee" nillable="true" type="tns:statFee" />
<xs:complexType name="Vehicle">
<xs:sequence>
<xs:element minOccurs="0" name="make" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="mileage" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="model" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="passengerCount" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="plateNo" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="vColor" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="vehicleId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="vehicleType" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="vin" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="year" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Vehicle" nillable="true" type="tns:Vehicle" />
</xs:schema>
Additional request Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
<tns:element name="schema">
<tns:complexType />
</tns:element>
</tns:schema>