Secondly, when I see the default service definition in there, I see a long list of methods with their corresponding definitions. One of them being createRecords as well. This is how it looks in there.
{
"method": "POST",
"summary": "createRecords() - Create one or more records.",
"nickname": "createRecords",
"notes": "Posted data should be an array of records wrapped in a <b>record</b> element.<br/> Use the <b>related</b> parameter to return related records for each resource. By default, no related records are returned.<br/> By default, only the id property of the record is returned on success. Use <b>fields</b> parameter to return more info.",
"type": "RecordsResponse",
"event_name": [
"{api_name}.{table_name}.insert",
"{api_name}.table_inserted"
],
"parameters": [
{
"name": "table_name",
"description": "Name of the table to perform operations on.",
"allowMultiple": false,
"type": "string",
"paramType": "path",
"required": true
},
{
"name": "body",
"description": "Data containing name-value pairs of records to create.",
"allowMultiple": false,
"type": "RecordsRequest",
"paramType": "body",
"required": true
},
{
"name": "fields",
"description": "Comma-delimited list of field names to retrieve for each record, '*' to return all fields.",
"allowMultiple": true,
"type": "string",
"paramType": "query",
"required": false
},
{
"name": "id_field",
"description": "Single or comma-delimited list of the fields used as identifiers for the table, used to override defaults or provide identifiers when none are provisioned.",
"allowMultiple": true,
"type": "string",
"paramType": "query",
"required": false
},
{
"name": "id_type",
"description": "Single or comma-delimited list of the field types used as identifiers for the table, used to override defaults or provide identifiers when none are provisioned.",
"allowMultiple": true,
"type": "string",
"paramType": "query",
"required": false
},
{
"name": "continue",
"description": "In batch scenarios, where supported, continue processing even after one record fails. Default behavior is to halt and return results up to the first point of failure.",
"allowMultiple": false,
"type": "boolean",
"paramType": "query",
"required": false
},
{
"name": "rollback",
"description": "In batch scenarios, where supported, rollback all changes if any record of the batch fails. Default behavior is to halt and return results up to the first point of failure, leaving any changes.",
"allowMultiple": false,
"type": "boolean",
"paramType": "query",
"required": false
},
{
"name": "X-HTTP-METHOD",
"description": "Override request using POST to tunnel other http request, such as DELETE.",
"enum": [
"GET",
"PUT",
"PATCH",
"DELETE"
],
"allowMultiple": false,
"type": "string",
"paramType": "header",
"required": false
},
{
"name": "related",
"description": "Comma-delimited list of relationship names to retrieve for each record, or '*' to retrieve all.",
"allowMultiple": true,
"type": "string",
"paramType": "query",
"required": false
}
],
"responseMessages": [
{
"code": 400,
"message": "Bad Request - Request does not have a valid format, all required parameters, etc."
},
{
"code": 401,
"message": "Unauthorized Access - No currently valid session available."
},
{
"code": 404,
"message": "Not Found - Resource not found"
},
{
"code": 500,
"message": "System Error - Specific reason is included in the error message"
}
]
},