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 StatusErrorMessageReason
202DUPLICATE_DATAAll or some of the note types exist alreadyThe note type already exists. Try using a different name.
403NO_PERMISSIONThe user doesn't have the Customize Zoho Recruit permissionThe user does not have permission to upload files. Contact your system administrator
400INVALID_DATAInvalid data in body parameter. Check input data formatThe 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"
       }
   ]
}