POST v1/Trip/UpdateTripName

Request Information

URI Parameters

None.

Body Parameters

UpdateTripName
NameDescriptionTypeAdditional information
GUID

string

None.

TripName

string

None.

Vuserid

string

None.

PccCode

string

None.

UserId

integer

None.

AccountID

string

None.

UserName

string

None.

ApplicationDomain

ApplicationDomain

None.

guid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GUID": "sample string 1",
  "TripName": "sample string 2",
  "Vuserid": "sample string 3",
  "PccCode": "sample string 4",
  "UserId": 5,
  "AccountID": "sample string 6",
  "UserName": "sample string 7",
  "ApplicationDomain": 0,
  "guid": "sample string 8"
}

application/xml, text/xml

Sample:
<UpdateTripName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.TripSummary">
  <AccountID xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 6</AccountID>
  <ApplicationDomain xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">GTL</ApplicationDomain>
  <PccCode xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</PccCode>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">5</UserId>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 7</UserName>
  <Vuserid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</Vuserid>
  <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 8</guid>
  <GUID>sample string 1</GUID>
  <TripName>sample string 2</TripName>
</UpdateTripName>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

guid

string

None.

PNR

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "guid": "sample string 3",
  "PNR": "sample string 4"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <PNR>sample string 4</PNR>
  <guid>sample string 3</guid>
</Response>