GET api/v1/{appId}/contractors/{identifier}/registers/{registerId}/content/{contentId}

Получение контента с реестра для контрагента. К примеру текст решения суда. Получить контент возможно только при условии предварительно запроса информации о контрагенте.

URI ïàðàìåòðû

NameDescriptionTypeAdditional information
appId

string

Required

identifier

string

Required

registerId

integer

Required

contentId

string

Required

Body Parameters

None.

Response Information

Resource Description

Получение контента с реестра для контрагента. К примеру текст решения суда. Получить контент возможно только при условии предварительно запроса информации о контрагенте.

RegisterContentModel
NameDescriptionTypeAdditional information
ContentText

Контент

string

None.

ContentType

Тип контента

RegisterContentType

None.

Status

Статус обновления данных

RegisterUpdateStatus

None.

Response Formats

application/json, text/json

Ïðèìåð:
{
  "ContentText": "sample string 1",
  "ContentType": "Text",
  "Status": "InProgress"
}

application/xml, text/xml

Ïðèìåð:
<RegisterContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Pactum">
  <ContentText>sample string 1</ContentText>
  <ContentType>Text</ContentType>
  <Status>InProgress</Status>
</RegisterContent>