Example Request XML
| OAuth 2.0 | |
|---|---|
POST /fax/v5 HTTP/1.1
Authorization: Bearer {AccessToken}
Content-Type: "application/soap+xml; charset=utf-8"
Content-Length: length
x-ch-request-id: "{optional unique identifier}"
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="urn:FaxWS">
<soap:Header/>
<soap:Body>
<SimpleSendFax>
<UserID>string</UserID>
<strPIN></strPIN>
<RecipientName>string</RecipientName>
<FaxNumber>string</FaxNumber>
<TIFFJobFile>base64Binary</TIFFJobFile>
</SimpleSendFax>
</soap:Body>
</soap:Envelope> | |
| Username and password | |
|---|---|
POST /fax/v5 HTTP/1.1
Content-Type: "application/soap+xml; charset=utf-8"
Content-Length: length
x-ch-request-id: "{optional unique identifier}"
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="urn:FaxWS">
<soap:Header/>
<soap:Body>
<SimpleSendFax>
<UserID>string</UserID>
<strPIN>string</strPIN>
<RecipientName>string</RecipientName>
<FaxNumber>string</FaxNumber>
<TIFFJobFile>base64Binary</TIFFJobFile>
</SimpleSendFax>
</soap:Body>
</soap:Envelope> | |