comments create

POST {{baseUrl}}/comments

Creates a Comment object with the given values.

Request Params

KeyDatatypeRequiredDescription
is_debug_modebooleanWhether to include debug fields (such as log file links) in the response.
run_asyncbooleanWhether or not third-party updates should be run asynchronously.

Request Body

[{"name"=>"remote_id", "value"=>"19202938", "datatype"=>"number"}, {"name"=>"author", "value"=>"17a54124-287f-494d-965e-3c5b330c9a68", "datatype"=>"string"}, {"name"=>"body", "value"=>"What is the status update?", "datatype"=>"string"}, {"name"=>"ticket", "value"=>"fb8c55b6-1cb8-4b4c-9fb6-17924231619d", "datatype"=>"string"}, {"name"=>"remote_created_at", "value"=>"1990-11-10T00:00:00Z", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"errors":[{"detail":"custom_fields is a required field on model.","problem_type":"MISSING_REQUIRED_FIELD","title":"Missing Required Field","source":{"pointer":"consequat nulla dolor aute esse"}},{"detail":"custom_fields is a required field on model.","problem_type":"MISSING_REQUIRED_FIELD","title":"Missing Required Field","source":{"pointer":"voluptate ut ad consequat"}}],"model":{"id":"0958cbc6-6040-430a-848e-aafacbadf4ae","remote_id":"19202938","author":"17a54124-287f-494d-965e-3c5b330c9a68","body":"What is the status update?","ticket":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d","remote_created_at":"1990-11-10T00:00:00Z"},"warnings":[{"detail":"An unrecognized field, age, was passed in with request data.","problem_type":"UNRECOGNIZED_FIELD","title":"Unrecognized Field","source":{"pointer":"eu nostrud ipsum sit et"}},{"detail":"An unrecognized field, age, was passed in with request data.","problem_type":"UNRECOGNIZED_FIELD","title":"Unrecognized Field","source":{"pointer":"culpa incididunt"}}],"logs":[{"dashboard_view":"https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832","log_id":"99433219-8017-4acd-bb3c-ceb23d663832","log_summary":{"method":"POST","status_code":200,"url":"https://harvest.greenhouse.io/v1/candidates/"}},{"dashboard_view":"https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832","log_id":"99433219-8017-4acd-bb3c-ceb23d663832","log_summary":{"method":"POST","status_code":200,"url":"https://harvest.greenhouse.io/v1/candidates/"}}]}