Update the application properties on the server

put

/mftapp/rest/v1/artifacts/appProperties

Updates the application properties on the server.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : schema
Type: object
Show Source
Example Request (application/json)
{
    "outboundDatasource":"outds",
    "internalFtp":21,
    "controlDirectory":"/test/milton",
    "internalAddress":"127.0.0.1",
    "externalFtp":21,
    "sourceProcessors":1,
    "instanceProcessors":2,
    "storeReferencePayload":true,
    "payloadStorageDirectory":"/test",
    "inboundDatasource":"inds",
    "storeInlinePayload":"fileSystem",
    "externalSftp":22,
    "targetProcessors":3,
    "generateChecksum":true,
    "externalFtps":990,
    "internalFtps":990,
    "internalSftp":22,
    "calloutDirectory":"/tester",
    "externalAddress":"127.0.0.1"
}
Back to Top

Response

Supported Media Types

200 Response

App properties were updated.

500 Response

Body ()
Root Schema : schema
Type: object
Show Source
Example Response (application/json)
{
    "errorCode":"MFT-6036",
    "errorKey":"MFT_CSF_KEY_DOES_NOT_EXIST_EXCEPTION",
    "errorMessage":"Key not found for the given key alias aliasName in credential store."
}
Back to Top

Examples

The following example shows how to update the application properties on the server by submitting a PUT request on the REST resource using cURL.
curl -i -X PUT -u <username>:<password> -H "Content-type: application/json" -d '{"internalFtp":21, "internalAddress":"127.0.0.1",  "externalFtp":21,   "sourceProcessors":1, "instanceProcessors":2, "storeReferencePayload":true, "payloadStorageDirectory":"/.../user_projects/domains/base_domain/mft/storage", "storeInlinePayload":"fileSystem", "externalSftp":22, "targetProcessors":3, "generateChecksum":true, "externalFtps":990, "internalFtps":990, "internalSftp":22, "calloutDirectory":"/.../user_projects/domains/base_domain/mft/callouts", "externalAddress":"127.0.0.1"}' http://host:port/mftapp/rest/v1/artifacts/appProperties 
 
Back to Top