getCodebyId()
Purpose
Retrieves the integration code of a picklist item or status by ID.
Syntax
getCodeById(string sessionId, string objDefName,
string fieldName, long id);
Parameters
sessionId
A string containing the session ID obtained at log in.
objDefName
String containing integration name of object definition
fieldName
String containing integration name of Field (picklist or status)
id
Long numeric ID of picklist item or status
Output
Integration code of item with matching ID or null
Example
String code = binding.getCodeById(sessionId, "lead", "type", 98765);