Oracle® Life Sciences Data Hub Application Programming Interface Guide Release 2.3.1 Part Number E35306-02 |
|
|
View PDF |
This is a public interface which hosts the Naming API for updating the Version label.
This section contains one API for updating a version label.
Use this API to create or modify an object version label. If the same label exists for another version of the object, the API returns that version number. * @param p_api_version (Mandatory) Enter the current version of the API you are calling. The API compares the version numbers of incoming calls to its current version number and returns an error if they are incompatible.
Name CDR_PUB_DF_NAMING.UpdateVersionLabel
PROCEDURE UPDATEVERSIONLABEL( P_API_VERSION IN NUMBER, P_INIT_MSG_LIST IN VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, P_COMMIT IN VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, P_VALIDATION_LEVEL IN NUMBER := CDR_PUB_DEF_CONSTANTS.G_VALID_LEVEL_FULL, X_RETURN_STATUS OUT VARCHAR2, X_MSG_COUNT OUT NUMBER, X_MSG_DATA OUT VARCHAR2, PIO_NAMING IN OUT CDR_NAMING_VERSION_OBJ_TYPE );
Parameters This API has standard parameters (see "Standard Parameters") and the following parameters:
PIO_NAMING (Mandatory) This is a parameter of table type CDR_NAMING_VERSION_OBJ_TYPE that contains object attributes. Enter values to identify the object version that you want to label.
The following attributes are required: COMPANY_ID,OBJ_ID,OBJ_VER,VERSION_LABEL. For VERSION_LABEL enter the text of the label you want to apply to this object version.