POST /review-reasons.json
Body Required
-
Name
-
Review type
Values are
approve
orreject
. Default value isapprove
.
POST /review-reasons.json
curl \
-X POST http://api.example.com/v1/review-reasons.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","reviewType":"approve"}'
Request example
{
"name": "string",
"reviewType": "approve"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"name": "string",
"reviewType": "approve",
"updatedAt": "2024-05-04T09:42:00+00:00"
}