Pre-requisites from Enadoc:You must have created indexes under any of the accessible libraries.
Path Parameters
Name
Type
Description
library id
integer
Library Id
Headers
Name
Type
Description
Authorization
string
Type - Bearer
Access token will be sent in request headers
Get Specific Index
Get Specific Index
GET[ENADOC_URL] /api/v3/indexes/{indexId}
Pre-requisites from Enadoc:You must have created indexes under any of the accessible libraries.
Path Parameters
Name
Type
Description
indexId
integer
Index Id
Headers
Name
Type
Description
Authorization
string
Type - Bearer
Access token will be sent in request header
Index Reference
Pre-requisites from Enadoc:You must have created dropdown indexes and reference values under these drop-down indexes.
Enadoc contains drop-down indexes, here we can consume two types of indexes values, there are parent index & child index. parent index can have reference values without any inheritance, child index will have inherited index reference value, here we have defined all endpoints that you can get these reference values.
Get parent index reference values, here we can obtain references where when index has superIndexId:0, other index reference values can be obtained using another end point
Path Parameters
Name
Type
Description
indexId
integer
Index Id
Headers
Name
Type
Description
Authorization
string
Type - Bearer
Access token will be sent in request headers
Here we can create a new index reference for drop down indexes, if index is inherited index server required to send parent index reference id. If index is not inherited, then not required parent index reference id. It can send as 0 value or null.
Path Parameters
Name
Type
Description
indexId
integer
Index Id
Headers
Name
Type
Description
Authorization
string
Type - Bearer
Access token will be sent in request headers
Request Body
Name
Type
Description
Reference details
object
Content type - application JSON
Request body should contain the index reference details. Follow the format given in the code block below. ⤵️
Follow the format given in the code block to send the flag as the body parameters of the API request.
Edit Index Reference
PUT[ENADOC_URL] /api/v3/indexes/references/{id}
Here we can edit index reference of drop-down indexes.
Path Parameters
Name
Type
Description
id
integer
Index reference id
Headers
Name
Type
Description
Authorization
string
Type - Bearer
Access token will be sent in request headers
Request Body
Name
Type
Description
Reference details
object
Content type - Application/Json
Request body should consists of the new values of index reference details. Follow the format given in the code block below. ⤵️
Follow the format given in the code block to send the new values for index reference as the body parameter of the API request.