POST api/customers/registercustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerRegistrationProviderRequest| Name | Description | Type | Additional 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. |
|
| string |
None. |
||
| MobilePhone | string |
None. |
|
| Ucid | string |
None. |
|
| LoyaltyPassword | string |
None. |
|
| GoogleIdToken | string |
None. |
|
| clientId | string |
None. |
|
| credential | string |
None. |
|
| RegistrationForm | CustomerRegistrationFormSubmission |
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",
"GoogleIdToken": "sample string 14",
"clientId": "sample string 15",
"credential": "sample string 16",
"RegistrationForm": {
"BindingId": 1,
"BindingVersion": 2,
"ContextPropertyId": 3,
"ContextCode": "sample string 4",
"QuestionnaireId": 5,
"Fields": [
{
"Id": 1,
"Value": "sample string 2"
},
{
"Id": 1,
"Value": "sample string 2"
}
],
"Consents": [
{
"ConsentId": 1,
"ConsentVersion": 2,
"IsAccepted": true
},
{
"ConsentId": 1,
"ConsentVersion": 2,
"IsAccepted": true
}
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerRegistrationProviderResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| FailureMessage | string |
None. |
|
| Identity | 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,
"ExternalIdentityId": "sample string 15",
"ExternalProfileId": "sample string 16",
"WantsMembership": true,
"CountryCode": "sample string 18",
"AgeGroup": "sample string 19",
"LoyaltyTierCode": "sample string 20",
"LoyaltyPoints": 21,
"ConsentIds": "sample string 22"
}
}