Create Gathering

Create Gathering

Arguments

GraphQL Mutation

mutation {
  createGathering(gathering: {name: "Great Event", startsOn: "2018-01-23", endsOn: "2018-01-25", timeZone: "Eastern Time (U.S. & Canada)" }, appId: 232) {
    name
    StartsOn
    EndsOn
    id
  }
}

CURL Request

curl -X POST https://api.certaintouchpoint.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{ mutation { createGathering(gathering: { name: "Great Event", startsOn: "2018-01-23", endsOn: "2018-01-25", timeZone: "Eastern Time (U.S. & Canada)"}, appId: 232) { name id startsOn endsOn } }'

GraphQL Response

{"data":
{ "createGathering":
{ "name":"Great Event",
"id":"71112",
"startsOn":"2018-01-23",
"endsOn":"2018-01-25"
}
}
}

GatheringParams

GatheringParams is the set of fields used to define a gathering. The following fields are described.

Was this article helpful? 0 out of 0 found this helpful

Have more questions? Submit a request

Related articles

```