curl --request GET \
--url https://api.example.com/partner/get{
"result": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"cedula": 123
}
]
}Retrieve all registered partners from the DEMET system
curl --request GET \
--url https://api.example.com/partner/get{
"result": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"cedula": 123
}
]
}access_token cookie.
curl -X GET https://api.example.com/partner/get \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN"
{
"result": [
{
"id": "P001",
"name": "Carlos Rodríguez",
"email": "[email protected]",
"phoneNumber": "3215667890",
"cedula": 1234567890
},
{
"id": "P002",
"name": "María González",
"email": "[email protected]",
"phoneNumber": "3001234567",
"cedula": 9876543210
}
]
}
{
"message": "Token no enviado o inválido"
}
{
"message": "Error interno del servidor"
}