All Products
Search
Document Center

DataWorks:GetDataServiceApplication

Last Updated:Jun 11, 2026

Mengambil detail aplikasi.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

TenantId

integer

No

ID penyewa. Untuk mendapatkan ID penyewa, masuk ke Konsol DataWorks. Temukan ruang kerja Anda dan buka halaman DataStudio. Di halaman DataStudio, klik nama pengguna login di pojok kanan atas dan klik User Info di bagian Menu.

10002

ProjectId

integer

Yes

ID ruang kerja.

10001

ApplicationId

integer

Yes

ID aplikasi. Anda dapat Tampilan informasi aplikasi di Konsol Gerbang API.

10000

Elemen respons

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID.

0000-ABCD-EFG****

ErrorMessage

string

The error message.

Normal

Success

boolean

Indicates whether the request was successful.

true

ErrorCode

string

The error code.

0

Data

object

The details of the application.

ApplicationCode

string

The AppCode for simple authentication. You can select simple authentication or signature authentication when you call an API operation.

CODE123

ApplicationKey

string

The AppKey for signature authentication. You can select simple authentication or signature authentication when you call an API operation.

KEY123

ApplicationSecret

string

The AppSecret for signature authentication. You can select simple authentication or signature authentication when you call an API operation.

SECRET123

ProjectId

integer

The workspace ID.

10001

ApplicationName

string

The name of the application.

Test application

ApplicationId

integer

The application ID.

10000

Pengungkapan parameter ApplicationCode atau ApplicationSecret dapat mengancam keamanan resource API Anda di DataService Studio. Oleh karena itu, nilai parameter ApplicationCode dan ApplicationSecret akan disamarkan sebelum dikembalikan.

Contoh

Respons sukses

JSONformat

{
  "HttpStatusCode": 200,
  "RequestId": "0000-ABCD-EFG****",
  "ErrorMessage": "正常",
  "Success": true,
  "ErrorCode": "0",
  "Data": {
    "ApplicationCode": "CODE123",
    "ApplicationKey": "KEY123",
    "ApplicationSecret": "SECRET123",
    "ProjectId": 10001,
    "ApplicationName": "测试应用",
    "ApplicationId": 10000
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. No permission, please authorize
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.