Поиск
Последние темы
Горячие темы
Список участников
На главную страницу
Регистрация
/
Вход
Сообщения, отправленные пользователем: bml505
Индекс форума
»
Профиль для bml505
»
Сообщения, отправленные пользователем bml505
◄
1
2
Перейти
Перейти на стр....
Автор
Сообщение
Компонент МЕРКУРИЙ
»
MERC13180 Обслуживаемое предприятие с указанным идентификатором не найдено в реестре РСХН
»
Перейти к сообщению
Добрый день! У меня проблема с гашением ВСД. Отправляю XML следующего содержания :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body xmlns:NS1="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <submitApplicationRequest xmlns="http://api.vetrf.ru/schema/cdm/application/ws-definitions"> <apiKey>***</apiKey> <application xmlns="http://api.vetrf.ru/schema/cdm/application"> <serviceId>mercury-g2b.service:2.0</serviceId> <issuerId>12d464c6-361e-4feb-b4b9-7ce1494941d6</issuerId> <issueDate>2017-12-20T15:45:45.882+03:00</issueDate> <data> <processIncomingConsignmentRequest xmlns="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2"> <localTransactionId>22412</localTransactionId> <initiator> <login xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2">***</login> </initiator> <delivery> <deliveryDate xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2">2017-12-20T15:45:45.823+03:00</deliveryDate> <consignor xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <enterprise xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2"> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">ce31ecd8-b5ef-f515-4ce7-ad7bcc587b29</guid> </enterprise> </consignor> <consignee xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <businessEntity xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2"> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">12d464c6-361e-4feb-b4b9-7ce1494941d6</guid> </businessEntity> <enterprise xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2"> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">96864330-a2c8-481e-8644-390d52d3798d</guid> </enterprise> </consignee> <consignment xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <productType>1</productType> <product> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">57a674fd-ca2b-c523-6853-72d27b4ae32c</guid> </product> <subProduct> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">1d17cba8-77e5-5cea-8ba3-3e29b5900697</guid> </subProduct> <productItem> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">3e3f42f3-5096-46fa-8c31-514cf755cbb6</guid> </productItem> <volume>26396</volume> <unit> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</guid> </unit> <dateOfProduction> <firstDate> <year xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">2017</year> <month xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">12</month> <day xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">14</day> </firstDate> <secondDate> <year xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">2017</year> <month xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">12</month> <day xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">14</day> </secondDate> </dateOfProduction> <expiryDate> <firstDate> <year xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">2017</year> <month xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">12</month> <day xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">14</day> </firstDate> <secondDate> <year xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">2017</year> <month xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">12</month> <day xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">14</day> </secondDate> </expiryDate> <batchID>0</batchID> <perishable>false</perishable> <origin> <productItem> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">3e3f42f3-5096-46fa-8c31-514cf755cbb6</guid> </productItem> <country> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">6589aad0-04ab-a627-cf34-a1eabcb3c584</guid> </country> <producer> <enterprise xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2"> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">d4be329f-9a85-a94a-f35a-f15e71954939</guid> <name>BRF S.A.</name> </enterprise> <role xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">UNKNOWN</role> </producer> </origin> <lowGradeCargo>false</lowGradeCargo> <packageList/> </consignment> <transportInfo xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <transportType>1</transportType> <transportNumber> <shipName>HLXU 8737383</shipName> </transportNumber> </transportInfo> <transportStorageType xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2">CHILLED</transportStorageType> <accompanyingForms xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <waybill> <type>1</type> </waybill> <vetCertificate> <issueNumber>1111</issueNumber> <issueDate>2017-12-14</issueDate> <vetDForm>CERTCU1</vetDForm> <certifiedConsignment> <consignor> <enterprise xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2"> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">ce31ecd8-b5ef-f515-4ce7-ad7bcc587b29</guid> </enterprise> </consignor> <consignee> <businessEntity xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2"> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">12d464c6-361e-4feb-b4b9-7ce1494941d6</guid> </businessEntity> <enterprise xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2"> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">96864330-a2c8-481e-8644-390d52d3798d</guid> </enterprise> </consignee> <transportInfo> <transportType>1</transportType> <transportNumber> <shipName>HLXU 8737383</shipName> </transportNumber> </transportInfo> <transportStorageType>CHILLED</transportStorageType> <batch> <productType>1</productType> <product> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">57a674fd-ca2b-c523-6853-72d27b4ae32c</guid> </product> <subProduct> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">1d17cba8-77e5-5cea-8ba3-3e29b5900697</guid> </subProduct> <productItem> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">3e3f42f3-5096-46fa-8c31-514cf755cbb6</guid> </productItem> <volume>26396</volume> <unit> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</guid> </unit> <dateOfProduction> <firstDate> <year xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">2017</year> <month xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">10</month> <day xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">1</day> </firstDate> </dateOfProduction> <expiryDate> <firstDate> <year xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">2019</year> <month xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">3</month> <day xmlns="http://api.vetrf.ru/schema/cdm/dictionary/v2">31</day> </firstDate> </expiryDate> <batchID>0</batchID> <perishable>false</perishable> <origin> <productItem> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">3e3f42f3-5096-46fa-8c31-514cf755cbb6</guid> </productItem> <country> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">6589aad0-04ab-a627-cf34-a1eabcb3c584</guid> </country> </origin> <lowGradeCargo>false</lowGradeCargo> </batch> </certifiedConsignment> <authentication> <purpose> <guid xmlns="http://api.vetrf.ru/schema/cdm/base">5b91ab87-e089-11e1-bcf3-b499babae7ea</guid> </purpose> <cargoInspected>true</cargoInspected> <cargoExpertized>UNKNOWN</cargoExpertized> <locationProsperity/> </authentication> <statusChange> <status>CREATED</status> <specifiedPerson> <fio>вв</fio> <post/> </specifiedPerson> <actualDateTime>2017-12-22T00:00:00.000+03:00</actualDateTime> </statusChange> </vetCertificate> </accompanyingForms> </delivery> <deliveryFacts> <vetCertificatePresence xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2">PAPER</vetCertificatePresence> <docInspection xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <responsible> <login>***</login> </responsible> <result>CORRESPONDS</result> </docInspection> <vetInspection xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> <responsible> <login>***</login> </responsible> <result>CORRESPONDS</result> </vetInspection> <decision xmlns="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2">ACCEPT_ALL</decision> </deliveryFacts> </processIncomingConsignmentRequest> </data> </application> </submitApplicationRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
И как и написано в заголовке приходит ответ
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <receiveApplicationResultResponse xmlns="http://api.vetrf.ru/schema/cdm/application/ws-definitions"> <application xmlns="http://api.vetrf.ru/schema/cdm/application"> <applicationId>9c790e0a-0f73-46e8-ac8c-54c4f022c0f2</applicationId> <status>REJECTED</status> <serviceId>mercury-g2b.service</serviceId> <issuerId>12d464c6-361e-4feb-b4b9-7ce1494941d6</issuerId> <issueDate>2017-09-07T15:49:07.000+03:00</issueDate> <rcvDate>2017-12-21T09:59:29.000+03:00</rcvDate> <prdcRsltDate>2017-12-21T09:59:30.000+03:00</prdcRsltDate> <errors> <apl:error code="MERC13180" xmlns:apl="http://api.vetrf.ru/schema/cdm/application">Обслуживаемое предприятие с указанным идентификатором не найдено в реестре РСХН, либо идентификатор не соответствует установленному формату.</apl:error> </errors> </application> </receiveApplicationResultResponse> </env:Body> </env:Envelope>
Индекс форума
»
Профиль для bml505
»
Сообщения, отправленные пользователем bml505
◄
1
2
Перейти
Перейти на стр....
Перейти:
Выбрать форум
Компонент АРГУС
Компонент ВЕСТА
Компонент МЕРКУРИЙ
Компонент ЦЕРБЕР
Компонент СИРАНО
Компонент ХОРРИОТ
Компонент АССОЛЬ
Форум ВЕТИС
Powered by
JForum 2.1.8
©
JForum Team