GET api_v2/providedServices?accountId={accountId}

Получить список оказанных услуг

Request Information

Parameters

NameDescriptionAdditional information
accountId
ID аккаунта

Define this parameter in the request URI.

query
Настройки пагинации, фильтрации и сортировки

Define this parameter in the request URI.

Response Information

Cписок оказанных услуг

Response body formats

application/xml, text/xml

Sample:
<SelectDataResultCommonDtoOfProvidedServiceDm>
  <Records>
    <ProvidedServiceDm>
      <IsHistoricalRow>true</IsHistoricalRow>
      <ServiceDescription>sample string 2</ServiceDescription>
      <Service>Unknown</Service>
      <ResourceType>Esdl</ResourceType>
      <From>2022-05-22T06:43:18.0089562+03:00</From>
      <To>2022-05-22T06:43:18.0089562+03:00</To>
      <Count>3</Count>
      <Rate>4</Rate>
      <FromCorp>true</FromCorp>
      <SposoredAccountName>sample string 6</SposoredAccountName>
    </ProvidedServiceDm>
    <ProvidedServiceDm>
      <IsHistoricalRow>true</IsHistoricalRow>
      <ServiceDescription>sample string 2</ServiceDescription>
      <Service>Unknown</Service>
      <ResourceType>Esdl</ResourceType>
      <From>2022-05-22T06:43:18.0089562+03:00</From>
      <To>2022-05-22T06:43:18.0089562+03:00</To>
      <Count>3</Count>
      <Rate>4</Rate>
      <FromCorp>true</FromCorp>
      <SposoredAccountName>sample string 6</SposoredAccountName>
    </ProvidedServiceDm>
    <ProvidedServiceDm>
      <IsHistoricalRow>true</IsHistoricalRow>
      <ServiceDescription>sample string 2</ServiceDescription>
      <Service>Unknown</Service>
      <ResourceType>Esdl</ResourceType>
      <From>2022-05-22T06:43:18.0089562+03:00</From>
      <To>2022-05-22T06:43:18.0089562+03:00</To>
      <Count>3</Count>
      <Rate>4</Rate>
      <FromCorp>true</FromCorp>
      <SposoredAccountName>sample string 6</SposoredAccountName>
    </ProvidedServiceDm>
  </Records>
  <Pagination>
    <CurrentPage>1</CurrentPage>
    <Page>2</Page>
    <Size>3</Size>
    <TotalCount>4</TotalCount>
    <PageSize>5</PageSize>
    <FirstNumber>6</FirstNumber>
    <LastNumber>7</LastNumber>
    <PageCount>8</PageCount>
  </Pagination>
</SelectDataResultCommonDtoOfProvidedServiceDm>

application/json, text/json

Sample:
{
  "Records": [
    {
      "IsHistoricalRow": true,
      "ServiceDescription": "sample string 2",
      "Service": 0,
      "ResourceType": 1,
      "From": "2022-05-22T06:43:18.0089562+03:00",
      "To": "2022-05-22T06:43:18.0089562+03:00",
      "Count": 3,
      "Rate": 4.0,
      "FromCorp": true,
      "SposoredAccountName": "sample string 6"
    },
    {
      "IsHistoricalRow": true,
      "ServiceDescription": "sample string 2",
      "Service": 0,
      "ResourceType": 1,
      "From": "2022-05-22T06:43:18.0089562+03:00",
      "To": "2022-05-22T06:43:18.0089562+03:00",
      "Count": 3,
      "Rate": 4.0,
      "FromCorp": true,
      "SposoredAccountName": "sample string 6"
    },
    {
      "IsHistoricalRow": true,
      "ServiceDescription": "sample string 2",
      "Service": 0,
      "ResourceType": 1,
      "From": "2022-05-22T06:43:18.0089562+03:00",
      "To": "2022-05-22T06:43:18.0089562+03:00",
      "Count": 3,
      "Rate": 4.0,
      "FromCorp": true,
      "SposoredAccountName": "sample string 6"
    }
  ],
  "Pagination": {
    "CurrentPage": 1,
    "Page": 2,
    "Size": 3,
    "TotalCount": 4,
    "PageSize": 5,
    "FirstNumber": 6,
    "LastNumber": 7,
    "PageCount": 8
  }
}