POST api/customers/registercustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerRegistrationProviderRequest
NameDescriptionTypeAdditional information
Method

CustomerAuthenticationMethods

None.

CustomerFolderId

integer

None.

PropertyId

integer

None.

EventSourceId

integer

None.

Username

string

None.

Password

string

None.

ConfirmPassword

string

None.

FirstName

string

None.

LastName

string

None.

FullName

string

None.

Email

string

None.

MobilePhone

string

None.

Ucid

string

None.

LoyaltyPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Method": 1,
  "CustomerFolderId": 1,
  "PropertyId": 2,
  "EventSourceId": 3,
  "Username": "sample string 4",
  "Password": "sample string 5",
  "ConfirmPassword": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "FullName": "sample string 9",
  "Email": "sample string 10",
  "MobilePhone": "sample string 11",
  "Ucid": "sample string 12",
  "LoyaltyPassword": "sample string 13"
}

application/xml, text/xml

Sample:
<CustomerRegistrationProviderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.ExtClients.CustomerAuthenticationProviders">
  <ConfirmPassword>sample string 6</ConfirmPassword>
  <CustomerFolderId>1</CustomerFolderId>
  <Email>sample string 10</Email>
  <EventSourceId>3</EventSourceId>
  <FirstName>sample string 7</FirstName>
  <FullName>sample string 9</FullName>
  <LastName>sample string 8</LastName>
  <LoyaltyPassword>sample string 13</LoyaltyPassword>
  <Method>Internal</Method>
  <MobilePhone>sample string 11</MobilePhone>
  <Password>sample string 5</Password>
  <PropertyId>2</PropertyId>
  <Ucid>sample string 12</Ucid>
  <Username>sample string 4</Username>
</CustomerRegistrationProviderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerRegistrationProviderResult
NameDescriptionTypeAdditional information
Success

boolean

None.

FailureMessage

string

None.

Identity

ExternalCustomerIdentity

None.

ExternalCustomerIdentity

ExternalCustomerIdentity

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "FailureMessage": "sample string 2",
  "Identity": {
    "Method": 1,
    "ProviderCode": "sample string 1",
    "ExternalId": "sample string 2",
    "CustomerId": 3,
    "CustomerFolderId": 4,
    "PropertyId": 5,
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "FullName": "sample string 8",
    "Email": "sample string 9",
    "MobilePhone": "sample string 10",
    "RoomNumber": "sample string 11",
    "ReservationId": "sample string 12",
    "Ucid": "sample string 13",
    "MustChangePassword": true
  },
  "ExternalCustomerIdentity": {
    "Method": 1,
    "ProviderCode": "sample string 1",
    "ExternalId": "sample string 2",
    "CustomerId": 3,
    "CustomerFolderId": 4,
    "PropertyId": 5,
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "FullName": "sample string 8",
    "Email": "sample string 9",
    "MobilePhone": "sample string 10",
    "RoomNumber": "sample string 11",
    "ReservationId": "sample string 12",
    "Ucid": "sample string 13",
    "MustChangePassword": true
  }
}

application/xml, text/xml

Sample:
<CustomerRegistrationProviderResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.ExtClients.CustomerAuthenticationProviders">
  <ExternalCustomerIdentity>
    <CustomerFolderId>4</CustomerFolderId>
    <CustomerId>3</CustomerId>
    <Email>sample string 9</Email>
    <ExternalId>sample string 2</ExternalId>
    <FirstName>sample string 6</FirstName>
    <FullName>sample string 8</FullName>
    <LastName>sample string 7</LastName>
    <Method>Internal</Method>
    <MobilePhone>sample string 10</MobilePhone>
    <MustChangePassword>true</MustChangePassword>
    <PropertyId>5</PropertyId>
    <ProviderCode>sample string 1</ProviderCode>
    <ReservationId>sample string 12</ReservationId>
    <RoomNumber>sample string 11</RoomNumber>
    <Ucid>sample string 13</Ucid>
  </ExternalCustomerIdentity>
  <FailureMessage>sample string 2</FailureMessage>
  <Identity>
    <CustomerFolderId>4</CustomerFolderId>
    <CustomerId>3</CustomerId>
    <Email>sample string 9</Email>
    <ExternalId>sample string 2</ExternalId>
    <FirstName>sample string 6</FirstName>
    <FullName>sample string 8</FullName>
    <LastName>sample string 7</LastName>
    <Method>Internal</Method>
    <MobilePhone>sample string 10</MobilePhone>
    <MustChangePassword>true</MustChangePassword>
    <PropertyId>5</PropertyId>
    <ProviderCode>sample string 1</ProviderCode>
    <ReservationId>sample string 12</ReservationId>
    <RoomNumber>sample string 11</RoomNumber>
    <Ucid>sample string 13</Ucid>
  </Identity>
  <Success>true</Success>
</CustomerRegistrationProviderResult>