Request to create a new event into producer account.

Post Body Example

{
  "title": "Devteam Teste {{$randomInt}}{{$randomInt}}{{$randomInt}}",
  "producerId": 241992,
  "description": "Evento Teste",
  "sessions": [
    {
      "dateTime": "2018-08-01T22:15:00"
    },
    {
      "dateTime": "2018-08-02T23:00:00"
    }
  ],
  "statusId": 2,
  "categoryId": 3,
  "place": {
    "externalId": "184225795303189",
    "origin": "facebook"
  }
}
AttributeDescription
producerIdUsed to register an event as another user. Only available for admin users in the platform.
placePlaces are registered based on previously addresses registered in Facebook or Google. The way to link the place with the event at Ingres is describe in the session "Places" below.

Places

There are two sources for addresses at Ingresse. You need to indicate the three information below:

  • externalId : the ID from Google or Facebook places API;
  • origin : the slug for service source (googleMaps, facebook);
  • name : (optional) used to rename the address title from external platform.
{
  "place": {
    "externalId": "1013959198636891",
    "origin": "facebook",
    "name": "Castelinho Party"
  }
}
Language
Authorization
Click Try It! to start a request and see the response here!