POST api_v2/AcDbAccesses/Add

Добавить доступ к инф. базе

Request Information

Parameters

NameDescriptionAdditional information
model
Параметры предоставления доступа

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<Request>
  <AccountDatabaseID>ec889a96-ec46-4f8d-a665-22684a20d653</AccountDatabaseID>
  <LocalUserID>01409681-a92f-469e-9d9b-ce041822ee69</LocalUserID>
  <AccountID>b73ae15e-c168-4f70-800a-54e7d0d355a2</AccountID>
  <SendNotification>true</SendNotification>
  <AccountUserID>778f7d26-73df-4396-a764-2bb5da7e11cb</AccountUserID>
</Request>

application/json, text/json

Sample:
{
  "AccountDatabaseID": "ec889a96-ec46-4f8d-a665-22684a20d653",
  "LocalUserID": "01409681-a92f-469e-9d9b-ce041822ee69",
  "AccountID": "b73ae15e-c168-4f70-800a-54e7d0d355a2",
  "SendNotification": true,
  "AccountUserID": "778f7d26-73df-4396-a764-2bb5da7e11cb"
}

Response Information

Доступ к инф. базе

Response body formats

application/xml, text/xml

Sample:
<Result>
  <AccessID>68e84bbe-6724-413e-8e3a-8630ec9eecf1</AccessID>
</Result>

application/json, text/json

Sample:
{
  "AccessID": "68e84bbe-6724-413e-8e3a-8630ec9eecf1"
}