A list of all beneficiaries registered in the system
Unable to return a list of all beneficiaries due to validation error
No beneficiaries registered in the system was found
[- {
- "id": 0,
- "name": "string",
- "cpf": "string",
- "rg": "string",
- "relationship": "string",
- "phoneNumber": "string",
- "address": {
- "id": 0,
- "country": "string",
- "zipCode": "string",
- "state": "string",
- "city": "string",
- "neighborhood": "string",
- "street": "string",
- "number": "string",
- "complement": "string",
- "latitude": 0,
- "longitude": 0,
- "propertyType": {
- "id": 0,
- "type": "string"
}
}
}
]
Add a new beneficiary per client and solicitation
Unable to add a new beneficiary per client and solicitation due to validation error
{- "name": "Paulo Magno Alves da Rocha",
- "cpf": "534.234.867-34",
- "rg": "2991396",
- "relationship": "Filho",
- "phoneNumber": "(61) 93847-2933",
- "address": {
- "country": "Brasil",
- "state": "MG",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "zipCode": "12345-678",
- "complement": "ap 9"
}
}
[- {
- "id": 0,
- "name": "string",
- "cpf": "string",
- "rg": "string",
- "relationship": "string",
- "phoneNumber": "string",
- "address": {
- "id": 0,
- "country": "string",
- "zipCode": "string",
- "state": "string",
- "city": "string",
- "neighborhood": "string",
- "street": "string",
- "number": "string",
- "complement": "string",
- "latitude": 0,
- "longitude": 0,
- "propertyType": {
- "id": 0,
- "type": "string"
}
}
}
]
Update a beneficiary details
Unable to update a beneficiary due to validation error
No beneficiary registered by this beneficiary id in the system was found
{- "name": "Alan Barbosa de Oliveira",
- "cpf": "123.456.789-01",
- "rg": "3441352",
- "relationship": "Marido",
- "phoneNumber": "(61) 92354-4523",
- "address": {
- "state": "MG",
- "country": "Brasil",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "zipCode": "12345-678",
- "propertyTypeId": 0,
- "complement": "ap 9"
}
}
{- "id": 1,
- "name": "Paulo Gonçalves Ferreira ",
- "cpf": "123.456.789-01",
- "rg": "1234567",
- "relationship": "Filho",
- "phoneNumber": "(61) 98374-2827",
- "address": {
- "id": 0,
- "country": "Brasil",
- "zipCode": "12345-678",
- "state": "MG",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "complement": "ap 9",
- "latitude": 0,
- "longitude": 0,
- "propertyType": null
}
}