CreateBizTrace
Creates a business link.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:CreateBizTrace |
create |
*BizTrace
|
None | None |
Request syntax
POST /bizTrace HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| workspace |
string |
No |
The workspace. |
default-cms-xxxxxxx-cn-hangzhou |
| bizTraceCode |
string |
No |
The business link identifier. The identifier can contain only letters, digits, and underscores (_), and must start with a lowercase letter. |
label_env |
| bizTraceName |
string |
No |
The name of the business link. |
just test |
| ruleConfig |
string |
No |
The list of configuration rules. |
[{"entrancePid":"xxx@d9w3jd9j3","rpcMatcher":{"matchType":"EQUALS","pattern":"/"},"characteristics":{"operation":"OR","rules":[{"target":"CUSTOM_EXTRACT","id":"oi0b3bb7","key":"biz.test","matcher":{"matchType":"CONTAINS","pattern":["1"]}}]}}] |
| advancedConfig |
string |
No |
The advanced configuration. |
{"sample":{"strategy":"BY_APP"}} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC |
| bizTraceId |
string |
The ID of the business link. |
e339260ed64c95d |
Examples
Success response
JSON format
{
"requestId": "264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC",
"bizTraceId": "e339260ed64c95d"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.