Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Administrative Services API Calls >
PicklistUpsert
Updates an existing set of picklists or inserts a new set of picklists. Usage
Use the PicklistUpsert method to insert a set of picklists or update an existing set of picklists for an object. The object is specified with the <ObjectName> element of apdata:PicklistSet. The apdata:PicklistSet argument contains the following elements containing picklist data:
- Name. The name of the picklist. When performing an insert operation, this name is used as the display name, if a display name is not provided in the <PicklistTranslation> element.
- WebSvcTag. The Web Services v2.0 integration tag name for the field. This element is read-only and is ignored in upsert operations.
- PickListValue. The picklist value.
- ValueId. The number that determines the position of the value in the picklist.
- Disabled. Whether the picklist value is disabled.
- ListOfPicklistTranslation. The picklist value in the languages activated for your company:
- LanguageCode. The three-letter language code for the language.
- Value. The picklist value in the language identified by the language code.
- Order. The order number of the picklist value according to language identified by the language code.
See Oracle Migration Tool On Demand Guide for reference tables about the following:
- Mappings of three-letter language codes to languages.
- Mappings of object names to the display names for the objects in the Oracle CRM On Demand user interface.
Arguments
Table 141 describes the arguments taken by the PicklistUpsert method.
Table 141. Arguments Taken by the PicklistUpsert Method
|
|
|
|
|
apData:PicklistSet |
The picklist data to be inserted or updated. |
Yes |
Not applicable |
Input |
Status |
The status of the call. |
Not applicable |
Not applicable |
Output |
Return Value of the Call
The status is returned.
|