Pois
Name | Description |
---|---|
token | token |
poi[name] | Poi name |
poi[latitude] | Poi latitude |
poi[longitude] | Poi longitude |
poi[adress] | Poi adress |
poi[phone] | Poi phone |
poi[website] | Poi website |
poi[email] | Poi email |
poi[audience] | Poi audience |
poi[category_id] | Poi category |
Content-Type: application/json Host: example.org Cookie:
POST api/v1/pois
{"token":"foobar120","poi":{"name":"Dede","latitude":48.870424,"longitude":2.30681949999996,"adress":"Au 50 75008 Paris","phone":"0000000000","website":"entourage.com","email":"entourage@entourage.com","audience":"Mon audience","category_id":4}}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"a429ce1bb9c0c0cc6c98242e0a3bda41" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 4eed81da-c7dd-4386-8f9e-574e5aaaa160 X-Runtime: 0.013194 Content-Length: 346
201 Created
{ "poi": { "name": "Dede", "description": null, "longitude": 2.30681949999996, "latitude": 48.870424, "phone": "0000000000", "website": "entourage.com", "email": "entourage@entourage.com", "audience": "Mon audience", "partner_id": null, "address": "Au 50 75008 Paris", "hours": null, "languages": null, "source_url": null, "uuid": "4", "source": "entourage", "category_ids": [ 4 ] } }