Creates a new establishment after validating required technical installation exists and tags belong to the organization.
BO[ADMIN, USER]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Content type, must be "application/json".
application/json Details required to create an establishment
Identifier of the organization associated with the establishment.
10
Name of the site.
250"Main site"
Types associated with the site (N, P, M, etc.).
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 [1, 1]Address of the establishment.
100"123 Main Street"
City where the establishment is located.
100"Paris"
Postal code of the establishment.
75001
Country where the establishment is located.
100"France"
Classifications of the establishment (e.g., ERP, IGH).
0, 1, 2, 3 [0, 2]Category of the establishment (if ERP), between 1 and 5.
1, 2, 3, 4, 5, 3
Total surface area of the establishment in square meters.
1500
Maximum public capacity of the establishment.
300
Maximum private capacity of the establishment.
50
Indicates if the PIN code is enabled for access.
false
Instructions for accessing the establishment.
100"Enter through the back door."
Serial number of the site.
10"123456"
Unique identifiers of the associated tags.
[1, 2, 3]The establishment was successfully created