POST v1/Travefy/UpdateUser

Request Information

URI Parameters

None.

Body Parameters

CreateTravefyUser
NameDescriptionTypeAdditional information
User

User

None.

AgentSubscriptionLevel

integer

None.

DisableWelcomeEmail

boolean

None.

PartnerIdentifier

string

None.

Vuserid

string

None.

PccCode

string

None.

UserId

integer

None.

AccountID

string

None.

UserName

string

None.

ApplicationDomain

ApplicationDomain

None.

guid

string

None.

DeviceType

DeviceType

None.

Request Formats

application/json, text/json

Sample:
{
  "User": {
    "Username": "sample string 1",
    "FullName": "sample string 2",
    "ImageUrl": "sample string 3",
    "Title": "sample string 4",
    "Phone": "sample string 5",
    "Url": "sample string 6",
    "CompanyLogoUrl": "sample string 7",
    "IsAgent": true
  },
  "AgentSubscriptionLevel": 1,
  "DisableWelcomeEmail": true,
  "PartnerIdentifier": "sample string 3",
  "Vuserid": "sample string 4",
  "PccCode": "sample string 5",
  "UserId": 6,
  "AccountID": "sample string 7",
  "UserName": "sample string 8",
  "ApplicationDomain": 0,
  "guid": "sample string 9",
  "DeviceType": 0
}

application/xml, text/xml

Sample:
<CreateTravefyUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.Travefy">
  <AccountID xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 7</AccountID>
  <ApplicationDomain xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">GTL</ApplicationDomain>
  <DeviceType xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">WebJB</DeviceType>
  <PccCode xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 5</PccCode>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">6</UserId>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 8</UserName>
  <Vuserid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</Vuserid>
  <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 9</guid>
  <AgentSubscriptionLevel>1</AgentSubscriptionLevel>
  <DisableWelcomeEmail>true</DisableWelcomeEmail>
  <PartnerIdentifier>sample string 3</PartnerIdentifier>
  <User>
    <CompanyLogoUrl>sample string 7</CompanyLogoUrl>
    <FullName>sample string 2</FullName>
    <ImageUrl>sample string 3</ImageUrl>
    <IsAgent>true</IsAgent>
    <Phone>sample string 5</Phone>
    <Title>sample string 4</Title>
    <Url>sample string 6</Url>
    <Username>sample string 1</Username>
  </User>
</CreateTravefyUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TravefyUser
NameDescriptionTypeAdditional information
travefyUser

Collection of Object

None.

IsSuccess

boolean

None.

Message

string

None.

guid

string

None.

PNR

string

None.

Response Formats

application/json, text/json

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

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.