GET api/GetTripLegDetails/{strTripId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
strTripId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LegDtls
NameDescriptionTypeAdditional information
OrderOfLegs

integer

None.

RoutePathID

integer

None.

Source

string

None.

Destination

string

None.

ArrivalTime

date

None.

CreatedDateTime

date

None.

ModifiedDateTime

date

None.

DepartureTime

date

None.

ModifiedUser

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderOfLegs": 1,
    "RoutePathID": 2,
    "Source": "sample string 3",
    "Destination": "sample string 4",
    "ArrivalTime": "2025-07-17T14:11:02.9772505+05:30",
    "CreatedDateTime": "2025-07-17T14:11:02.9772505+05:30",
    "ModifiedDateTime": "2025-07-17T14:11:02.9772505+05:30",
    "DepartureTime": "2025-07-17T14:11:02.9772505+05:30",
    "ModifiedUser": "sample string 9"
  },
  {
    "OrderOfLegs": 1,
    "RoutePathID": 2,
    "Source": "sample string 3",
    "Destination": "sample string 4",
    "ArrivalTime": "2025-07-17T14:11:02.9772505+05:30",
    "CreatedDateTime": "2025-07-17T14:11:02.9772505+05:30",
    "ModifiedDateTime": "2025-07-17T14:11:02.9772505+05:30",
    "DepartureTime": "2025-07-17T14:11:02.9772505+05:30",
    "ModifiedUser": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLegDtls xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmixAPI.Models">
  <LegDtls>
    <ArrivalTime>2025-07-17T14:11:02.9772505+05:30</ArrivalTime>
    <CreatedDateTime>2025-07-17T14:11:02.9772505+05:30</CreatedDateTime>
    <DepartureTime>2025-07-17T14:11:02.9772505+05:30</DepartureTime>
    <Destination>sample string 4</Destination>
    <ModifiedDateTime>2025-07-17T14:11:02.9772505+05:30</ModifiedDateTime>
    <ModifiedUser>sample string 9</ModifiedUser>
    <OrderOfLegs>1</OrderOfLegs>
    <RoutePathID>2</RoutePathID>
    <Source>sample string 3</Source>
  </LegDtls>
  <LegDtls>
    <ArrivalTime>2025-07-17T14:11:02.9772505+05:30</ArrivalTime>
    <CreatedDateTime>2025-07-17T14:11:02.9772505+05:30</CreatedDateTime>
    <DepartureTime>2025-07-17T14:11:02.9772505+05:30</DepartureTime>
    <Destination>sample string 4</Destination>
    <ModifiedDateTime>2025-07-17T14:11:02.9772505+05:30</ModifiedDateTime>
    <ModifiedUser>sample string 9</ModifiedUser>
    <OrderOfLegs>1</OrderOfLegs>
    <RoutePathID>2</RoutePathID>
    <Source>sample string 3</Source>
  </LegDtls>
</ArrayOfLegDtls>