All Products
Search
Document Center

DataWorks:GetOptionValueForProject

Last Updated:Oct 17, 2024

Queries the option settings of an extension in a workspace.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ExtensionCodestringNo

The unique code of the extension.

ce4*********086da5
ProjectIdstringNo

The workspace ID.

234

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

E6F0DBDD-5AD****
OptionValuestring

The data returned In the example, cuNumber is a custom key.

{"cuNumber":"0"}

Examples

Sample success responses

JSONformat

{
  "RequestId": "E6F0DBDD-5AD****",
  "OptionValue": "{\"cuNumber\":\"0\"}"
}

Error codes

For a list of error codes, visit the Service error codes.