POST LoyaltyUser
Create a user
Request Information
URI Parameters
None.
Body Parameters
the dto thats represent the user to be added
LoyaltyUserRegistrationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| PhoneNumber | string |
None. |
|
| Identification | string |
None. |
|
| BirdthDate | date |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| LoyaltyProgramId | globally unique identifier |
None. |
|
| Gender | string |
None. |
|
| Provider | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"PhoneNumber": "sample string 4",
"Identification": "sample string 5",
"BirdthDate": "2026-03-13T12:24:57.4230345Z",
"NetworkId": "843faca1-9ce3-455b-8ab1-a1dddf1faaca",
"LoyaltyProgramId": "11d6e4f8-12a5-4c33-8179-ac888865ac81",
"Gender": "sample string 9",
"Provider": "sample string 10"
}
application/xml, text/xml
Sample:
<LoyaltyUserRegistrationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.LoyaltyUser"> <BirdthDate>2026-03-13T12:24:57.4230345Z</BirdthDate> <Email>sample string 3</Email> <Gender>sample string 9</Gender> <Identification>sample string 5</Identification> <LastName>sample string 2</LastName> <LoyaltyProgramId>11d6e4f8-12a5-4c33-8179-ac888865ac81</LoyaltyProgramId> <Name>sample string 1</Name> <NetworkId>843faca1-9ce3-455b-8ab1-a1dddf1faaca</NetworkId> <PhoneNumber>sample string 4</PhoneNumber> <Provider>sample string 10</Provider> </LoyaltyUserRegistrationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
success response if the user is created
LoyaltyUserRegistrationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| ResponseCode | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"ResponseCode": "sample string 2",
"Success": false
}
application/xml, text/xml
Sample:
<LoyaltyUserRegistrationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.LoyaltyUser"> <Message>sample string 1</Message> <ResponseCode>sample string 2</ResponseCode> </LoyaltyUserRegistrationResponse>