A list of all patients registered in the system
Unable to return a list of all patients due to validation error
No patients registered in the system was found
[- {
- "id": "string",
- "name": "string",
- "cpf": "string",
- "userName": "string",
- "email": "string",
- "phoneNumber": "string",
- "isSmartPhone": true,
- "birthdate": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "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"
}
}, - "bankData": {
- "id": 0,
- "agency": "string",
- "account": "string",
- "digit": "string",
- "bank": {
- "id": 0,
- "name": "string",
- "code": 0
}
}, - "personalData": {
- "id": 0,
- "mothersName": "string",
- "rg": "string",
- "nationality": "string",
- "equityValue": "string",
- "gender": "string",
- "civilStatus": "string"
}, - "occupationData": {
- "id": 0,
- "occupation": "string",
- "profession": "string",
- "employmentTime": "string",
- "companyCNPJ": "string",
- "companyZipCode": "string"
}, - "solicitations": [
- {
- "id": 0,
- "requestedAmount": "string",
- "installmentOfRequestedAmount": "string",
- "monthlyIncome": "string",
- "contractId": "string",
- "isBeneficiaryInformed": true,
- "numeroProtocolo": "string",
- "numeroProposta": "string",
- "tacValue": 0,
- "paymentDoneDate": "2019-08-24T14:15:22Z",
- "paymentRequestDate": "2019-08-24T14:15:22Z",
- "isPaymentRequested": true,
- "user": {
- "id": "string",
- "name": "string",
- "birthdate": "string",
- "cpf": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "clinic": {
- "id": 0,
- "tradingName": "string",
- "companyName": "string",
- "cpfCnpj": "string",
- "email": "string",
- "financeEmail": "string",
- "code": "string",
- "phoneNumber": "string",
- "cellPhoneNumber": "string",
- "monthlyPayment": 0,
- "isPrivacyPolicyAccepted": true,
- "operatingFee": "string",
- "isActive": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "network": {
- "id": "string",
- "name": "string",
- "totalClinics": 0,
- "admin": {
- "id": "string",
- "name": "string",
- "cpf": "string",
- "userName": "string",
- "email": "string",
- "phoneNumber": "string",
- "birthdate": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "isActive": true
}, - "advisor": {
- "id": "string",
- "name": "string",
- "cpf": "string",
- "userName": "string",
- "email": "string",
- "phoneNumber": "string",
- "birthdate": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "isActive": true
}
}, - "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"
}
}, - "bankData": {
- "id": 0,
- "agency": "string",
- "account": "string",
- "digit": "string",
- "bank": {
- "id": 0,
- "name": "string",
- "code": 0
}
}, - "clinicType": {
- "id": 0,
- "type": "string"
}, - "clinicFlag": {
- "id": 0,
- "type": "string",
- "productionCode": {
- "id": 0,
- "code": "string"
}
}, - "clinicTier": {
- "id": 0,
- "type": "string",
- "productionCodes": [
- {
- "id": null,
- "code": null
}
]
}
}, - "beneficiary": {
- "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"
}
}
}, - "procedure": {
- "id": 0,
- "name": "string",
- "procedureDate": "2019-08-24T14:15:22Z",
- "isProcedureDone": true
}, - "coefficient": {
- "id": 0,
- "value": 0,
- "interestPerMonth": 0,
- "interestPerYear": 0,
- "installments": 0,
- "tecPerMonth": 0,
- "tecPerYear": 0,
- "productionCode": {
- "id": 0,
- "code": "string"
}
}, - "solicitationType": {
- "id": 0,
- "type": "string"
}, - "serviceType": {
- "id": 0,
- "type": "string"
}, - "statusType": {
- "id": 0,
- "type": "string"
}, - "cancelReason": "string"
}
], - "documents": [
- {
- "id": 0,
- "name": "string",
- "contentType": "string",
- "url": "string",
- "documentType": {
- "id": 0,
- "type": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
], - "userRoles": [
- {
- "role": {
- "name": "string"
}
}
]
}
]
Retorne um novo usuário com o perfil do paciente
Não é possível retornar um novo usuário com o perfil do paciente devido a um erro de validação
{- "email": "fernando@email.com",
- "name": "Fernando Oliveira de Rocha",
- "cpf": "123.456.789.01",
- "birthdate": "22/12/1995",
- "phoneNumber": "(61) 93847-2847",
- "isSmartPhone": false
}
{- "userId": "string"
}
A list of all patients registered by a clinic in the system
Unable to return a list of all patients registered by a clinic due to validation error
No patients registered by this clinic id in the system was found
[- {
- "id": "string",
- "name": "string",
- "cpf": "string",
- "userName": "string",
- "email": "string",
- "phoneNumber": "string",
- "isSmartPhone": true,
- "birthdate": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "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"
}
}, - "bankData": {
- "id": 0,
- "agency": "string",
- "account": "string",
- "digit": "string",
- "bank": {
- "id": 0,
- "name": "string",
- "code": 0
}
}, - "personalData": {
- "id": 0,
- "mothersName": "string",
- "rg": "string",
- "nationality": "string",
- "equityValue": "string",
- "gender": "string",
- "civilStatus": "string"
}, - "occupationData": {
- "id": 0,
- "occupation": "string",
- "profession": "string",
- "employmentTime": "string",
- "companyCNPJ": "string",
- "companyZipCode": "string"
}, - "solicitations": [
- {
- "id": 0,
- "requestedAmount": "string",
- "installmentOfRequestedAmount": "string",
- "monthlyIncome": "string",
- "contractId": "string",
- "isBeneficiaryInformed": true,
- "numeroProtocolo": "string",
- "numeroProposta": "string",
- "tacValue": 0,
- "paymentDoneDate": "2019-08-24T14:15:22Z",
- "paymentRequestDate": "2019-08-24T14:15:22Z",
- "isPaymentRequested": true,
- "user": {
- "id": "string",
- "name": "string",
- "birthdate": "string",
- "cpf": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "clinic": {
- "id": 0,
- "tradingName": "string",
- "companyName": "string",
- "cpfCnpj": "string",
- "email": "string",
- "financeEmail": "string",
- "code": "string",
- "phoneNumber": "string",
- "cellPhoneNumber": "string",
- "monthlyPayment": 0,
- "isPrivacyPolicyAccepted": true,
- "operatingFee": "string",
- "isActive": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "network": {
- "id": "string",
- "name": "string",
- "totalClinics": 0,
- "admin": {
- "id": "string",
- "name": "string",
- "cpf": "string",
- "userName": "string",
- "email": "string",
- "phoneNumber": "string",
- "birthdate": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "isActive": true
}, - "advisor": {
- "id": "string",
- "name": "string",
- "cpf": "string",
- "userName": "string",
- "email": "string",
- "phoneNumber": "string",
- "birthdate": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "isActive": true
}
}, - "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"
}
}, - "bankData": {
- "id": 0,
- "agency": "string",
- "account": "string",
- "digit": "string",
- "bank": {
- "id": 0,
- "name": "string",
- "code": 0
}
}, - "clinicType": {
- "id": 0,
- "type": "string"
}, - "clinicFlag": {
- "id": 0,
- "type": "string",
- "productionCode": {
- "id": 0,
- "code": "string"
}
}, - "clinicTier": {
- "id": 0,
- "type": "string",
- "productionCodes": [
- {
- "id": null,
- "code": null
}
]
}
}, - "beneficiary": {
- "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"
}
}
}, - "procedure": {
- "id": 0,
- "name": "string",
- "procedureDate": "2019-08-24T14:15:22Z",
- "isProcedureDone": true
}, - "coefficient": {
- "id": 0,
- "value": 0,
- "interestPerMonth": 0,
- "interestPerYear": 0,
- "installments": 0,
- "tecPerMonth": 0,
- "tecPerYear": 0,
- "productionCode": {
- "id": 0,
- "code": "string"
}
}, - "solicitationType": {
- "id": 0,
- "type": "string"
}, - "serviceType": {
- "id": 0,
- "type": "string"
}, - "statusType": {
- "id": 0,
- "type": "string"
}, - "cancelReason": "string"
}
], - "documents": [
- {
- "id": 0,
- "name": "string",
- "contentType": "string",
- "url": "string",
- "documentType": {
- "id": 0,
- "type": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
], - "userRoles": [
- {
- "role": {
- "name": "string"
}
}
]
}
]
Return a patient registered in the system
Unable to return a patient due to validation error
No patient registered with this id in the system was found
{- "id": "12345bc5-cbad-49af-8095-c6b123e1234w",
- "name": "Paulo Gonçalves Ferreira ",
- "cpf": "123.456.789-01",
- "userName": "paulo@email.com",
- "email": "paulo@email.com",
- "phoneNumber": "(61) 98374-2827",
- "isSmartPhone": true,
- "birthdate": "22/12/1995",
- "createdAt": "2022-08-18T15:06:43.4915617+00:00",
- "address": {
- "id": 1,
- "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": {
- "id": 4,
- "type": "Próprio"
}
}, - "bankData": {
- "id": 1,
- "agency": "10853-3",
- "account": "4289",
- "digit": null,
- "bank": {
- "id": 4,
- "name": "Banco Itaú Unibanco S.A.",
- "code": 341
}
}, - "personalData": {
- "id": 1,
- "mothersName": "Maria Da Natividade Bezerra",
- "rg": "1234567",
- "nationality": "Brasileiro",
- "equityValue": "R$ 30.000,00",
- "gender": "Masculino",
- "civilStatus": "Solteiro"
}, - "occupationData": {
- "id": 1,
- "occupation": "Empregado Setor Privado",
- "profession": "Cabeleireira",
- "employmentTime": "2 anos",
- "companyCNPJ": "30.577.851/0001-62",
- "companyZipCode": "07942-030"
}, - "solicitations": [ ],
- "documents": [ ],
- "userRoles": [ ]
}
Retorne os dados do paciente atualizado
Não é possível retornar atualizar os dados do perfil do paciente devido a um erro de validação
{- "email": "fernando@email.com",
- "name": "Fernando Oliveira de Rocha",
- "cpf": "123.456.789.01",
- "birthdate": "22/12/1995",
- "phoneNumber": "(61) 93847-2847",
- "isSmartPhone": false
}
{- "userId": "string"
}
Return a patient registered in the system
Unable to return a patient due to validation error
No patient registered with this id in the system was found
{- "id": "12345bc5-cbad-49af-8095-c6b123e1234w",
- "name": "Paulo Gonçalves Ferreira ",
- "cpf": "123.456.789-01",
- "userName": "paulo@email.com",
- "email": "paulo@email.com",
- "phoneNumber": "(61) 98374-2827",
- "isSmartPhone": true,
- "birthdate": "22/12/1995",
- "createdAt": "2022-08-18T15:06:43.4930398+00:00",
- "address": {
- "id": 1,
- "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": {
- "id": 4,
- "type": "Próprio"
}
}, - "bankData": {
- "id": 1,
- "agency": "10853-3",
- "account": "4289",
- "digit": null,
- "bank": {
- "id": 4,
- "name": "Banco Itaú Unibanco S.A.",
- "code": 341
}
}, - "personalData": {
- "id": 1,
- "mothersName": "Maria Da Natividade Bezerra",
- "rg": "1234567",
- "nationality": "Brasileiro",
- "equityValue": "R$ 30.000,00",
- "gender": "Masculino",
- "civilStatus": "Solteiro"
}, - "occupationData": {
- "id": 1,
- "occupation": "Empregado Setor Privado",
- "profession": "Cabeleireira",
- "employmentTime": "2 anos",
- "companyCNPJ": "30.577.851/0001-62",
- "companyZipCode": "07942-030"
}, - "solicitations": [ ],
- "documents": [ ],
- "userRoles": [ ]
}
Success
Bad Request
Not Found
{- "id": "12345bc5-cbad-49af-8095-c6b123e1234w",
- "name": "Paulo Gonçalves Ferreira ",
- "cpf": "123.456.789-01",
- "userName": "paulo@email.com",
- "email": "paulo@email.com",
- "phoneNumber": "(61) 98374-2827",
- "isSmartPhone": true,
- "birthdate": "22/12/1995",
- "createdAt": "2022-08-18T15:06:43.4942651+00:00",
- "address": {
- "id": 1,
- "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": {
- "id": 4,
- "type": "Próprio"
}
}, - "bankData": {
- "id": 1,
- "agency": "10853-3",
- "account": "4289",
- "digit": null,
- "bank": {
- "id": 4,
- "name": "Banco Itaú Unibanco S.A.",
- "code": 341
}
}, - "personalData": {
- "id": 1,
- "mothersName": "Maria Da Natividade Bezerra",
- "rg": "1234567",
- "nationality": "Brasileiro",
- "equityValue": "R$ 30.000,00",
- "gender": "Masculino",
- "civilStatus": "Solteiro"
}, - "occupationData": {
- "id": 1,
- "occupation": "Empregado Setor Privado",
- "profession": "Cabeleireira",
- "employmentTime": "2 anos",
- "companyCNPJ": "30.577.851/0001-62",
- "companyZipCode": "07942-030"
}, - "solicitations": [ ],
- "documents": [ ],
- "userRoles": [ ]
}