Satış İrsaliyesine Ait Bildirim Kuralını Getirir

Satış irsaliyesine ait bildirim kuralını getirir.

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

Satış irsaliyesine 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('/edespatch/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("/edespatch/Notification/Sale/0", Method.Get);
request.AddHeader("Authorization", "APIKEY");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated