A list of all addresses registered in the system
Unable to return a list of all addresses due to validation error
No addresses registered in the system was found
[- {
- "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"
}
}
]
Return a list of addresses for a user
Unable to return a list of addresses by user id due to validation error
No address registered by this user id in the system was found
[- {
- "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 user address
Unable to add a new user's address due to validation error
{- "country": "Brasil",
- "state": "MG",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "zipCode": "12345-678",
- "propertyTypeId": 1,
- "complement": "ap 9"
}
{- "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": 2,
- "type": "Alugado"
}
}
Return a list of addresses for a clinic
No address registered by this clinic id in the system was found
Internal server error
[- {
- "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 clinic address
Unable to add a new clinic's address due to validation error
{- "country": "Brasil",
- "state": "MG",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "zipCode": "12345-678",
- "propertyTypeId": 1,
- "complement": "ap 9"
}
{- "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": 2,
- "type": "Alugado"
}
}
Return a list of addresses for a beneficiary id
Unable to return a list of addresses by beneficiary id due to validation error
No address registered by this beneficiary id in the system was found
[- {
- "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 address
Unable to add a new beneficiary's address due to validation error
{- "country": "Brasil",
- "state": "MG",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "zipCode": "12345-678",
- "propertyTypeId": 1,
- "complement": "ap 9"
}
{- "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": 2,
- "type": "Alugado"
}
}
Return a list of states and total clinics
Unable to return a list of states and total clinics due to validation error
No state registered in the system was found
[- {
- "state": "string",
- "totalClinics": 0
}
]
Update a beneficiary address
Unable to update a beneficiary's address due to validation error
{- "state": "MG",
- "country": "Brasil",
- "city": "Unaí",
- "neighborhood": "Divineia",
- "street": "Av. Governador valadares",
- "number": "123",
- "zipCode": "12345-678",
- "propertyTypeId": 1,
- "complement": "ap 9"
}
{- "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": 2,
- "type": "Alugado"
}
}
Register a new property type
Unable to register a new property type due to validation error
{- "type": "Alugado"
}
{- "id": 3,
- "type": "Financiado"
}
Return a list of property types
Unable to return a list property types due to validation error
[- {
- "id": 0,
- "type": "string"
}
]