Bildirim Kuralını Getirir

E-Arşiv bildirimi kuralını getirir.

GET/earchive/Notification/{ID}
Path parameters
ID*integer (int32)
Response

E-Arşiv bildirimi kuralını getirir.

Body
IDinteger (int32)
RuleNamenullable string
IsActiveboolean
RuleListnullable array of NotificationRuleModel (object)
ContactListnullable array of NotificationContactModel (object)
Request
const response = await fetch('/earchive/Notification/{ID}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "RuleName": "text",
    "IsActive": false,
    "RuleList": [
      {
        "Property": "DocumentProfile",
        "Operator": "GreaterOrEqual",
        "ValueFirst": "text",
        "ValueSecond": "text"
      }
    ],
    "ContactList": [
      {
        "NotificationValue": "text",
        "NotificationValueType": "Whatsapp"
      }
    ]
  }
]
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/earchive/Notification/1", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);