GET api/TripPoints/{id}

Get details for Trip Point specified by ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Unique Trip Point ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

TripPointReportDetails()

TripPointReportDetails
NameDescriptionTypeAdditional information
tripPointID

integer

None.

tripPointName

string

None.

tripPointType

integer

None.

tripPointAddress

string

None.

tripPointSuburb

string

None.

tripPointState

string

None.

tripPoinPostcode

string

None.

tripPointCoords1

string

None.

tripPointCoords2

string

None.

Response Formats

application/json, text/json

Sample:
{
  "tripPointID": 707,
  "tripPointName": "sample string 2",
  "tripPointType": 534,
  "tripPointAddress": "sample string 3",
  "tripPointSuburb": "sample string 4",
  "tripPointState": "sample string 5",
  "tripPoinPostcode": "sample string 6",
  "tripPointCoords1": "sample string 7",
  "tripPointCoords2": "sample string 8"
}

application/xml, text/xml

Sample:
<TripPointReportDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Turnpoint.Controllers">
  <tripPoinPostcode>sample string 6</tripPoinPostcode>
  <tripPointAddress>sample string 3</tripPointAddress>
  <tripPointCoords1>sample string 7</tripPointCoords1>
  <tripPointCoords2>sample string 8</tripPointCoords2>
  <tripPointID>707</tripPointID>
  <tripPointName>sample string 2</tripPointName>
  <tripPointState>sample string 5</tripPointState>
  <tripPointSuburb>sample string 4</tripPointSuburb>
  <tripPointType>534</tripPointType>
</TripPointReportDetails>