Help Center/ Huawei Cloud Astro Zero/ API Reference/ APIs/ Metadata/ Operating an Object Instance
Updated on 2025-03-21 GMT+08:00

Operating an Object Instance

Function

This API is used to create, update, delete, or query an object instance by object name and object instance ID. This API is a unified API.

URL

POST, GET, PUT, and DELETE Huawei Cloud Astro Zero domain name/u-route/baas/metadata/v1.0/{object_name}/{object_id}

Table 1 URI parameters

Parameter

Mandatory

Type

Description

object_name

Yes

String

Explanation

Name of the object.

Constraints

None

Value

1–80 characters

Default value

None

object_id

Yes

String

Explanation

ID of the object instance, which can be queried by calling the API of Querying All Custom Objects (id in the response message).

Constraints

None

Value

None

Default value

None

Request Parameters

The parameters in the request body vary depending on the value of object_name, which can be Object, Flow, BPM, or Picklist. The following topics describe the operations on each type of objects.

Response Parameters

For details, see the objects in the corresponding sections.

Example Request

For details, see the objects in the corresponding sections.

Example Response

For details, see the objects in the corresponding sections.

Status Code

See Status Codes.

Error Code

See Error Codes.