Use this call to add new choices to a text - multiple choice or multi-select text field in a Quick Base table.
Note: Choices added to a Multi-select Text field are limited to 60 characters, and the total number of choices in the field may not exceed 100.
If you have Full Administration rights on the application, you can add new choices to any field of those types. If you don’t have these rights, you can use this call only on fields with properties that are set to allow users to add new choices. (In the Quick Base UI, you can set the Allow users to create new choices field property to allow users to do this. You can also set this property using API_SetFieldProperties.)
If the choice you specify already exists in the list, it will not be added. No duplicates are allowed.
The field ID of the setfield to which you want to add choices.
Specifies a choice you want to add. Use this tag multiple times to add more than one choice.
A valid authentication ticket.
The authentication ticket is returned via the API_Authenticate call.
yes, one of:
The user token is an alternative means of authentication, used for API access. User tokens cannot be used to access the Quick Base UI.
yes, one of:
A valid application token.
yes, if the application requires application tokens.
A string value that you want returned. It will not be handled by Quick Base but it will be returned in the response.
The originating request, for example, API_FieldAddChoices.
Identifies the error code, if any. (See the Error Codes appendix for a list of possible error codes.)
0 indicates that no error was encountered.
Text that explains the error code.
"No error" indicates that no error was encountered.
Optional. Contains any udata value supplied in the request.
The field ID of the multiple choice field to which you added choices.
The label of the field to which you added choices.
The number of choices successfully added.
where target_domain is the domain against which you are invoking this call, for example, quickbase.com. Read about this notation.
<?xml version="1.0" ?>
Did this help you? Give us a rating:
© 1999-2020 QuickBase, Inc. All rights reserved. Legal Notices.