PUT api/v2/profile/savenotificationsettings

Сохранить настройки генерации уведомлений

Информация о запросе

GET параметры

None.

Body параметры

настройки уведомлений

NotificationSettings
НазваниеОписаниеТипДополнительная информация
EmailNotificationsSettings

NotificationsSettingsModel

Нет.

TranscryptNotificationSettings

NotificationsSettingsModel

Нет.

Форматы запроса

application/json, text/json

Пример:
{
  "EmailNotificationsSettings": {
    "NoticeReceiptNewDocument": true,
    "NoticeReceiptNewDocumentGroup": true,
    "NoticeReceiptExchangeRequest": true,
    "NoticeReceiptReceivngResult": true,
    "NoticeServicePackage": true,
    "NoticeReceiveRevokeApprovalPackage": true,
    "NoticeResponseApprovalPackage": true,
    "NoticeEditedDocumentInApproval": true,
    "NoticeReceiveRevokePackageForSigning": true,
    "NoticeResponsePackageForSigning": true,
    "NoticeEditedDocumentInPackageForSigning": true,
    "MessageToSendType": 2047
  },
  "TranscryptNotificationSettings": {
    "NoticeReceiptNewDocument": true,
    "NoticeReceiptNewDocumentGroup": true,
    "NoticeReceiptExchangeRequest": true,
    "NoticeReceiptReceivngResult": true,
    "NoticeServicePackage": true,
    "NoticeReceiveRevokeApprovalPackage": true,
    "NoticeResponseApprovalPackage": true,
    "NoticeEditedDocumentInApproval": true,
    "NoticeReceiveRevokePackageForSigning": true,
    "NoticeResponsePackageForSigning": true,
    "NoticeEditedDocumentInPackageForSigning": true,
    "MessageToSendType": 2047
  }
}

application/xml, text/xml

Пример:
<NotificationSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Taxnet.Transcrypt.Api20.Notifications">
  <EmailNotificationsSettings>
    <NoticeEditedDocumentInApproval>true</NoticeEditedDocumentInApproval>
    <NoticeEditedDocumentInPackageForSigning>true</NoticeEditedDocumentInPackageForSigning>
    <NoticeReceiptExchangeRequest>true</NoticeReceiptExchangeRequest>
    <NoticeReceiptNewDocument>true</NoticeReceiptNewDocument>
    <NoticeReceiptNewDocumentGroup>true</NoticeReceiptNewDocumentGroup>
    <NoticeReceiptReceivngResult>true</NoticeReceiptReceivngResult>
    <NoticeReceiveRevokeApprovalPackage>true</NoticeReceiveRevokeApprovalPackage>
    <NoticeReceiveRevokePackageForSigning>true</NoticeReceiveRevokePackageForSigning>
    <NoticeResponseApprovalPackage>true</NoticeResponseApprovalPackage>
    <NoticeResponsePackageForSigning>true</NoticeResponsePackageForSigning>
    <NoticeServicePackage>true</NoticeServicePackage>
  </EmailNotificationsSettings>
  <TranscryptNotificationSettings>
    <NoticeEditedDocumentInApproval>true</NoticeEditedDocumentInApproval>
    <NoticeEditedDocumentInPackageForSigning>true</NoticeEditedDocumentInPackageForSigning>
    <NoticeReceiptExchangeRequest>true</NoticeReceiptExchangeRequest>
    <NoticeReceiptNewDocument>true</NoticeReceiptNewDocument>
    <NoticeReceiptNewDocumentGroup>true</NoticeReceiptNewDocumentGroup>
    <NoticeReceiptReceivngResult>true</NoticeReceiptReceivngResult>
    <NoticeReceiveRevokeApprovalPackage>true</NoticeReceiveRevokeApprovalPackage>
    <NoticeReceiveRevokePackageForSigning>true</NoticeReceiveRevokePackageForSigning>
    <NoticeResponseApprovalPackage>true</NoticeResponseApprovalPackage>
    <NoticeResponsePackageForSigning>true</NoticeResponsePackageForSigning>
    <NoticeServicePackage>true</NoticeServicePackage>
  </TranscryptNotificationSettings>
</NotificationSettings>

application/x-www-form-urlencoded

Пример:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NotificationSettings'.

Информация об ответе

Информация о ресурсах

Нет.