Примеры сформированных запросов и ответов#
Формирование запроса на создание новой записи о договоре купли-продажи#
Для формирования запроса на создание записи о договоре купли-продажи необходимо предварительно сформировать запрос на создание записей о выделах, таксационных описаниях выделов и лесосеках. При формировании запроса с указанием идентификатора созданной лесосеки (параметр «cuttingAreaIds»), информация о выделах и объёмах заготовки древесины будет автоматически внесена в подсистему ГЛР.
<soapenv:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен/"> <soapenv:Header> <api:EgaisRequestHeader apiVersion="версия API" operationId="?"> <api:security> <api:credentials userLogin='логин пользователя' userPassword='пароль пользователя'/> <api:apiKey>идентификатор внешней системы</api:apiKey> </api:security> </api:EgaisRequestHeader> </soapenv:Header> <soapenv:Body> <api:RequestInsertDocument> <api:contractPlantsSale sourceKey="?"> <con3:contractNumber>20/10</con3:contractNumber> <!--Optional:--> <con3:status>draft</con3:status> <con3:receiptDate>2018-10-19T13:42:24</con3:receiptDate> <!--Optional:--> <con3:signatureDate>2018-10-19T13:42:24</con3:signatureDate> <con3:clientCreateTime>2018-10-19T13:42:24</con3:clientCreateTime> <con3:partyId>1207175</con3:partyId> <con3:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </con3:legalAgreementStartDate> <con3:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </con3:legalAgreementEndDate> <!--Optional:--> <con3:woodlotElements> <!--Zero or more repetitions:--> <com:woodlotElement id="1"> <com:elementNumber>1</com:elementNumber> <com:constituentEntityId>22</com:constituentEntityId> <com:forestryId>G_00021</com:forestryId> <com:subForestryId>G_U0002</com:subForestryId> <com:forestBlockNumber>165</com:forestBlockNumber> <!--Optional:--> <com:surveyPlotRange>1</com:surveyPlotRange> <com:area>5530</com:area> </com:woodlotElement> </con3:woodlotElements> <!--Optional:--> <con3:coniferousVolume>1000</con3:coniferousVolume> <!--Optional:--> <con3:hardwoodVolume>2000</con3:hardwoodVolume> <!--Optional:--> <con3:softwoodVolume>800</con3:softwoodVolume> <con3:sellDocType sourceKey="?" id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> <!--Optional:--> <con3:cuttingAreaIds> <!--Zero or more repetitions:--> <com:id>1</com:id> </con3:cuttingAreaIds> </api:contractPlantsSale> </api:RequestInsertDocument> </soapenv:Body> </soapenv:Envelope>
Формирование ответа на создание новой записи о договоре купли-продажи#
При формировании запроса на создание записи с указанием идентификатора созданной лесосеки (параметр «cuttingAreaIds»), в ответе на запрос будет отражаться информация о выделах и объёмах заготовки древесины.
<soap:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен> <soap:Header> <ns4:EgaisResponseHeader техническая информация с атрибутами xmlns, определяющими пространства имен> </soap:Header> <soap:Body> < ns2:ResponseInsertDocument техническая информация с атрибутами xmlns, определяющими пространства имен> <ns2:contractPlantsSale createDate="2018-10-19T18:18:56.212+03:00" updateDate="2018-10-19T18:18:56.212+03:00" sourceSystem="T" createdBy="логин пользователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" id="P_945684" documentId="P_3373135" sourceKey="?"> <ns4:contractNumber>30/10</ns4:contractNumber> <ns4:status>draft</ns4:status> <ns4:clientCreateTime>2018-10-19T13:42:24.000</ns4:clientCreateTime> <ns4:partyId>1207175</ns4:partyId> <ns4:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </ns4:legalAgreementStartDate> <ns4:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </ns4:legalAgreementEndDate> <ns4:woodlotElements> <woodlotElement id="P_24713768"> <elementNumber>1</elementNumber> <constituentEntityId>22</constituentEntityId> <forestryId>G_00021</forestryId> <subForestryId>G_U0002</subForestryId> <forestBlockNumber>165</forestBlockNumber> <surveyPlotRange>1</surveyPlotRange> <area>5530.0</area> </woodlotElement> </ns4:woodlotElements> <ns8:stateAuthorityId>22</ns8:stateAuthorityId> <ns8:coniferousVolume>1000.0</ns8:coniferousVolume> <ns8:hardwoodVolume>2000.0</ns8:hardwoodVolume> <ns8:softwoodVolume>800.0</ns8:softwoodVolume> <ns8:sellDocType id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> <ns8:cuttingAreaIds> <id>1</id> </ns8:cuttingAreaIds> <ns8:plotFacts> <plotFact xsi:type="PlotFactResponse" id="1" createDate="2018-10-19T18:14:54.374+03:00" createdBy="логин пользователя, создавшего запись"> <cuttingPlotId>1</cuttingPlotId> <cuttingAreaId>1</cuttingAreaId> <activityPlace> <ns12:id>108</ns12:id> <ns12:name>Лесосека</ns12:name> </activityPlace> <treeSpecie> <ns12:id>3</ns12:id> <ns12:name>Мягколиственное</ns12:name> </treeSpecie> <woodBreedId>1301</woodBreedId> <useSquare>3500</useSquare> <value>0.0</value> <value2>0.0</value2> <jsonData>{"age": 0, "height": 0, "bonitet": {"id": 8, "name": "V"}, "comment": "", "ageGroup": {"id": "5", "name": "Спелые"}, "completeness": 0.1, "maxUsedValue": 0, "fireWoodVolume": 0, "timberWoodVolume": 0, "illiquidWoodVolume": 0, "infrastructureNumber": "", "landCharacteristicStartDate": {"id": "1", "name": "Лесные насаждения"}}</jsonData> <meta> <ns12:value>GROUP</ns12:value> </meta> </plotFact> </ns8:plotFacts> </ns2:contractPlantsSale> </ns2:ResponseInsertDocument> </soap:Body> </soap:Envelope>
Формирование запроса на редактирование записи о договоре купли-продажи#
Формирование запроса на редактирование номера договора купли-продажи.
<soapenv:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен/"> <soapenv:Header> <api:EgaisRequestHeader apiVersion="версия API" operationId="?"> <api:security> <api:credentials userLogin='логин пользователя' userPassword='пароль пользователя'/> <api:apiKey>идентификатор внешней системы</api:apiKey> </api:security> </api:EgaisRequestHeader> </soapenv:Header> <soapenv:Body> <api:RequestUpdateDocument> <api:contractPlantsSale sourceKey="?" id="P_945684" documentId="P_3373135"> <!--Optional:--> <con3:contractNumber>15/10</con3:contractNumber> <!--Optional:--> <con3:status>draft</con3:status> <!--Optional:--> <con3:receiptDate>2018-10-19T13:42:24</con3:receiptDate> <!--Optional:--> <con3:signatureDate>2018-10-19T13:42:24</con3:signatureDate> <!--Optional:--> <con3:clientCreateTime>2018-10-19T13:42:24</con3:clientCreateTime> <!--Optional:--> <con3:partyId>1207175</con3:partyId> <!--Optional:--> <con3:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </con3:legalAgreementStartDate> <!--Optional:--> <con3:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </con3:legalAgreementEndDate> <!--Optional:--> <con3:woodlotElements> <!--Zero or more repetitions:--> <com:woodlotElement id="1"> <com:elementNumber>1</com:elementNumber> <com:constituentEntityId>22</com:constituentEntityId> <com:forestryId>G_00021</com:forestryId> <com:subForestryId>G_U0002</com:subForestryId> <com:forestBlockNumber>165</com:forestBlockNumber> <!--Optional:--> <com:surveyPlotRange>1</com:surveyPlotRange> <com:area>5530</com:area> </com:woodlotElement> </con3:woodlotElements> <!--Optional:--> <con3:coniferousVolume>1000</con3:coniferousVolume> <!--Optional:--> <con3:hardwoodVolume>2000</con3:hardwoodVolume> <!--Optional:--> <con3:softwoodVolume>800</con3:softwoodVolume> <!--Optional:--> <con3:sellDocType sourceKey="?" id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> </api:contractPlantsSale> </api:RequestUpdeteDocument> </soapenv:Body> </soapenv:Envelope>
Формирование ответа на редактирование записи о договоре купли-продажи#
<soap:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен> <soap:Header> <ns4:EgaisResponseHeader техническая информация с атрибутами xmlns, определяющими пространства имен> </soap:Header> <soap:Body> < ns2:ResponseUpdateDocument техническая информация с атрибутами xmlns, определяющими пространства имен> <ns2:contractPlantsSale id="P_945684" documentId="P_3373135" createDate="2018-10-19T19:20:37.486+03:00" updateDate="2018-10-19T19:20:37.486+03:00" sourceSystem="T" createdBy="логин плдьзователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" sourceKey="?"> <ns4:contractNumber>15/10</ns4:contractNumber> <ns4:status>draft</ns4:status> <ns4:clientCreateTime>2018-10-19T13:42:24.000</ns4:clientCreateTime> <ns4:partyId>1207175</ns4:partyId> <ns4:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </ns4:legalAgreementStartDate> <ns4:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </ns4:legalAgreementEndDate> <ns4:woodlotElements> <woodlotElement id="P_24713770"> <elementNumber>1</elementNumber> <constituentEntityId>22</constituentEntityId> <forestryId>G_00021</forestryId> <subForestryId>G_U0002</subForestryId> <forestBlockNumber>165</forestBlockNumber> <surveyPlotRange>1</surveyPlotRange> <area>5530.0</area> </woodlotElement> </ns4:woodlotElements> <ns8:stateAuthorityId>22</ns8:stateAuthorityId> <ns8:coniferousVolume>1000.0</ns8:coniferousVolume> <ns8:hardwoodVolume>2000.0</ns8:hardwoodVolume> <ns8:softwoodVolume>800.0</ns8:softwoodVolume> <ns8:sellDocType id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> </ns2:contractPlantsSale> </ns2:ResponseUpdateDocument> </soap:Body> </soap:Envelope>
Формирование запроса на получение данных о договоре купли-продажи#
Для формирования запроса на получение данных о договоре купли-продажи необходимо указать тип документа и его идентификатор.
<soapenv:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен/"> <soapenv:Header> <api:EgaisRequestHeader apiVersion="версия API" operationId="?"> <api:security> <api:credentials userLogin='логин пользователя' userPassword='пароль пользователя'/> <api:apiKey>идентификатор внешней системы</api:apiKey> </api:security> </api:EgaisRequestHeader> </soapenv:Header> <soapenv:Body> <api:RequestGetDocument> <api:documentRef id="P_945684" documentType="contractPlantsSale"/> </api:RequestGetDocument> </soapenv:Body> </soapenv:Envelope>
Формирование ответа на получение данных о договоре купли-продажи#
<soap:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен> <soap:Header> <ns4:EgaisResponseHeader техническая информация с атрибутами xmlns, определяющими пространства имен> </soap:Header> <soap:Body> <ns2:ResponseGetDocument техническая информация с атрибутами xmlns, определяющими пространства имен> <ns2:contractPlantsSale createDate="2018-10-19T18:18:56.212+03:00" updateDate="2018-10-19T18:18:56.212+03:00" sourceSystem="T" createdBy="логин пользователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" id="P_945684" documentId="P_3373135" sourceKey="?"> <ns4:contractNumber>30/10</ns4:contractNumber> <ns4:status>draft</ns4:status> <ns4:clientCreateTime>2018-10-19T13:42:24.000</ns4:clientCreateTime> <ns4:partyId>1207175</ns4:partyId> <ns4:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </ns4:legalAgreementStartDate> <ns4:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </ns4:legalAgreementEndDate> <ns4:woodlotElements> <woodlotElement id="P_24713768"> <elementNumber>1</elementNumber> <constituentEntityId>22</constituentEntityId> <forestryId>G_00021</forestryId> <subForestryId>G_U0002</subForestryId> <forestBlockNumber>165</forestBlockNumber> <surveyPlotRange>1</surveyPlotRange> <area>5530.0</area> </woodlotElement> </ns4:woodlotElements> <ns8:stateAuthorityId>22</ns8:stateAuthorityId> <ns8:coniferousVolume>1000.0</ns8:coniferousVolume> <ns8:hardwoodVolume>2000.0</ns8:hardwoodVolume> <ns8:softwoodVolume>800.0</ns8:softwoodVolume> <ns8:sellDocType id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> <ns8:cuttingAreaIds> <id>1</id> </ns8:cuttingAreaIds> <ns8:plotFacts> <plotFact xsi:type="PlotFactResponse" id="1" createDate="2018-10-19T18:14:54.374+03:00" createdBy="логин пользователя, создавшего запись"> <cuttingPlotId>1</cuttingPlotId> <cuttingAreaId>1</cuttingAreaId> <activityPlace> <ns12:id>108</ns12:id> <ns12:name>Лесосека</ns12:name> </activityPlace> <treeSpecie> <ns12:id>3</ns12:id> <ns12:name>Мягколиственное</ns12:name> </treeSpecie> <woodBreedId>1301</woodBreedId> <useSquare>3500</useSquare> <value>0.0</value> <value2>0.0</value2> <jsonData>{"age": 0, "height": 0, "bonitet": {"id": 8, "name": "V"}, "comment": "", "ageGroup": {"id": "5", "name": "Спелые"}, "completeness": 0.1, "maxUsedValue": 0, "fireWoodVolume": 0, "timberWoodVolume": 0, "illiquidWoodVolume": 0, "infrastructureNumber": "", "landCharacteristicStartDate": {"id": "1", "name": "Лесные насаждения"}}</jsonData> <meta> <ns12:value>GROUP</ns12:value> </meta> </plotFact> </ns8:plotFacts> </ns2:contractPlantsSale> </ns2:ResponseGetDocument> </soap:Body> </soap:Envelope>
Формирование запроса на получение данных о договоре купли-продажи
по заданным параметрам фильтрации#
Формирование запроса на получение данных о договоре купли-продажи по статусу документа.
<soapenv:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен/"> <soapenv:Header> <api:EgaisRequestHeader apiVersion="версия API" operationId="?"> <api:security> <api:credentials userLogin='логин пользователя' userPassword='пароль пользователя'/> <api:apiKey>идентификатор внешней системы</api:apiKey> </api:security> </api:EgaisRequestHeader> </soapenv:Header> <soapenv:Body> <api:RequestGetDocumentsByFilter documentType="contractForestWorks" pageSize="10" pageNumber="0"> <!--0 to 100 repetitions:--> <api:item> <fil:property>status</fil:property> <fil:value>1</fil:value> <!--Optional:--> <fil:operation>EQ</fil:operation> </api:item> </api:RequestGetDocumentsByFilter> </soapenv:Body> </soapenv:Envelope>
Формирование ответа на получение данных о договоре купли-продажи
по заданным параметрам фильтрации#
<soap:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен> <soap:Header> <ns4:EgaisResponseHeader техническая информация с атрибутами xmlns, определяющими пространства имен> </soap:Header> <soap:Body> <ns2:ResponseGetDocumentsByFilter техническая информация с атрибутами xmlns, определяющими пространства имен> <ns2:contractPlantsSale createDate="2018-10-19T18:18:56.212+03:00" updateDate="2018-10-19T18:18:56.212+03:00" sourceSystem="T" createdBy="логин пользователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" id="P_945684" documentId="P_3373135" sourceKey="?"> <ns4:contractNumber>30/10</ns4:contractNumber> <ns4:status>draft</ns4:status> <ns4:clientCreateTime>2018-10-19T13:42:24.000</ns4:clientCreateTime> <ns4:partyId>1207175</ns4:partyId> <ns4:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </ns4:legalAgreementStartDate> <ns4:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </ns4:legalAgreementEndDate> <ns8:stateAuthorityId>22</ns8:stateAuthorityId> <ns8:coniferousVolume>1000.0</ns8:coniferousVolume> <ns8:hardwoodVolume>2000.0</ns8:hardwoodVolume> <ns8:softwoodVolume>800.0</ns8:softwoodVolume> <ns8:sellDocType id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> </ns2:contractPlantsSale> </ns2:ResponseGetDocumentsByFilter> </soap:Body> </soap:Envelope>
Формирование запроса на получение данных о договоре купли-продажи
с указанной даты#
Для формирования запроса на получение данных о созданных или измененных документах необходимо указать дату и тип документа.
<soapenv:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен/"> <soapenv:Header> <api:EgaisRequestHeader apiVersion="версия API" operationId="?"> <api:security> <api:credentials userLogin='логин пользователя' userPassword='пароль пользователя'/> <api:apiKey>идентификатор внешней системы</api:apiKey> </api:security> </api:EgaisRequestHeader> </soapenv:Header> <soapenv:Body> <api:RequestGetModifiedDocuments createOrUpdateDateFrom="2018-10-19T15:33:12.751+03:00" documentType="contractPlantsSale" pageSize="10" pageNumber="0"/> </soapenv:Body> </soapenv:Envelope>
Формирование ответа на получение данных о договоре купли-продажи
с указанной даты#
<soap:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен> <soap:Header> <ns4:EgaisResponseHeader техническая информация с атрибутами xmlns, определяющими пространства имен> </soap:Header> <soap:Body> <ns2: RequestGetModifiedDocuments техническая информация с атрибутами xmlns, определяющими пространства имен> <ns2:contract createDate="2018-10-19T17:56:35.749+03:00" updateDate="2018-10-19T19:20:04.650+03:00" sourceSystem="T" createdBy="логин пользователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" id="P_945683" documentId="P_3373130" sourceKey="?"> <ns4:status>deleted</ns4:status> <ns4:contactType>contractPlantsSale</ns4:contactType> <ns4:contractNumber>20/10</ns4:contractNumber> <ns4:contractStartDate>2018-10-19T00:00:00.000+03:00 </ns4:contractStartDate> <ns4:contractEndDate>2019-03-29T00:00:00.000+03:00 </ns4:contractEndDate> <ns4:partyId>1207175</ns4:partyId> <ns4:partyType>0</ns4:partyType> <ns4:partyInn>ИНН</ns4:partyInn> <ns4:partyOgrn>ОГРН</ns4:partyOgrn> <ns4:partyName>ООО "Тестовая компания</ns4:partyName> <ns4:partyPersonFirstName/> <ns4:partyPersonLastName/> <ns4:partyPersonMidName/> </ns2:contract> <ns2:contract createDate="2018-10-19T18:18:56.212+03:00" updateDate="2018-10-19T18:18:56.212+03:00" sourceSystem="T" createdBy="логин пользователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" id="P_945684" documentId="P_3373135" sourceKey="?"> <ns4:status>draft</ns4:status> <ns4:contactType>contractPlantsSale</ns4:contactType> <ns4:contractNumber>30/10</ns4:contractNumber> <ns4:contractStartDate>2018-10-19T00:00:00.000+03:00 </ns4:contractStartDate> <ns4:contractEndDate>2019-03-29T00:00:00.000+03:00 </ns4:contractEndDate> <ns4:partyId>1207175</ns4:partyId> <ns4:partyType>0</ns4:partyType> <ns4:partyInn>ИНН</ns4:partyInn> <ns4:partyOgrn>ОГРН</ns4:partyOgrn> <ns4:partyName>ООО "Тестовая компания</ns4:partyName> <ns4:partyPersonFirstName/> <ns4:partyPersonLastName/> <ns4:partyPersonMidName/> </ns2:contract> </ns2:ResponseGetModifiedDocuments> </soap:Body> </soap:Envelope>
Формирование запроса на перевод подписанного договора купли-продажи
в статус «Редактируется»#
<soapenv:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен/"> <soapenv:Header> <api:EgaisRequestHeader apiVersion="версия API" operationId="?"> <api:security> <api:credentials userLogin='логин пользователя' userPassword='пароль пользователя'/> <api:apiKey>идентификатор внешней системы</api:apiKey> </api:security> </api:EgaisRequestHeader> </soapenv:Header> <soapenv:Body> <api:RequestStartDocumentEdit> <api:DocumentRef id="P_945684" documentType="contractPlantsSale"/> <api:reason>7</api:reason> <api:reasonText>причина перевода в другой статус</api:reasonText> </api:RequestStartDocumentEdit> </soapenv:Body> </soapenv:Envelope>
Формирование ответа на перевод подписанного договора купли-продажи
в статус «Редактируется»#
<soap:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен> <soap:Header> <ns4:EgaisResponseHeader техническая информация с атрибутами xmlns, определяющими пространства имен> </soap:Header> <soap:Body> <ns2:ResponseStartDocumentEdit техническая информация с атрибутами xmlns, определяющими пространства имен> <ns2:contractPlantsSale createDate="2018-10-19T18:18:56.212+03:00" updateDate="2018-10-19T18:18:56.212+03:00" sourceSystem="T" createdBy="логин пользователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" id="P_945684" documentId="P_3373135" sourceKey="?"> <ns4:contractNumber>30/10</ns4:contractNumber> <ns4:status>editing</ns4:status> <ns4:clientCreateTime>2018-10-19T13:42:24.000</ns4:clientCreateTime> <ns4:partyId>1207175</ns4:partyId> <ns4:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </ns4:legalAgreementStartDate> <ns4:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </ns4:legalAgreementEndDate> <ns4:woodlotElements> <woodlotElement id="P_24713768"> <elementNumber>1</elementNumber> <constituentEntityId>22</constituentEntityId> <forestryId>G_00021</forestryId> <subForestryId>G_U0002</subForestryId> <forestBlockNumber>165</forestBlockNumber> <surveyPlotRange>1</surveyPlotRange> <area>5530.0</area> </woodlotElement> </ns4:woodlotElements> <ns8:stateAuthorityId>22</ns8:stateAuthorityId> <ns8:coniferousVolume>1000.0</ns8:coniferousVolume> <ns8:hardwoodVolume>2000.0</ns8:hardwoodVolume> <ns8:softwoodVolume>800.0</ns8:softwoodVolume> <ns8:sellDocType id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> <ns8:cuttingAreaIds> <id>1</id> </ns8:cuttingAreaIds> <ns8:plotFacts> <plotFact xsi:type="PlotFactResponse" id="1" createDate="2018-10-19T18:14:54.374+03:00" createdBy="логин пользователя, изменившего запись"> <cuttingPlotId>1</cuttingPlotId> <cuttingAreaId>1</cuttingAreaId> <activityPlace> <ns12:id>108</ns12:id> <ns12:name>Лесосека</ns12:name> </activityPlace> <treeSpecie> <ns12:id>3</ns12:id> <ns12:name>Мягколиственное</ns12:name> </treeSpecie> <woodBreedId>1301</woodBreedId> <useSquare>3500</useSquare> <value>0.0</value> <value2>0.0</value2> <jsonData>{"age": 0, "height": 0, "bonitet": {"id": 8, "name": "V"}, "comment": "", "ageGroup": {"id": "5", "name": "Спелые"}, "completeness": 0.1, "maxUsedValue": 0, "fireWoodVolume": 0, "timberWoodVolume": 0, "illiquidWoodVolume": 0, "infrastructureNumber": "", "landCharacteristicStartDate": {"id": "1", "name": "Лесные насаждения"}}</jsonData> <meta> <ns12:value>GROUP</ns12:value> </meta> </plotFact> </ns8:plotFacts> </ns2:contractPlantsSale> </ns2:ResponseStartDocumentEdit> </soap:Body> </soap:Envelope>
Формирование запроса на перевод договора купли-продажи в статус «Удалён»#
<soapenv:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен/"> <soapenv:Header> <api:EgaisRequestHeader apiVersion="версия API" operationId="?"> <api:security> <api:credentials userLogin='логин пользователя' userPassword='пароль пользователя'/> <api:apiKey>идентификатор внешней системы</api:apiKey> </api:security> </api:EgaisRequestHeader> </soapenv:Header> <soapenv:Body> <api:RequestDeleteDocument> <api:contract> <api:DocumentRef id="P_945684" documentType="contractPlantsSale"/> <api:reason>3</api:reason> <api:reasonText>причина перевода в другой статус</api:reasonText> </api:contract> </api:RequestDeleteDocument> </soapenv:Body> </soapenv:Envelope>
Формирование ответа на перевод договора купли-продажи в статус «Удалён»#
<soap:Envelope техническая информация с атрибутами xmlns, определяющими пространства имен> <soap:Header> <ns4:EgaisResponseHeader техническая информация с атрибутами xmlns, определяющими пространства имен> </soap:Header> <soap:Body> <ns2:ResponseDeleteDocument техническая информация с атрибутами xmlns, определяющими пространства имен> <ns2:contractPlantsSale createDate="2018-10-19T18:18:56.212+03:00" updateDate="2018-10-19T18:18:56.212+03:00" sourceSystem="T" createdBy="логин пользователя, создавшего запись" updatedBy="логин пользователя, изменившего запись" updatedBySystem="T" id="P_945684" documentId="P_3373135" sourceKey="?"> <ns4:contractNumber>30/10</ns4:contractNumber> <ns4:status>deleted</ns4:status> <ns4:clientCreateTime>2018-10-19T13:42:24.000</ns4:clientCreateTime> <ns4:partyId>1207175</ns4:partyId> <ns4:legalAgreementStartDate>2018-10-19T00:00:00.000+03:00 </ns4:legalAgreementStartDate> <ns4:legalAgreementEndDate>2019-03-29T00:00:00.000+03:00 </ns4:legalAgreementEndDate> <ns4:woodlotElements> <woodlotElement id="P_24713768"> <elementNumber>1</elementNumber> <constituentEntityId>22</constituentEntityId> <forestryId>G_00021</forestryId> <subForestryId>G_U0002</subForestryId> <forestBlockNumber>165</forestBlockNumber> <surveyPlotRange>1</surveyPlotRange> <area>5530.0</area> </woodlotElement> </ns4:woodlotElements> <ns8:stateAuthorityId>22</ns8:stateAuthorityId> <ns8:coniferousVolume>1000.0</ns8:coniferousVolume> <ns8:hardwoodVolume>2000.0</ns8:hardwoodVolume> <ns8:softwoodVolume>800.0</ns8:softwoodVolume> <ns8:sellDocType id="2" name="Договор купли-продажи лесных насаждений для собственных нужд (статья 30 Лесного кодекса)"/> <ns8:cuttingAreaIds> <id>1</id> </ns8:cuttingAreaIds> <ns8:plotFacts> <plotFact xsi:type="PlotFactResponse" id="1" createDate="2018-10-19T18:14:54.374+03:00" createdBy="логин пользователя, изменившего запись"> <cuttingPlotId>1</cuttingPlotId> <cuttingAreaId>1</cuttingAreaId> <activityPlace> <ns12:id>108</ns12:id> <ns12:name>Лесосека</ns12:name> </activityPlace> <treeSpecie> <ns12:id>3</ns12:id> <ns12:name>Мягколиственное</ns12:name> </treeSpecie> <woodBreedId>1301</woodBreedId> <useSquare>3500</useSquare> <value>0.0</value> <value2>0.0</value2> <jsonData>{"age": 0, "height": 0, "bonitet": {"id": 8, "name": "V"}, "comment": "", "ageGroup": {"id": "5", "name": "Спелые"}, "completeness": 0.1, "maxUsedValue": 0, "fireWoodVolume": 0, "timberWoodVolume": 0, "illiquidWoodVolume": 0, "infrastructureNumber": "", "landCharacteristicStartDate": {"id": "1", "name": "Лесные насаждения"}}</jsonData> <meta> <ns12:value>GROUP</ns12:value> </meta> </plotFact> </ns8:plotFacts> </ns2:contractPlantsSale> </ns2:ResponseDeleteDocument> </soap:Body> </soap:Envelope>