Update a travel itinerary reservation item

patch

/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/{expenseTravelItinerariesUniqID}/child/itineraryReservations/{itineraryReservationsUniqID}/child/reservationItems/{reservationItemsUniqID}

Request

Supported Media Types
Path Parameters
Body ()
The following table describes the body parameters in the request for this task.
Root Schema : expenseTravelItineraries-itineraryReservations-reservationItems-item
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Body ()
Root Schema : expenseTravelItineraries-itineraryReservations-reservationItems-item
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a travel itinerary reservation item by submitting a PATCH request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211867023/child/itineraryReservations/300100211867024/child/reservationItems/300100211867025

Example Request Body

The following example shows the contents of the request body in JSON format:

{
    "NumberInParty": 2
}

Example Response Body

The following example shows the contents of the response body in JSON format:

{
	"ReservationItemId" : 300100211867025,
	"ReservationGlobalDistributionCode" : null,
	"NumberInParty" : 2,
	"ItineraryReservationId" : 300100211867024,
	"ItemConfirmationNumber" : "233",
	"MarketAirlineCode" : "HA",
	"OperatingAirlineCode" : null,
	"OperatingAirlineName" : null,
	"FlightNumber" : null,
	"AircraftTypeCode" : null,
	"FareClass" : "Coach",
	"TrainNumber" : "123",
	"RailVendorCode" : null,
	"ConnectionTypeCode" : null,
	"DepartureLocationName" : "Honolulu International",
	"DepartureLocationCode" : "HNL",
	"DepartureDateTime" : "2020-10-09T12:35:00",
	"DepartureCity" : "Honolulu",
	"DepartureState" : "Hawaii",
	"DepartureStateCode" : "HI",
	"DepartureCountry" : "USA",
	"DepartureCountryCode" : "US",
	"ArrivalLocationName" : "Metropolitan Oakland International",
	"ArrivalLocationCode" : "OAK",
	"ArrivalDateTime" : "2020-10-09T20:55:00",
	"ArrivalCity" : "Oakland",
	"ArrivalState" : "California",
	"ArrivalStateCode" : "CA",
	"ArrivalCountry" : "USA",
	"ArrivalCountryCode" : "US",
	"PolicyViolation" : null,
	"CreationDate" : "2020-11-10T06:57:49.043+00:00",
	"CreatedBy" : "travel.admin1@oracle.com",
	"LastUpdateDate" : "2020-11-13T05:43:37+00:00",
	"LastUpdateLogin" : "B222839FD5B2D57FE0532988F40A915B",
	"LastUpdatedBy" : "travel.admin1@oracle.com",
	"CancelledFlag" : null,
	"links" : [ 
	{
		"rel" : "self",
		"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211867023/child/itineraryReservations/300100211867024/child/reservationItems/300100211867025",
		"name" : "reservationItems",
		"kind" : "item",
		"properties" : {
		"changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
		}
	}, 
	{
		"rel" : "canonical",
		"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211867023/child/itineraryReservations/300100211867024/child/reservationItems/300100211867025",
		"name" : "reservationItems",
		"kind" : "item"
	}, 
	{
		"rel" : "parent",
		"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211867023/child/itineraryReservations/300100211867024",
		"name" : "itineraryReservations",
		"kind" : "item"
	} ]
}
Back to Top