Retrieve Sales Invoice Notification Rule

Satış faturasına ait bildirim kuralını getirir.

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

Satış faturasına ait bildirim kuralını getirir.

Body
IDinteger (int32)
RuleNamenullable string
IsActiveboolean
RuleListnullable array of NotificationRuleModel (object)
ContactListnullable array of NotificationContactModel (object)
Request
const response = await fetch('/einvoice/Notification/Sale/{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("/einvoice/Notification/Sale/1", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);