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"
}
}
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"
}
}
Atualizar o endereço de uma clínica
Não foi possível atualizar o endereço de uma clínica devido a um erro de validação
{- "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,
- "distance": 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"
}
}
Delete a beneficiary address
Não foi possível excluir o endereço de um beneficiário devido a um erro de validação
{- "errors": [ ],
- "httpStatus": 500
}
Return a list of property types
Unable to return a list property types due to validation error
[- {
- "id": 0,
- "type": "string"
}
]