Managed by the FaxBack Support Team

GET_FILE_FUNCTION

NET SatisFAXtion CAS XML API Function
The GET_FILE_FUNCTION function retrieves a file from the server that is part of the content of a message. This function requires a MESSAGE_HANDLE tag to identify a message, a CURRENT_FILESPEC tag to identify a file belonging to the message, and a DESTINATION_FILESPEC tag specifying a destination file name. The names of files belonging to a message can be obtained using the GET_Q_ENTRIES_INFO function.
You must provide valid REGISTERED_NAME and REGISTERED_PASSWORD tags in the taglist for this function to execute. This function allows a user to access their own message files, and a supervisor to access message files belonging to any user.
XML Interface:
The DESTINATION_FILESPEC tag is not used with this function in the CAS XML Interface. Instead, the response taglist includes a CONTENT_DATA tag that contains the retrieved file. The file is encoded in base64 format. For more information, see the XML example below or Working with Files in the CAS XML Interface.

Request Parameters

REGISTERED_NAME (Required)
REGISTERED_PASSWORD (Required)
MESSAGE_HANDLE (Required)
CURRENT_FILESPEC (Required)

Response Parameters

CONTENT_DATA
STATUS
STATUS_NUM

Examples


Copyright © FaxBack, Inc.