Metadata Web Service
MethodMetadataEdit
Description
This method allows the user to edit metadata from a specified CoreOne record.
Request (MetadataEdit)

Below are the required parameters to successfully edit metadata for a specified CoreOne record. If any parameter is omitted an error message will be displayed alerting the user.

Request Body Parameters

NameDescriptionData Type
token

This is a 40-character hexadecimal string.

This token should have been obtained at the commencement of a session using the Login (Method). It is required for all functional CoreOne web services.
xml:string
modelnameThis is the model name of the record which metadata the user wishes to access.
xml:string
idThis is an internal CoreOne id used to specify which record's metadata will be accessed.xml:int
meta_nameThis is the name of the metadata that the user wishes to edit.xml:string
meta_valueThis is the new value in which the specified metadata will be updated with.xml:string
Response (MetadataEdit_response)

This is the returned status message to tell the user the result of the method.

An error message will be displayed instead of the status message if any of the input parameters fail any validation rule. For example if the user's token is invalid or the record doesn't exist. It will alert the user on what parameter failed validation and the reason why.

Response Body Parameters

NameDescriptionData Type
status

If the metadata was successfully updated a message "Edit Successful." will be returned. If the metadata was not successfully updated a message "Edit Failed." will be returned.

xml:string
Remarks

See Also
All Operations Resource GroupMetadata Web Service

 

 


© 2014-2018 All Rights Reserved.

Send comments on this topic.