POST LoyaltyUser
Create a user
Request Information
URI Parameters
None.
Body Parameters
the dto thats represent the user to be added
LoyaltyUserRegistrationDtoName | 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-06-12T08:18:12.7896326Z", "NetworkId": "b6f917be-62f7-42a6-96f3-1486e822ed6b", "LoyaltyProgramId": "467d1439-ab68-489c-b1e2-6481ae5d5de4", "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-06-12T08:18:12.7896326Z</BirdthDate> <Email>sample string 3</Email> <Gender>sample string 9</Gender> <Identification>sample string 5</Identification> <LastName>sample string 2</LastName> <LoyaltyProgramId>467d1439-ab68-489c-b1e2-6481ae5d5de4</LoyaltyProgramId> <Name>sample string 1</Name> <NetworkId>b6f917be-62f7-42a6-96f3-1486e822ed6b</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
LoyaltyUserRegistrationResponseName | 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>