Skip to main content

Endpoint

POST /EstadoEntrega/CrearEstadoEntrega

Request Body

descripcionentrega
string
required
Description of the delivery state (e.g., “En Tránsito”, “Entregado”, “Fallido”)

Request Example

curl -X POST https://api.example.com/EstadoEntrega/CrearEstadoEntrega \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -d '{
    "descripcionentrega": "En Tránsito"
  }'

Response

result
string
Message indicating the delivery state was created successfully

Response Examples

"Estado de entrega creado exitosamente"

Status Codes

  • 200 OK - Delivery state created successfully
  • 400 Bad Request - Invalid request data or creation error

Source Reference

Controller: EstadoEntregaController.cs:13-27

Build docs developers (and LLMs) love