Activates Serverless App Engine (SAE). The activation operation is free of charge.

Note Make sure that your account balance is greater than 0. Otherwise, the SAE service cannot be activated.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only common request headers. For more information, see Common request parameters and common response parameters.

Request syntax

POST|GET /service/open HTTP/1.1

Request parameters

None

Response parameters

Parameter Type Example Description
RequestId String 559B4247-C41C-4D9E-B866-B55D378B****

The ID of the request.

OrderId String 20485646575****

The ID of the order.

Examples

Sample requests

POST /service/open HTTP/1.1
Host:sae.aliyuncs.com
Content-Type:application/json

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<OpenSaeServiceResponse>
    <RequestId>559B4247-C41C-4D9E-B866-B55D378B****</RequestId>
    <OrderId>20485646575****</OrderId>
</OpenSaeServiceResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "559B4247-C41C-4D9E-B866-B55D378B****",
  "OrderId" : "20485646575****"
}

Error codes

HttpCode Error code Error message Description
400 ORDER.OPEND order opend. The error message returned because the service has been activated.
400 Pay.Insufficient.Balance pay insufficient balance The error message returned because your account balance is insufficient.

For a list of error codes, visit the API Error Center.