Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Встроенная (Attached) - подписанные данные размещаются вместе с подписью
  • Открепленная (Detached) - подписанные данные размещаются отдельно от подписи
URL-адрес запроса

https://localhost:90929094/api/v1/ticket/{uuid}/ds/modifier

...

Code Block
languagejs
$.ajax({
    url: "https://localhost:90929094/api/v1/ticket/79343564-147f-4a2a-ac2a-182d7a55f802/ds/modifier",
    type: "POST",
    dataType: "json",
    contentType: "text/plain"
}).done(function (jsonResponse, textStatus, xhr) {
    message = jsonResponse.message;
}).fail(function (xhr) {
    try {
        var jsonResponse = JSON.parse(xhr.responseText);
        message = jsonResponse.message;
        failureCause = jsonResponse.failureCause;
    } catch (e) {
        message = (xhr.responseText == undefined) ? "Ошибка при модификации ЭП." : xhr.responseText;
    }
})

...