AccountsRestClient class
VSS REST api'lerine istekte bulunmak için kullanılması gereken (türetilen) temel sınıf
- Extends
Oluşturucular
| Accounts |
Özellikler
| RESOURCE_AREA_ID |
Yöntemler
| create |
|
| get |
|
| get |
Belirli bir sahip veya belirli bir üye için hesapların listesini alın. Aşağıdaki parametrelerden biri gereklidir: ownerId, memberId. |
Oluşturucu Ayrıntıları
AccountsRestClient(IVssRestClientOptions)
Özellik Ayrıntıları
RESOURCE_AREA_ID
static RESOURCE_AREA_ID: string
Özellik Değeri
string
Yöntem Ayrıntıları
createAccount(AccountCreateInfoInternal, boolean)
function createAccount(info: AccountCreateInfoInternal, usePrecreated?: boolean): Promise<Account>
Parametreler
- usePrecreated
-
boolean
Döndürülenler
Promise<Account>
getAccount(string)
function getAccount(accountId: string): Promise<Account>
Parametreler
- accountId
-
string
Döndürülenler
Promise<Account>
getAccounts(string, string, string)
Belirli bir sahip veya belirli bir üye için hesapların listesini alın. Aşağıdaki parametrelerden biri gereklidir: ownerId, memberId.
function getAccounts(ownerId?: string, memberId?: string, properties?: string): Promise<Account[]>
Parametreler
- ownerId
-
string
Hesapların sahibinin kimliği.
- memberId
-
string
Hesapların bir üyesinin kimliği.
- properties
-
string
Döndürülenler
Promise<Account[]>