Skip to main content
GET
/
api
/
v1
/
client_father
/
{id}
Obtener un cliente padre por ID
curl --request GET \
  --url https://api.raul.ugps.io/api/v1/client_father/{id} \
  --header 'Authorization: Bearer <token>'
{
  "idFather": "<string>",
  "fatherName": {},
  "fantasyName": {},
  "rut": {},
  "email": {},
  "phone": {},
  "factura": {},
  "ordenCompra": {},
  "requiresHes": {},
  "createdAt": {},
  "updatedAt": {},
  "clientsChildrens": [
    {
      "clientId": "<string>",
      "clientName": {},
      "rut": {},
      "typeOfContractId": {},
      "sellerId": {},
      "sellerName": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

ID del cliente padre (UUID)

Response

Cliente padre obtenido exitosamente

idFather
string
required

ID del cliente padre

fatherName
object

Nombre del cliente padre

fantasyName
object

Nombre de fantasía

rut
object

RUT

email
object

Email

phone
object

Teléfono

factura
object

Requiere factura

ordenCompra
object

Requiere orden de compra

requiresHes
object

Requiere HES

createdAt
object

Fecha de creación

updatedAt
object

Fecha de actualización

clientsChildrens
object[]

Lista de clientes hijos