Office
Resource 'Office' operations.
List the offices of a legal entity
Returns the offices of the legal entity identified by `legalEntityUuid`, sorted by most recent first.
Create an office from its SIRET
Validates the SIRET against the French directory, checks it belongs to the legal entity identified by `legalEntityUuid`, then creates a corresponding record on the platform.
Get one office of a legal entity by uuid
Returns the office matching `uuid`. Responds 404 if the uuid is unknown.
Delete an office by uuid
Deletes the office matching `uuid`. Removal is permanent and the office will be delisted from the French directory.
Register an office on the network
Registers the office identified by `uuid` on the network. The `0225:siren_siret` address is registered on the first call and left untouched afterwards. `suffixes` declares the complete set of `0225:siren_siret_suffix` routing code addresses: entries not registered yet are added, and addresses missing from the body are removed. An omitted body therefore removes every routing code address.