using RestSharp;
var options = new RestClientOptions("http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"Info\": {\n \"UDefFieldId\": 123,\n \"ColumnId\": 123,\n \"FieldDefault\": \"<string>\",\n \"FieldHeight\": 123,\n \"FieldLabel\": \"<string>\",\n \"FieldLeft\": 123,\n \"FieldTop\": 123,\n \"FieldWidth\": 123,\n \"FormatMask\": \"<string>\",\n \"HideLabel\": true,\n \"IsIndexed\": true,\n \"LabelHeight\": 123,\n \"LabelLeft\": 123,\n \"LabelTop\": 123,\n \"LabelWidth\": 123,\n \"LastVersionId\": 123,\n \"ListTableId\": 123,\n \"IsMandatory\": true,\n \"Page1LineNo\": 123,\n \"ProgId\": \"<string>\",\n \"IsReadOnly\": true,\n \"ShortLabel\": \"<string>\",\n \"TabOrder\": 123,\n \"TextLength\": 123,\n \"Tooltip\": \"<string>\",\n \"UdefIdentity\": 123,\n \"UDListDefinitionId\": 123,\n \"Version\": 123,\n \"TemplateVariableName\": \"<string>\",\n \"HasBeenPublished\": true,\n \"MdoListName\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
Info: {
UDefFieldId: 123,
ColumnId: 123,
FieldDefault: '<string>',
FieldHeight: 123,
FieldLabel: '<string>',
FieldLeft: 123,
FieldTop: 123,
FieldWidth: 123,
FormatMask: '<string>',
HideLabel: true,
IsIndexed: true,
LabelHeight: 123,
LabelLeft: 123,
LabelTop: 123,
LabelWidth: 123,
LastVersionId: 123,
ListTableId: 123,
IsMandatory: true,
Page1LineNo: 123,
ProgId: '<string>',
IsReadOnly: true,
ShortLabel: '<string>',
TabOrder: 123,
TextLength: 123,
Tooltip: '<string>',
UdefIdentity: 123,
UDListDefinitionId: 123,
Version: 123,
TemplateVariableName: '<string>',
HasBeenPublished: true,
MdoListName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
})
};
fetch('http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "56350",
CURLOPT_URL => "http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'Info' => [
'UDefFieldId' => 123,
'ColumnId' => 123,
'FieldDefault' => '<string>',
'FieldHeight' => 123,
'FieldLabel' => '<string>',
'FieldLeft' => 123,
'FieldTop' => 123,
'FieldWidth' => 123,
'FormatMask' => '<string>',
'HideLabel' => true,
'IsIndexed' => true,
'LabelHeight' => 123,
'LabelLeft' => 123,
'LabelTop' => 123,
'LabelWidth' => 123,
'LastVersionId' => 123,
'ListTableId' => 123,
'IsMandatory' => true,
'Page1LineNo' => 123,
'ProgId' => '<string>',
'IsReadOnly' => true,
'ShortLabel' => '<string>',
'TabOrder' => 123,
'TextLength' => 123,
'Tooltip' => '<string>',
'UdefIdentity' => 123,
'UDListDefinitionId' => 123,
'Version' => 123,
'TemplateVariableName' => '<string>',
'HasBeenPublished' => true,
'MdoListName' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId"
payload = { "Info": {
"UDefFieldId": 123,
"ColumnId": 123,
"FieldDefault": "<string>",
"FieldHeight": 123,
"FieldLabel": "<string>",
"FieldLeft": 123,
"FieldTop": 123,
"FieldWidth": 123,
"FormatMask": "<string>",
"HideLabel": True,
"IsIndexed": True,
"LabelHeight": 123,
"LabelLeft": 123,
"LabelTop": 123,
"LabelWidth": 123,
"LastVersionId": 123,
"ListTableId": 123,
"IsMandatory": True,
"Page1LineNo": 123,
"ProgId": "<string>",
"IsReadOnly": True,
"ShortLabel": "<string>",
"TabOrder": 123,
"TextLength": 123,
"Tooltip": "<string>",
"UdefIdentity": 123,
"UDListDefinitionId": 123,
"Version": 123,
"TemplateVariableName": "<string>",
"HasBeenPublished": True,
"MdoListName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
Info: {
UDefFieldId: 123,
ColumnId: 123,
FieldDefault: '<string>',
FieldHeight: 123,
FieldLabel: '<string>',
FieldLeft: 123,
FieldTop: 123,
FieldWidth: 123,
FormatMask: '<string>',
HideLabel: true,
IsIndexed: true,
LabelHeight: 123,
LabelLeft: 123,
LabelTop: 123,
LabelWidth: 123,
LastVersionId: 123,
ListTableId: 123,
IsMandatory: true,
Page1LineNo: 123,
ProgId: '<string>',
IsReadOnly: true,
ShortLabel: '<string>',
TabOrder: 123,
TextLength: 123,
Tooltip: '<string>',
UdefIdentity: 123,
UDListDefinitionId: 123,
Version: 123,
TemplateVariableName: '<string>',
HasBeenPublished: true,
MdoListName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
})
};
fetch('http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));123Figure Out List Id From List Table Id And U D List Definition Id
Kind of the reverse of SetListTableIdAndUDListDefinitionIdFromSelectedListId
NsApiSlow threshold: 5000 ms.
using RestSharp;
var options = new RestClientOptions("http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"Info\": {\n \"UDefFieldId\": 123,\n \"ColumnId\": 123,\n \"FieldDefault\": \"<string>\",\n \"FieldHeight\": 123,\n \"FieldLabel\": \"<string>\",\n \"FieldLeft\": 123,\n \"FieldTop\": 123,\n \"FieldWidth\": 123,\n \"FormatMask\": \"<string>\",\n \"HideLabel\": true,\n \"IsIndexed\": true,\n \"LabelHeight\": 123,\n \"LabelLeft\": 123,\n \"LabelTop\": 123,\n \"LabelWidth\": 123,\n \"LastVersionId\": 123,\n \"ListTableId\": 123,\n \"IsMandatory\": true,\n \"Page1LineNo\": 123,\n \"ProgId\": \"<string>\",\n \"IsReadOnly\": true,\n \"ShortLabel\": \"<string>\",\n \"TabOrder\": 123,\n \"TextLength\": 123,\n \"Tooltip\": \"<string>\",\n \"UdefIdentity\": 123,\n \"UDListDefinitionId\": 123,\n \"Version\": 123,\n \"TemplateVariableName\": \"<string>\",\n \"HasBeenPublished\": true,\n \"MdoListName\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
Info: {
UDefFieldId: 123,
ColumnId: 123,
FieldDefault: '<string>',
FieldHeight: 123,
FieldLabel: '<string>',
FieldLeft: 123,
FieldTop: 123,
FieldWidth: 123,
FormatMask: '<string>',
HideLabel: true,
IsIndexed: true,
LabelHeight: 123,
LabelLeft: 123,
LabelTop: 123,
LabelWidth: 123,
LastVersionId: 123,
ListTableId: 123,
IsMandatory: true,
Page1LineNo: 123,
ProgId: '<string>',
IsReadOnly: true,
ShortLabel: '<string>',
TabOrder: 123,
TextLength: 123,
Tooltip: '<string>',
UdefIdentity: 123,
UDListDefinitionId: 123,
Version: 123,
TemplateVariableName: '<string>',
HasBeenPublished: true,
MdoListName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
})
};
fetch('http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "56350",
CURLOPT_URL => "http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'Info' => [
'UDefFieldId' => 123,
'ColumnId' => 123,
'FieldDefault' => '<string>',
'FieldHeight' => 123,
'FieldLabel' => '<string>',
'FieldLeft' => 123,
'FieldTop' => 123,
'FieldWidth' => 123,
'FormatMask' => '<string>',
'HideLabel' => true,
'IsIndexed' => true,
'LabelHeight' => 123,
'LabelLeft' => 123,
'LabelTop' => 123,
'LabelWidth' => 123,
'LastVersionId' => 123,
'ListTableId' => 123,
'IsMandatory' => true,
'Page1LineNo' => 123,
'ProgId' => '<string>',
'IsReadOnly' => true,
'ShortLabel' => '<string>',
'TabOrder' => 123,
'TextLength' => 123,
'Tooltip' => '<string>',
'UdefIdentity' => 123,
'UDListDefinitionId' => 123,
'Version' => 123,
'TemplateVariableName' => '<string>',
'HasBeenPublished' => true,
'MdoListName' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId"
payload = { "Info": {
"UDefFieldId": 123,
"ColumnId": 123,
"FieldDefault": "<string>",
"FieldHeight": 123,
"FieldLabel": "<string>",
"FieldLeft": 123,
"FieldTop": 123,
"FieldWidth": 123,
"FormatMask": "<string>",
"HideLabel": True,
"IsIndexed": True,
"LabelHeight": 123,
"LabelLeft": 123,
"LabelTop": 123,
"LabelWidth": 123,
"LastVersionId": 123,
"ListTableId": 123,
"IsMandatory": True,
"Page1LineNo": 123,
"ProgId": "<string>",
"IsReadOnly": True,
"ShortLabel": "<string>",
"TabOrder": 123,
"TextLength": 123,
"Tooltip": "<string>",
"UdefIdentity": 123,
"UDListDefinitionId": 123,
"Version": 123,
"TemplateVariableName": "<string>",
"HasBeenPublished": True,
"MdoListName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
Info: {
UDefFieldId: 123,
ColumnId: 123,
FieldDefault: '<string>',
FieldHeight: 123,
FieldLabel: '<string>',
FieldLeft: 123,
FieldTop: 123,
FieldWidth: 123,
FormatMask: '<string>',
HideLabel: true,
IsIndexed: true,
LabelHeight: 123,
LabelLeft: 123,
LabelTop: 123,
LabelWidth: 123,
LastVersionId: 123,
ListTableId: 123,
IsMandatory: true,
Page1LineNo: 123,
ProgId: '<string>',
IsReadOnly: true,
ShortLabel: '<string>',
TabOrder: 123,
TextLength: 123,
Tooltip: '<string>',
UdefIdentity: 123,
UDListDefinitionId: 123,
Version: 123,
TemplateVariableName: '<string>',
HasBeenPublished: true,
MdoListName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
})
};
fetch('http://localhost:56350/api/v1/Agents/UserDefinedFieldInfo/FigureOutListIdFromListTableIdAndUDListDefinitionId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));123Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
Info
FigureOutListIdFromListTableIdAndUDListDefinitionId: Kind of the reverse of SetListTableIdAndUDListDefinitionIdFromSelectedListId
Return information about the user defined fields. The information can be used to mirror the layout of the user-defined fields in the user interface. Carrier object for UserDefinedFieldInfo. Services for the UserDefinedFieldInfo Carrier is available from the UserDefinedFieldInfo Agent.
Show child attributes
Show child attributes
Response
OK
The response is of type integer<int32>.
Related topics
NSUserDefinedFieldInfoAgentSet List Table Id And U D List Definition Id From Selected List IdGet List Id By List NameGet From List DefinitionDelete From List DefinitionUDListDefinition table