API Documentation
/addresses
Addresses for companies.
Structure
Fieldname | Fieldtype | Validations |
---|---|---|
id | Long | |
version | Integer | |
street | String | not empty |
houseNumber | String | not empty |
zipCode | String | not empty |
city | String | not empty |
country | String | not empty |
GET /{id}▲
Get a single address by its id.
Returns
One address.
POST /▲
Create a new address. Returns the created object.
Security
ROLE_ADMIN
Returns
A single address.
PUT /{id}▲
Update the address identified by id. Returns the updated object.
Security
ROLE_ADMIN
Returns
A single address.
DELETE /{id}▲
Delete the address identified by id.
Security
ROLE_ADMIN
Returns
Nothing