API Documentation

/addresses

Addresses for companies.

Endpoints

MethodPath
GET/{id}
POST/
PUT/{id}
DELETE/{id}

Structure

FieldnameFieldtypeValidations
idLong
versionInteger
streetStringnot empty
houseNumberStringnot empty
zipCodeStringnot empty
cityStringnot empty
countryStringnot 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