POST v1/Travefy/AddUser
Request Information
URI Parameters
None.
Body Parameters
CreateTravefyUser| Name | Description | Type | Additional information |
|---|---|---|---|
| User | User |
None. |
|
| AgentSubscriptionLevel | integer |
None. |
|
| DisableWelcomeEmail | boolean |
None. |
|
| PartnerIdentifier | string |
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"
}
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">
<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| Name | Description | Type | Additional 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.