Skip to main content

Endpoint

POST /Cliente/InsCliente

Request Body

Password
string
required
Client’s password for authentication
Nombre
string
required
Client’s full name
CTelefono
string
required
Country/area telephone code
Telefono
string
required
Client’s telephone number
CorreoElectronico
string
required
Client’s email address

Request Example

curl -X POST https://api.example.com/Cliente/InsCliente \
  -H "Content-Type: application/json" \
  -d '{
    "Password": "securePassword123",
    "Nombre": "Juan Pérez",
    "CTelefono": "+52",
    "Telefono": "5551234567",
    "CorreoElectronico": "[email protected]"
  }'

Response

result
string
A message indicating the result of the registration operation

Response Examples

"Cliente registrado exitosamente"

Status Codes

  • 200 OK - Client registered successfully
  • 400 Bad Request - Invalid request data or registration error

Source Reference

Controller: ClienteController.cs:51-65

See Also

Login

Authenticate and obtain JWT token

View Client

Retrieve client information

Build docs developers (and LLMs) love