A list of all clinics registered in the system
Unable to return a list of all clinics due to validation error
No clinics registered in the system was found
[- {
- "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": 0,
- "code": "string"
}
]
}
}
]
Success
Bad Request
Not Found
{- "id": 1,
- "tradingName": "Dentista Mais",
- "companyName": "Dentista Mais",
- "cpfCnpj": "123.456.789-01",
- "email": "dentista@email.com",
- "financeEmail": null,
- "code": "DR15",
- "phoneNumber": "(61) 3827-2938",
- "cellPhoneNumber": null,
- "monthlyPayment": 0,
- "isPrivacyPolicyAccepted": false,
- "operatingFee": null,
- "isActive": false,
- "createdAt": "0001-01-01T00:00:00",
- "network": {
- "id": "5",
- "name": "Dentista Mais",
- "totalClinics": 0,
- "admin": null,
- "advisor": null
}, - "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": 3,
- "type": "Financiado"
}
}, - "bankData": {
- "id": 1,
- "agency": "4289",
- "account": "10853-3",
- "digit": null,
- "bank": {
- "id": 4,
- "name": "Banco Itaú Unibanco S.A.",
- "code": 341
}
}, - "clinicType": {
- "id": 2,
- "type": "Odontologia"
}, - "clinicFlag": null,
- "clinicTier": null
}
update a clinic
Unable to update a clinic due to validation error
No clinic registered with this id in the system was found
{- "tradingName": "Clinica Mais",
- "companyName": "Clinica Mais",
- "cpfCnpj": "12.345.678/0001-22",
- "email": "clinica@email.com",
- "financeEmail": null,
- "code": null,
- "phoneNumber": "(61) 3456-2341",
- "cellPhoneNumber": null,
- "monthlyPayment": 0,
- "clinicTypeId": 2,
- "networkId": 0,
- "clinicFlagId": 0,
- "clinicTierId": 0,
- "operatingFee": null
}
{- "id": 1,
- "tradingName": "Dentista Mais",
- "companyName": "Dentista Mais",
- "cnpj": "12.932.545/0001-15",
- "email": "dentista@email.com",
- "financeEmail": null,
- "code": "DR15",
- "phoneNumber": "(61) 3827-2938",
- "operatingFee": 0
}
Active or deactivate a clinic
Unable to active or deactivate a clinic due to validation error
{- "isActive": true
}
{- "errors": [ ],
- "httpStatus": 500
}
A list of all clinics associated with a user registered in the system
Unable to return a list of all clinics associated with a user due to validation error
No clinics registered associated with this user in the system was found
[- {
- "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": 0,
- "code": "string"
}
]
}
}
]
A list of all clinics associated with a network registered in the system
Unable to return a list of all clinics associated with a network due to validation error
No clinics registered associated with this network in the system was found
[- {
- "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": 0,
- "code": "string"
}
]
}
}
]
Add a new clinic
Unable to add a clinic due to validation error
No network registered with this id in the system was found
{- "tradingName": "Ortopedia Mais",
- "companyName": "Ortopedia Mais",
- "cpfCnpj": "12.456.378/0001-22",
- "email": "dentista@email.com",
- "financeEmail": "dentista@financeiro.com",
- "phoneNumber": "(61) 3271-2847",
- "cellPhoneNumber": "(61) 9 8164-2847",
- "monthlyPayment": 100,
- "clinicTypeId": 1,
- "clinicTierId": 1,
- "operatingFee": "3,9 %",
- "address": {
- "country": "Brasil",
- "state": "MG",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "zipCode": "12345-678",
- "propertyTypeId": 1,
- "complement": "ap 9"
}, - "bankData": {
- "bankId": 1,
- "agency": "1234",
- "account": "12345",
- "digit": "1"
}
}
{- "id": 1,
- "tradingName": "Dentista Mais",
- "companyName": "Dentista Mais",
- "cpfCnpj": "123.456.789-01",
- "email": "dentista@email.com",
- "financeEmail": null,
- "code": "DR15",
- "phoneNumber": "(61) 3827-2938",
- "cellPhoneNumber": null,
- "monthlyPayment": 0,
- "isPrivacyPolicyAccepted": false,
- "operatingFee": null,
- "isActive": false,
- "createdAt": "0001-01-01T00:00:00",
- "network": {
- "id": "5",
- "name": "Dentista Mais",
- "totalClinics": 0,
- "admin": null,
- "advisor": null
}, - "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": 3,
- "type": "Financiado"
}
}, - "bankData": {
- "id": 1,
- "agency": "4289",
- "account": "10853-3",
- "digit": null,
- "bank": {
- "id": 4,
- "name": "Banco Itaú Unibanco S.A.",
- "code": 341
}
}, - "clinicType": {
- "id": 2,
- "type": "Odontologia"
}, - "clinicFlag": null,
- "clinicTier": null
}
A list of all employees associated with a clinic registered in the system
Unable to return a list of all employees associated with a clinic due to validation error
No employee registered associated with this clinic in the system was found
[- {
- "id": "string",
- "name": "string",
- "cpf": "string",
- "userName": "string",
- "email": "string",
- "phoneNumber": "string",
- "birthdate": "string",
- "role": {
- "name": "string"
}
}
]
A clinic registered in the system
Unable to return a clinic due to validation error
No clinic registered with this id in the system was found
{- "id": 0,
- "tradingName": "string",
- "city": "string",
- "state": "string",
- "clinicTypeId": 0,
- "clinicType": "string",
- "isActive": true
}
Return a new user with the profile of admin
Unable to return a new user with the profile of admin due to validation error
{- "email": "sabrina@email.com",
- "password": "********",
- "confirmPassword": "********",
- "name": "Sabrina Alves Cunha Veras",
- "cpf": "123.456.789-01",
- "birthdate": "03/03/1996",
- "phoneNumber": "(61) 98245-8372",
- "networkId": 1
}
{- "userId": "string",
- "token": "string",
- "refreshToken": "string",
- "expiresIn": 0,
- "success": true,
- "errors": [
- "string"
], - "errorStatus": 0
}
Return a new user with the profile of admin
Unable to return a new user with the profile of admin due to validation error
{- "email": "arthur@gmail.com",
- "password": "********",
- "confirmPassword": "********",
- "name": "Arthur Pereira Borges",
- "cpf": "039.384.294-83",
- "birthdate": "02/05/1990",
- "phoneNumber": "(61) 98473-2948",
- "clinicId": 1
}
{- "userId": "string",
- "token": "string",
- "refreshToken": "string",
- "expiresIn": 0,
- "success": true,
- "errors": [
- "string"
], - "errorStatus": 0
}
Return a new user with the profile of admin
Unable to return a new user with the profile of admin due to validation error
{- "email": "fernando@gmail.com",
- "password": "********",
- "confirmPassword": "********",
- "name": "Fernando Henrique Alves Amaral",
- "cpf": "052.704.041-09",
- "birthdate": "03/03/1996",
- "phoneNumber": "(61) 98245-8372",
- "clinicId": 1
}
{- "userId": "string",
- "token": "string",
- "refreshToken": "string",
- "expiresIn": 0,
- "success": true,
- "errors": [
- "string"
], - "errorStatus": 0
}
Return a new user with the profile of admin
Unable to return a new user with the profile of admin due to validation error
{- "email": "fernando@gmail.com",
- "password": "********",
- "confirmPassword": "********",
- "name": "Fernando Henrique Alves Amaral",
- "cpf": "052.704.041-09",
- "birthdate": "03/03/1996",
- "phoneNumber": "(61) 98245-8372",
- "clinicId": 1
}
{- "userId": "string",
- "token": "string",
- "refreshToken": "string",
- "expiresIn": 0,
- "success": true,
- "errors": [
- "string"
], - "errorStatus": 0
}