<Reject>
The <Reject>
verb tells SignalWire to reject an incoming fax, which results in a status of canceled
.
Verb Attributes
The <Reject>
verb does not have any attributes that modify its behavior.
Examples
Fax Reject
- XML
- JavaScript
- C#
- Python
- Ruby
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Reject/>
</Response>
const { RestClient } = require("@signalwire/compatibility-api");
const response = new RestClient.LaML.FaxResponse();
response.reject();
console.log(response.toString());
using Twilio.TwiML;
using System;
class Example
{
static void Main()
{
var response = new FaxResponse();
response.Reject();
Console.WriteLine(response.ToString());;
}
}
from signalwire.fax_response import FaxResponse, Reject
response = FaxResponse()
response.reject()
print(response)
require 'signalwire/sdk'
response = Signalwire::Sdk::FaxResponse.new do |response|
response.reject
end
puts response.to_s
SignalWire will reject the incoming fax.