Beneficiary

Rota responsável por cadastrar um beneficiário por cliente e solicitação

SecurityoAuth2ClientCredentials
Request
path Parameters
userId
required
string or null
solicitationId
required
integer <int32>
Request Body schema:
name
required
string
cpf
required
string
rg
required
string
relationship
required
string
phoneNumber
required
string
required
object (CreateAddressForBeneficiaryRequest)
Responses
200

Add a new beneficiary per client and solicitation

400

Unable to add a new beneficiary per client and solicitation due to validation error

post/api/v1/users/{userId}/solicitations/{solicitationId}/beneficiaries
Request samples
{
  • "name": "Paulo Magno Alves da Rocha",
  • "cpf": "534.234.867-34",
  • "rg": "2991396",
  • "relationship": "Filho",
  • "phoneNumber": "(61) 93847-2933",
  • "address": {
    }
}
Response samples
application/json
[
  • {
    }
]