getIdByCode
Purpose
Retrieves the ID of a picklist item or status by providing its integration code.
HTTP Method
GET
URL
https://app.infiniteblue.com/rest/api/getIdByCodeURL Parameters
sessionId
The session ID obtained from the body of the response when calling login.
objName
The object integration name.
field
The field integration name.
code
Integration name of picklist item or status.
output
Optional parameter specifying the output format, one of:
Permissions Required
View permission for the requested object type.
Response
ID of item with matching integration code or -1
Example
Output example in JSON:
{ "id": 4567 }