All Verbs | /portal/fax/callback |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.Portal;
namespace Voice.Api.Portal
{
public partial class AppSendFaxCallback
{
public virtual string SessionId { get; set; }
public virtual string Destination { get; set; }
public virtual string NotificationEmail { get; set; }
public virtual string Status { get; set; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /portal/fax/callback HTTP/1.1
Host: evovoice.io
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<AppSendFaxCallback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Portal">
<Destination>String</Destination>
<NotificationEmail>String</NotificationEmail>
<SessionId>String</SessionId>
<Status>String</Status>
</AppSendFaxCallback>