Insert data by GraphQL API
To insert data into Steedos via the GraphQL API, you should prefix the script with mutation
instead of query
in the following format:
That represents you shoud replace the tasks
above with the object name you want to insert record, and replace the {name:"Task One"}
above with a JSON data you want to insert.
The keyword __insert
in the above script represents to insert one record into Steedos via the GraphQL API.
The graphql script above may return some data like this:
When somebody insert data via the GraphQL API on Steedos, they can insert record of the object only they have permission to insert, see About data permissions for more information.