Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка при вызове prevalidatePowerOfAttorney() #269

Open
eugenio0889 opened this issue Aug 2, 2023 · 0 comments
Open

Ошибка при вызове prevalidatePowerOfAttorney() #269

eugenio0889 opened this issue Aug 2, 2023 · 0 comments

Comments

@eugenio0889
Copy link

eugenio0889 commented Aug 2, 2023

При вызове метода PowerOfAttorneyClient.prevalidatePowerOfAttorney() судя по коду SDK v 3.14.0 Java идёт отправка POST запроса по пути
RequestBuilder request = RequestBuilder.post((new URIBuilder(this.diadocHttpClient.getBaseUrl()))
.setPath("/RegisterPowerOfAttorneyResult")
.addParameter("boxId", boxId)
.addParameter("registrationNumber", registrationNumber)
.addParameter("issuerInn", issuerInn).build())
.setEntity(new ByteArrayEntity(powerOfAttorneyPrevalidateRequest.toByteArray()));

Прошу обратить внимание на строку пути : /RegisterPowerOfAttorneyResult
При этом, в документации Diadoc API (https://developer.kontur.ru/docs/diadoc-api/http/PrevalidatePowerOfAttorney.html) метод prevalidatePowerOfAttorney должен отправлять POST запрос по пути /PrevalidatePowerOfAttorney

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant