Activates the transit router feature.
Operation description
You can call the OpenTransitRouterService operation to activate the transit router feature free of charge. After the OpenTransitRouterService operation succeeds, an order is automatically generated. You can use the returned order ID to query the order information in Alibaba Cloud User Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:OpenTransitRouterService |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters. |
02fb3da4-130e-11e9-8e44-001**** |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
The response. |
||
| OrderId |
string |
The ID of the order. |
21370700730**** |
| RequestId |
string |
The ID of the request. |
866DEBE1-6411-51EC-80D8-975349B9FB4A |
Examples
Success response
JSON format
{
"OrderId": "21370700730****",
"RequestId": "866DEBE1-6411-51EC-80D8-975349B9FB4A"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Risk.RiskControlRejection | To protect your account security, the order has been suspended. Contact customer service for details. | The error message returned because the order is suspended due to security concerns. Contact customer service for details. |
| 400 | Order.Opened | The service is already activated. Log on to the console to use it. | The error message returned because the service has been activated. You can log on to the console to manage it. |
| 400 | OperationFailed.NoAvailablePaymentMethod | No payment method is specified for your account. We recommend that you add a payment method. | The error message returned because no payment method is specified for your account. Specify a payment method and try again. |
| 400 | OperationFailed.BasicInfoUncompleted | Your information is incomplete. Complete your information before the operation. | The error message returned because your basic information is incomplete. Complete your basic information and try again. |
| 400 | PayFor.CreditPayInsufficientBalance | Insufficient quota. Contact your channel partner to increase your quota. | The error message returned because your Alibaba Cloud account does not have a sufficient balance. Contact your channel partner to top up your account balance. |
| 400 | NoPermission.AliyunServiceRoleForCEN | No permission to open AliyunServiceRole for CEN. | The error message returned because you do not have the required permissions. |
| 400 | OperationFailed.PurchaseQuantityLimit | You have exceeded the maximum quantity you can purchase. | The error message returned because the number of instances has reached the upper limit and you cannot purchase more. |
| 400 | OperationFailed.QuotaNotEnough | The quota is not enough. | The error message returned because the resource quota is exhausted and you cannot create more. |
| 400 | OperationFailed.ConcurrentOperation | The operation failed caused by concurrent operation. | The error message returned because the concurrent operations failed. Do not frequently perform this operation. Try again later. |
| 400 | OperationFailed.Risk | A risk was detected in your payment method. Complete verification through the link in the email or internal message, then place the order again. | |
| 400 | OperationFailed.UseStoredCardFailed | Operation failed because use stored card failed. | The error message returned because you failed to complete the payment with the specified stored-value card. |
| 400 | PayFor.AccountMoneyValidateError | Insufficient available balance in your account. | The error message returned because your Alibaba Cloud account does not have a sufficient balance. |
| 400 | EntityNotExist.Account | The role not exists: AliyunServiceRoleForCEN. | The error message returned because AliyunServiceRoleForCEN does not exist. |
| 400 | OperationFailed.InsufficientAvailableQuota | Operation failed due to the account quota is insufficient. | The available amount of the account is insufficient. |
| 400 | OperationFailed.NoRealNameAuthentication | No real-name authentication was applied. | No real-name authentication was performed. |
| 400 | OperationFailed.ContainsForbiddenLabel | You cannot place the order because orders are prohibited by a label. | You cannot place the order because orders are prohibited by a label. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.