datacode_category_search()
Function prototype | datacode_category_search (session, search_str, [max_res], [offset]) |
---|---|
API Version | 2.7.26 and higher |
SOAP, REST |
Description
Searches a DATACODE category by its description
This functions allows to search for DATACODE categories. The search string can be any part of the description.
The search is performed over all existing languages, though the active session language is prioritized.
The list returned is sorted as follows:
First results are the ones found in the active session language
Then results found in English
Finally results in other languages
Function parameters
Input parameters: |
|
Output parameters: |
|
Request example
datacode_category_search ( “LCAAAAAAAAAAAA”, "pressure")
Response
The response format is XML when the function has been invoked via the SOAP API, and JSON when it has been invoked via the REST API
Return Error codes
ERROR CODE | |
---|---|
INVALID_TOKEN | The session token provided is not valid |