Get organization fields in a module

GET {{baseUrl}}/api/v1/organizationFields?module=<String>

This API fetches fields in a module

OAuth Scope

  • Desk.basic.READ

Request Params

KeyDatatypeRequiredDescription
modulestringthe module name with in which search to be done. Value may be tickets, contacts , accounts ,tasks , calls , events, timeEntry,products, contracts
apiNamesstringKey that fetches only the fields whose apiNames are given. Multiple values can be passed, with commas for separation.
departmentIdstringKey that fetches only the fields for the given departmentId.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;displayLabel&quot;:&quot;Department&quot;,&quot;apiName&quot;:&quot;departmentId&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000353&quot;,&quot;type&quot;:&quot;LookUp&quot;,&quot;maxLength&quot;:50,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Account Name&quot;,&quot;apiName&quot;:&quot;accountId&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000355&quot;,&quot;type&quot;:&quot;LookUp&quot;,&quot;maxLength&quot;:300,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Contact Name&quot;,&quot;apiName&quot;:&quot;contactId&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000357&quot;,&quot;type&quot;:&quot;LookUp&quot;,&quot;maxLength&quot;:300,&quot;isMandatory&quot;:true},{&quot;displayLabel&quot;:&quot;Email&quot;,&quot;apiName&quot;:&quot;email&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000359&quot;,&quot;type&quot;:&quot;Email&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Phone&quot;,&quot;apiName&quot;:&quot;phone&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000361&quot;,&quot;type&quot;:&quot;Phone&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Subject&quot;,&quot;apiName&quot;:&quot;subject&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000363&quot;,&quot;type&quot;:&quot;Text&quot;,&quot;maxLength&quot;:255,&quot;isMandatory&quot;:true},{&quot;displayLabel&quot;:&quot;Description&quot;,&quot;apiName&quot;:&quot;description&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000365&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;maxLength&quot;:1000000,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Status&quot;,&quot;allowedValues&quot;:[{&quot;statusType&quot;:&quot;Open&quot;,&quot;value&quot;:&quot;Open&quot;},{&quot;statusType&quot;:&quot;Open&quot;,&quot;value&quot;:&quot;Open_july&quot;},{&quot;statusType&quot;:&quot;Open&quot;,&quot;value&quot;:&quot;Open_newDept&quot;},{&quot;statusType&quot;:&quot;On Hold&quot;,&quot;value&quot;:&quot;On Hold&quot;},{&quot;statusType&quot;:&quot;Open&quot;,&quot;value&quot;:&quot;Escalated&quot;},{&quot;statusType&quot;:&quot;Closed&quot;,&quot;value&quot;:&quot;Closed1&quot;},{&quot;statusType&quot;:&quot;Open&quot;,&quot;value&quot;:&quot;Closed&quot;},{&quot;statusType&quot;:&quot;Closed&quot;,&quot;value&quot;:&quot;newDeptClosed&quot;},{&quot;statusType&quot;:&quot;Closed&quot;,&quot;value&quot;:&quot;julyDeptClosed&quot;},{&quot;statusType&quot;:&quot;Closed&quot;,&quot;value&quot;:&quot;julyDeptClosed1&quot;}],&quot;apiName&quot;:&quot;status&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000367&quot;,&quot;type&quot;:&quot;Picklist&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:true},{&quot;displayLabel&quot;:&quot;Product Name&quot;,&quot;apiName&quot;:&quot;productId&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000369&quot;,&quot;type&quot;:&quot;LookUp&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Case Owner&quot;,&quot;apiName&quot;:&quot;assigneeId&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000371&quot;,&quot;type&quot;:&quot;LookUp&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Category&quot;,&quot;allowedValues&quot;:[{&quot;value&quot;:&quot;General&quot;},{&quot;value&quot;:&quot;Defects&quot;},{&quot;value&quot;:&quot;ManojKumar&quot;}],&quot;apiName&quot;:&quot;category&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000421&quot;,&quot;type&quot;:&quot;Picklist&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Sub Category&quot;,&quot;allowedValues&quot;:[{&quot;value&quot;:&quot;Sub General&quot;},{&quot;value&quot;:&quot;Sub Defects&quot;},{&quot;value&quot;:&quot;Sub Defects1235&quot;}],&quot;apiName&quot;:&quot;subCategory&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000423&quot;,&quot;type&quot;:&quot;Picklist&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Due Date&quot;,&quot;apiName&quot;:&quot;dueDate&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000405&quot;,&quot;type&quot;:&quot;DateTime&quot;,&quot;maxLength&quot;:300,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Priority&quot;,&quot;allowedValues&quot;:[{&quot;value&quot;:&quot;-None-&quot;},{&quot;value&quot;:&quot;High&quot;},{&quot;value&quot;:&quot;Medium&quot;},{&quot;value&quot;:&quot;Low&quot;}],&quot;apiName&quot;:&quot;priority&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000407&quot;,&quot;type&quot;:&quot;Picklist&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Mode&quot;,&quot;allowedValues&quot;:[{&quot;value&quot;:&quot;Phone&quot;},{&quot;value&quot;:&quot;Email&quot;},{&quot;value&quot;:&quot;Web&quot;},{&quot;value&quot;:&quot;Twitter&quot;},{&quot;value&quot;:&quot;Facebook&quot;},{&quot;value&quot;:&quot;Chat&quot;},{&quot;value&quot;:&quot;Forums&quot;},{&quot;value&quot;:&quot;Feedback Widget&quot;}],&quot;apiName&quot;:&quot;channel&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000409&quot;,&quot;type&quot;:&quot;Picklist&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Is Overdue&quot;,&quot;apiName&quot;:&quot;Is Overdue&quot;,&quot;isCustomField&quot;:false,&quot;defaultValue&quot;:&quot;true&quot;,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000411&quot;,&quot;type&quot;:&quot;Boolean&quot;,&quot;maxLength&quot;:50,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Is Escalated&quot;,&quot;apiName&quot;:&quot;Is Escalated&quot;,&quot;isCustomField&quot;:false,&quot;defaultValue&quot;:&quot;true&quot;,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000413&quot;,&quot;type&quot;:&quot;Boolean&quot;,&quot;maxLength&quot;:50,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Classification&quot;,&quot;allowedValues&quot;:[{&quot;value&quot;:&quot;-None-&quot;},{&quot;value&quot;:&quot;Question&quot;},{&quot;value&quot;:&quot;Problem&quot;},{&quot;value&quot;:&quot;Feature&quot;},{&quot;value&quot;:&quot;Others&quot;}],&quot;apiName&quot;:&quot;classification&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000415&quot;,&quot;type&quot;:&quot;Picklist&quot;,&quot;maxLength&quot;:120,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Resolution&quot;,&quot;apiName&quot;:&quot;resolution&quot;,&quot;isCustomField&quot;:false,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000417&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;maxLength&quot;:1000000,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Sample Text Field&quot;,&quot;apiName&quot;:&quot;cf_sample_text_field&quot;,&quot;isCustomField&quot;:false,&quot;toolTipType&quot;:&quot;placeHolder&quot;,&quot;showToHelpCenter&quot;:true,&quot;isEncryptedField&quot;:false,&quot;toolTip&quot;:&quot;Sample Text Field&quot;,&quot;id&quot;:&quot;4000000000447&quot;,&quot;type&quot;:&quot;Textarea&quot;,&quot;maxLength&quot;:1000000,&quot;isMandatory&quot;:false},{&quot;displayLabel&quot;:&quot;Large Text Field&quot;,&quot;apiName&quot;:&quot;cf_large_text_field&quot;,&quot;isCustomField&quot;:true,&quot;i18NLabel&quot;:&quot;Large Text Field&quot;,&quot;name&quot;:&quot;LargeText field&quot;,&quot;isEncryptedField&quot;:false,&quot;id&quot;:&quot;4000000000449&quot;,&quot;type&quot;:&quot;LargeText&quot;,&quot;maxLength&quot;:16000000,&quot;isMandatory&quot;:false,&quot;properties&quot;:{&quot;translatable&quot;:true}}]}