# Fetch maximum character allowed for a specific custom column This API can be used to fetch maximum character allowed for user data type of a specific custom field ## Endpoint `GET /dcapi/customColumn/udtLength` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/customColumn/udtLength` ## Scope `DesktopCentralCloud.CustomField.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — Mandatory: `application/udtLengthDetails.v1+json` ### Query Parameters - **tableName** `string` — Mandatory The table name can be any of the names provided in the list below: 1. `ManagedComputerCustomFields` — if customfield created in computer view 2. `InvSWCustomFields` — if customfield created in software view. - **actualColumnName** `string` — Mandatory The actual name of the custom field column for which the User Data Type length is required. `actualColumnName` can be get from the `columName` key from the response of [/dcapi/customFields/computers/{ID}](https://www.manageengine.com/products/desktop-central/help/api/cloud/custom-field-get-computer-custom-fields.html) ## Sample Request ```curl curl --request GET \ --url 'https://appdomains/dcapi/customColumn/udtLength?tableName=SOME_STRING_VALUE&actualColumnName=SOME_STRING_VALUE' \ --header 'Accept: application/udtLengthDetails.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **lengthOfUDT** `string` Returns maximum length of the user data type for given custom field ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 ```json { "lengthOfUDT": "20" } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.