FileMaker Files
Save FileMaker file as XML
Requires FileMaker Server 20.3 or later. This endpoint will create a clone of the file and save it as XML. The clone will be deleted after the XML is saved. If the file is already closed, the file will be used directly.
Path Parameters
filename*string
Name of the FileMaker file to convert
Request Body
application/json
POST /otto/api/fm-file/:filename/save-as-xml Request body
username*string
FileMaker username
password*string
FileMaker password
encryptionKey?string
Optional encryption key
saveToDocuments?boolean
Whether to save the XML file in the Documents folder
Default
falseResponse Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/fm-file/string/save-as-xml" \ -H "Content-Type: application/json" \ -d '{ "username": "string", "password": "string" }'{
"response": {
"downloadToken": "string",
"downloadPath": "string",
"fileName": "string"
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}