All Products
Search
Document Center

DataWorks:GetRoute

Last Updated:Dec 12, 2024

Queries the information about a route based on its ID.

Operation description

This API operation is available for all DataWorks editions.

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
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

Successboolean

Indicates whether the request was successful.

true
Routeobject

The information about the route.

NetworkIdlong

The network ID.

1000

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "Route": {
    "Id": 1000,
    "ResourceGroupId": "Serverless_res_group_524257424564736_6831777003XXXXX",
    "ResourceId": "ns-679XXXXX",
    "DestinationCidr": "192.168.0.0/16",
    "CreateTime": 1727055811000,
    "NetworkId": 1000
  },
  "RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history