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> <SendFax> <UserID>string</UserID> <strPIN></strPIN> <Recipients> <!--One or more repetitions:--> <item> <RecipFaxNumber>string</RecipFaxNumber> <RecipCompany>string</RecipCompany> <RecipTitle>string</RecipTitle> <RecipName>string</RecipName> <RecipSecureCSID>string</RecipSecureCSID> </item> </Recipients> <FaxJobFiles> <!--One or more repetitions:--> <item> <FileIndex>int</FileIndex> <FileTypeId>int</FileTypeId> <FileData>base64Binary</FileData> </item> </FaxJobFiles> </SendFax> </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> <SendFax> <UserID>string</UserID> <strPIN>string</strPIN> <Recipients> <!--One or more repetitions:--> <item> <RecipFaxNumber>string</RecipFaxNumber> <RecipCompany>string</RecipCompany> <RecipTitle>string</RecipTitle> <RecipName>string</RecipName> <RecipSecureCSID>string</RecipSecureCSID> </item> </Recipients> <FaxJobFiles> <!--One or more repetitions:--> <item> <FileIndex>int</FileIndex> <FileTypeId>int</FileTypeId> <FileData>base64Binary</FileData> </item> </FaxJobFiles> </SendFax> </soap:Body> </soap:Envelope> |