POST LoyaltyUser

Create a user

Request Information

URI Parameters

None.

Body Parameters

the dto thats represent the user to be added

LoyaltyUserRegistrationDto
NameDescriptionTypeAdditional information
Name

string

None.

LastName

string

None.

Email

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-04-25T16:36:14.8065993Z",
  "NetworkId": "2c87cef1-6e7d-4c9d-bd17-34a3202987a7",
  "LoyaltyProgramId": "610e8314-dc99-442e-99f9-9ceeed561386",
  "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-04-25T16:36:14.8065993Z</BirdthDate>
  <Email>sample string 3</Email>
  <Gender>sample string 9</Gender>
  <Identification>sample string 5</Identification>
  <LastName>sample string 2</LastName>
  <LoyaltyProgramId>610e8314-dc99-442e-99f9-9ceeed561386</LoyaltyProgramId>
  <Name>sample string 1</Name>
  <NetworkId>2c87cef1-6e7d-4c9d-bd17-34a3202987a7</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
NameDescriptionTypeAdditional 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>