GET api_v2/accounts/{accountId}/services/{serviceId}

Получить информацию о сервисе на аккаунт по пользователю

Request Information

Parameters

NameDescriptionAdditional information
serviceId
Для какого сервиса

Define this parameter in the request URI.

accountId
Для какого аккаунта

Define this parameter in the request URI.

Response Information

Информацию о сервисе на аккаунт

Response body formats

application/xml, text/xml

Sample:
<AccountServiceDto>
  <IsMainServiceNeedPayment>true</IsMainServiceNeedPayment>
  <IsActive>true</IsActive>
  <IsDisabled>true</IsDisabled>
  <ExpiresOn>2022-05-22T06:29:09.2805231+03:00</ExpiresOn>
  <Demo>
    <IsEnabled>true</IsEnabled>
    <ExpiresOn>2022-05-22T06:29:09.2805231+03:00</ExpiresOn>
    <IsExpired>true</IsExpired>
  </Demo>
  <Options>
    <ServiceOptionInfoDto>
      <Id>484b5439-603a-4383-96b7-48549e3c99d0</Id>
      <BillingType>ForAccountUser</BillingType>
      <Subject>9e23316a-9f52-407e-a689-d32f1c2503ed</Subject>
    </ServiceOptionInfoDto>
    <ServiceOptionInfoDto>
      <Id>484b5439-603a-4383-96b7-48549e3c99d0</Id>
      <BillingType>ForAccountUser</BillingType>
      <Subject>9e23316a-9f52-407e-a689-d32f1c2503ed</Subject>
    </ServiceOptionInfoDto>
    <ServiceOptionInfoDto>
      <Id>484b5439-603a-4383-96b7-48549e3c99d0</Id>
      <BillingType>ForAccountUser</BillingType>
      <Subject>9e23316a-9f52-407e-a689-d32f1c2503ed</Subject>
    </ServiceOptionInfoDto>
  </Options>
</AccountServiceDto>

application/json, text/json

Sample:
{
  "IsMainServiceNeedPayment": true,
  "IsActive": true,
  "IsDisabled": true,
  "ExpiresOn": "2022-05-22T06:29:09.2805231+03:00",
  "Demo": {
    "IsEnabled": true,
    "ExpiresOn": "2022-05-22T06:29:09.2805231+03:00",
    "IsExpired": true
  },
  "Options": [
    {
      "Id": "484b5439-603a-4383-96b7-48549e3c99d0",
      "BillingType": 0,
      "Subject": "9e23316a-9f52-407e-a689-d32f1c2503ed"
    },
    {
      "Id": "484b5439-603a-4383-96b7-48549e3c99d0",
      "BillingType": 0,
      "Subject": "9e23316a-9f52-407e-a689-d32f1c2503ed"
    },
    {
      "Id": "484b5439-603a-4383-96b7-48549e3c99d0",
      "BillingType": 0,
      "Subject": "9e23316a-9f52-407e-a689-d32f1c2503ed"
    }
  ]
}