Create location
documentedCreate a location
POST /api2/locatiesLocationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://demo.recras.nl/api2/locaties" \
-X POST \
-H "Authorization: Bearer {{RECRAS_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"naam": "{{$name}}", "weergavenaam": "{{$display_name}}", "capaciteit": {{$capacity}}, "aantal_groepen": {{$group_count}}, "adres": "{{$address}}", "postcode": "{{$postal_code}}", "plaats": "{{$city}}", "telefoonnummer": "{{$phone}}", "latitude": {{$lat}}, "longitude": {{$lon}}}'