POST api/HGInspections/UpdateTransitData
Request Information
URI Parameters
None.
Body Parameters
HGTransitInputName | Description | Type | Additional information |
---|---|---|---|
OrderID |
It represents the unique identifier of a inspection. |
integer |
None. |
RptType |
It represents the report type (P-Home, R-Roof, T-Termite) |
string |
None. |
OrginLatLong |
It represents the orgin Latitude, Longitude => 17.456322, 78.418661 [must be space ( ) after comma (,)]) |
string |
None. |
DestinationLatLong |
It represents the destination address (Latitude, Longitude => 17.456322, 78.418661 [must be space ( ) after comma (,)]) |
string |
None. |
DriveTime |
It represents the drivetime |
decimal number |
None. |
LeavingInTime |
It represents the inspector leaving in time from current location. |
integer |
None. |
Request Formats
application/json
{ "DriveTime": 5, "LeavingInTime": 6, "OrderID": 1, "DestinationLatLong": "sample string 4", "OrginLatLong": "sample string 3", "RptType": "sample string 2" }
application/xml, text/xml
<HGTransitInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.BusinessObjects.Inspection"> <DestinationLatLong>sample string 4</DestinationLatLong> <DriveTime>5</DriveTime> <LeavingInTime>6</LeavingInTime> <OrderID>1</OrderID> <OrginLatLong>sample string 3</OrginLatLong> <RptType>sample string 2</RptType> </HGTransitInput>
application/x-www-form-urlencoded
Response Information
Resource Description
HGTransitModelName | Description | Type | Additional information |
---|---|---|---|
OrderID |
It represents the unique identifier of a inspection. |
integer |
None. |
InTransitGPS |
It represents the orgin Latitude, Longitude |
string |
None. |
InTransitDatetIme |
It represents the transit date time |
string |
None. |
InTransitArrivalTime |
It represents the transit arrival time |
string |
None. |
LeavingInTime |
It represents the inspector leaving in time from current location. |
integer |
None. |
GPS_ExcessTrackTime |
It represents the Excess track time for inspector live location |
string |
None. |
Status |
It represents the status of updation (Success or not) |
string |
None. |
DisplayMessage |
It represents the popup message |
string |
None. |
Response Formats
application/json
{ "LeavingInTime": 5, "OrderID": 1, "DisplayMessage": "sample string 8", "Status": "sample string 7", "GPS_ExcessTrackTime": "sample string 6", "InTransitArrivalTime": "sample string 4", "InTransitDatetIme": "sample string 3", "InTransitGPS": "sample string 2" }
application/xml, text/xml
<HGTransitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeguardApp.BusinessObjects.Inspection"> <DisplayMessage>sample string 8</DisplayMessage> <GPS_ExcessTrackTime>sample string 6</GPS_ExcessTrackTime> <InTransitArrivalTime>sample string 4</InTransitArrivalTime> <InTransitDatetIme>sample string 3</InTransitDatetIme> <InTransitGPS>sample string 2</InTransitGPS> <LeavingInTime>5</LeavingInTime> <OrderID>1</OrderID> <Status>sample string 7</Status> </HGTransitModel>