Új helyszín létrehozása a szervezetben.
POST
/v1/places
const url = 'https://api.signalguard.hu/v1/places';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"organisation_id":"example","name":"example","address":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.signalguard.hu/v1/places \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "organisation_id": "example", "name": "example", "address": "example" }'Jelleg: író. Minden művelet a hívó kulcs jogosultságaival fut. Egyenértékű műveleti alak: POST /v1/ops/create_place (= az azonos nevű MCP tool).
Authorizations
Szekció neve “Authorizations”Request Body
Szekció neve “Request Body”Media typeapplication/json
object
organisation_id
required
A szervezet azonosítója
string
name
required
A helyszín neve
string
address
Cím
string
Examplegenerated
{ "organisation_id": "example", "name": "example", "address": "example"}Responses
Szekció neve “Responses”Siker — { ok: true, result }