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": "2025-11-04T19:25:29.4218947Z",
"NetworkId": "421de63a-2ae4-4ad6-aed4-1ac711f05464",
"LoyaltyProgramId": "7492f334-475b-402c-a8a4-9769fa26a32f",
"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>2025-11-04T19:25:29.4218947Z</BirdthDate> <Email>sample string 3</Email> <Gender>sample string 9</Gender> <Identification>sample string 5</Identification> <LastName>sample string 2</LastName> <LoyaltyProgramId>7492f334-475b-402c-a8a4-9769fa26a32f</LoyaltyProgramId> <Name>sample string 1</Name> <NetworkId>421de63a-2ae4-4ad6-aed4-1ac711f05464</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>