Create Note Type
Purpose
To create a new note type in your Zoho Recruit account via API.
Request URL
https://recruit.zoho.com/recruit/v2/settings/note_types
Request Method
POST
Scope
scope=ZohoRecruit.settings.note_type.{operation_type}
Possible operation types |
---|
ALL - Full data access CREATE - Create note type |
Possible Errors
HTTP Status | Error | Message | Reason |
---|---|---|---|
202 | DUPLICATE_DATA | All or some of the note types exist already | The note type already exists. Try using a different name. |
403 | NO_PERMISSION | The user doesn't have the Customize Zoho Recruit permission | The user does not have permission to upload files. Contact your system administrator |
400 | INVALID_DATA | Invalid data in body parameter. Check input data format | The data type used in the body of the request is invalid. |
Sample Input
Copied{
note_types:[
{
name:"Interview"
},
{
name:"Notes"
},
{
name:"Interview"
}]
}
Sample Response
Copied{
"note_types": [
{
"code": "SUCCESS",
"details": {
"created_time": "2020-10-12T18:17:28+05:30",
"modified_time": "2020-10-12T18:17:28+05:30",
"modified_by": {
"name": "Patricia Boyle",
"id": "100001000000021464"
},
"created_by": {
"name": "Patricia Boyle",
"id": "100001000000021464"
}
},
"message": "note types created successfully",
"status": "SUCCESS"
},
{
"code": "DUPLICATE_DATA",
"details": {
"api_name": "name"
},
"message": "duplicate data",
"status": "error"
},
{
"code": "SUCCESS",
"details": {
"created_time": "2020-10-12T18:17:28+05:30",
"modified_time": "2020-10-12T18:17:28+05:30",
"modified_by": {
"name": "Patricia Boyle",
"id": "100001000000021464"
},
"created_by": {
"name": "Patricia Boyle",
"id": "100001000000021464"
}
},
"message": "note types created successfully",
"status": "SUCCESS"
}
]
}