Update a travel itinerary reservation

patch

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

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Expense Travel Itineraries resource and used to uniquely identify an instance of Expense Travel Itineraries. The client should not generate the hash key value. Instead, the client should query on the Expense Travel Itineraries collection resource in order to navigate to a specific instance of Expense Travel Itineraries to get the hash key.
  • This is the hash key of the attributes which make up the composite key for the Expense Travel Itinerary Reservations resource and used to uniquely identify an instance of Expense Travel Itinerary Reservations. The client should not generate the hash key value. Instead, the client should query on the Expense Travel Itinerary Reservations collection resource in order to navigate to a specific instance of Expense Travel Itinerary Reservations to get the hash key.
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Expense Travel Itinerary Reservation Items
Type: array
Title: Expense Travel Itinerary Reservation Items
The expense reservation items resource is used to get travel reservation item information from third-party travel partner sites.
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : expenseTravelItineraries-itineraryReservations-item-response
Type: object
Show Source
Nested Schema : Expense Travel Itinerary Reservation Items
Type: array
Title: Expense Travel Itinerary Reservation Items
The expense reservation items resource is used to get travel reservation item information from third-party travel partner sites.
Show Source
Nested Schema : expenseTravelItineraries-itineraryReservations-reservationItems-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a travel itinerary reservation 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/300100211820674/child/itineraryReservations/300100211820675

Example Request Body

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

{
	"StartDateTime" : "2020-11-09T12:35:00",
	"EndDateTime" : "2020-11-13T14:00:00"
}

Example Response Body

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

{
	"ItineraryReservationId" : 300100211820675,
	"HotelLocationCode" : null,
	"PickupLocationCode" : "JFK",
	"ReturnLocationCode" : "JFK",
	"TravelItineraryId" : 300100211820674,
	"ConfirmationNumber" : "55",
	"ReservationType" : "Hotel",
	"CurrencyCode" : "USD",
	"Amount" : 719.86,
	"TotalTax" : null,
	"TotalAmount" : 719.86,
	"LowerAmount" : null,
	"MerchantCode" : "CP",
	"MerchantName" : "Crowne Plaza Englewood",
	"HotelCode" : null,
	"StartDateTime" : "2020-11-09T12:35:00",
	"EndDateTime" : "2020-11-13T14:00:00",
	"NumberOfRooms" : null,
	"RoomCode" : null,
	"BaseRate" : null,
	"RateDetails" : null,
	"NumberOfGuests" : null,
	"AddressLine1" : null,
	"AddressLine2" : null,
	"AddressLine3" : null,
	"AddressLine4" : null,
	"ContactNumber1" : null,
	"ContactNumber2" : null,
	"ContactNumber3" : null,
	"ContactNumber4" : null,
	"HotelCity" : "JFK",
	"HotelState" : null,
	"HotelStateCode" : null,
	"HotelCountry" : null,
	"HotelCountryCode" : null,
	"VehicleType" : "LARGE",
	"PickupCity" : "Englewood",
	"PickupState" : "New Jersey",
	"PickupStateCode" : "NJ",
	"PickupCountry" : "USA",
	"PickupCountryCode" : "US",
	"ReturnCity" : "New York",
	"ReturnState" : "NEW YORK",
	"ReturnStateCode" : "JFX",
	"ReturnCountry" : "USA",
	"ReturnCountryCode" : "US",
	"PolicyViolation" : null,
	"PolicyJustification" : null,
	"CreationDate" : "2020-11-09T07:23:13.060+00:00",
	"CreatedBy" : "travel.admin1@oracle.com",
	"LastUpdateDate" : "2020-11-09T07:31:27+00:00",
	"LastUpdatedBy" : "travel.admin1@oracle.com",
	"LastUpdateLogin" : "B22263854D9DD56DE0532988F40A8143",
	"CancelledFlag" : null,
	"links" : [ 
	{
		"rel" : "self",
		"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211820674/child/itineraryReservations/300100211820675",
		"name" : "itineraryReservations",
		"kind" : "item",
		"properties" : {
		"changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
		}
	}, 
	{
		"rel" : "canonical",
		"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211820674/child/itineraryReservations/300100211820675",
		"name" : "itineraryReservations",
		"kind" : "item"
	}, 
	{
		"rel" : "parent",
		"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211820674",
		"name" : "expenseTravelItineraries",
		"kind" : "item"
	}, 
	{
		"rel" : "child",
		"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/expenseTravelItineraries/300100211820674/child/itineraryReservations/300100211820675/child/reservationItems",
		"name" : "reservationItems",
		"kind" : "collection"
	} 
	]
}
Back to Top