ehealth-ua / api-spec

Apache License 2.0
30 stars 24 forks source link

Помилка при Sign Contract Request by NHS ДЕМО #536

Closed pieskov closed 6 years ago

pieskov commented 6 years ago

Намагаюсь підписати заявку на договір з боку НСЗУ. JSON для підпису взяв з Get Contract Request Details і тільки "data".

PATCH /api/contract_requests/cdf7d5f6-4c08-43fb-af0e-91296e6ee9af/actions/sign_nhs HTTP/1.1 Host: api.demo.asclepius.com.ua Content-Type: application/json Authorization: Bearer a2F0TFcwWUVuanRRdXB1OWtMaSt0UT09 Cache-Control: no-cache Postman-Token: c60b3d64-9c05-46fb-b4a3-47fc788d04ff

{"signed_content": "MIIfBwYJKoZIhvcNAQcCoIIe+DCCHvQCAQExDjAMBgoqhiQCAQEBAQIBMIIPlQYJKoZIhvcNAQcBoIIPhgSCD4J7InN0YXR1cyI6IlBFTkRJTkdfTkhTX1NJR04iLCJzdGFydF9kYXRlIjoiMjAxOC0wNy0wOSIsInByaW50b3V0X2NvbnRlbnQiOm51bGwsInBhcmVudF9jb250cmFjdF9pZCI6bnVsbCwibmhzX3NpZ25lcl9iYXNlIjoi0L3QsCDQv9GW0LTRgdGC0LDQstGWINC90LDQutCw0LfRgyIsIm5oc19zaWduZXIiOnsicGFydHkiOnsic2Vjb25kX25hbWUiOiLQktC+0LvQvtC00LjQvNC40YDRltCy0L3QsCIsImxhc3RfbmFtZSI6ItCg0LXQstGD0YbRjNC60LAiLCJmaXJzdF9uYW1lIjoi0IbRgNC40L3QsCJ9LCJpZCI6IjM3ODk1YWY3LWY5ZGQtNGYwYS05ZThlLTAyMGM3MWY0YTc1MyJ9LCJuaHNfcGF5bWVudF9tZXRob2QiOiJGT1JXQVJEIiwibmhzX2xlZ2FsX2VudGl0eSI6eyJuYW1lIjoi0J3QsNGG0ZbQvtC90LDQu9GM0L3QsCDRgdC70YPQttCx0LAg0LfQtNC+0YDQvtCyJ9GPINCj0LrRgNCw0ZfQvdC4IiwiaWQiOiJlMzJlNTFhYy1mNzIwLTRlNDItYWRiM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1UEBwwI0JrQuNGX0LICFD23Pnvw1XWyAgAAAAEAAACXAAAAMA0GCyqGJAIBAQEBAwEBBEDasHw9xYhirp9hpBSDT04F5ibLKsxobDr9DKp2Qe9CBVJYsiKCOlBiAeSmDSucl1zxZ2995WKomU4b/QEMuQF+MA0GCyqGJAIBAQEBAwEBBED3REpKCdUy2d2elUoaKc80FO7pHE+wzsc4sv6uLVbzVNqEGagBSbSDGNuMQ+222tLpmxf7WCxUdqcybZ8fOwQ5", "signed_content_encoding": "base64"}

отримую { "meta": { "url": "http://api-svc.il/api/contract_requests/cdf7d5f6-4c08-43fb-af0e-91296e6ee9af/actions/sign_nhs", "type": "object", "request_id": "fc95e686-572c-4fb0-bba4-e70f79a0f681#22161", "code": 422 }, "error": { "type": "validation_failed", "message": "Validation failed. You can find validators description at our API Manifest: http://docs.apimanifest.apiary.io/#introduction/interacting-with-api/errors.", "invalid": [ { "rules": [ { "rule": "invalid", "params": [], "description": "Does not match the signer drfo" } ], "entry_type": "json_data_property", "entry": "$.nhs_signer_id" } ] } }

AlekzandrV commented 6 years ago

Вы выбрали подписанта, со стороны НСЗУ у которого в системе отличный ДРФО от вашего (который в подписи). Используйте сотрудника Підписант Підпис Підписувач для тестирования. У него ДРФО совпадающий с ДРФО в тестовой ЕЦП