2022
...
Title | SalesForceToFileSystem API |
---|---|
URL | The URL Structure (path only, no root url) is v1/sftofilesystem
|
Method | The Request type is POST |
URL Params | N/A |
Data Params | As the SalesForceToFileSystem is a post request, The body payload should be in below format { Example As the SalesForceToFileSystem is a post request, The body payload should be in below format { |
Success Response | The status code on Success reponse should be 200. Example Code : 200 Response Body : [ |
Error Response | Most endpoint will have many ways they can fail. Below are some of the known error reponse code and response body. Code 401 : Unautorized access Code 403 : Forbidden error Example Code : 403401 Response Body : [ |
Sample Call | The below is the sample call from the endpoint. This would make the API call more predictable for the reader. curl -X POST --header 'Content-Type: application/json' --header 'Accept: text/html' -d ' {
"username":"anil. b@avankiab@avankia.com", "password":" @Raman123@test123", "securityToken":"fbEw74CxeC8kcxLK2zUnAlcp3", "sessionId":"https://ap2.salesforce.com/services/Soap/u/39.0", "endpointURL":"string"}, "targets":[{ "host":"107.180.12.172","port":"21", "filesystemType":"ftp", "username":" dbsyncftp@hrnewspaddbsyncftp@hrnewspad.com", "password":"AvankiaFTP789()", "folder":"testFiles", "bucket":"", "targetFileName":"", "region":"" }], "queryToTheAttachment":"select Name,Body from attachment where id = \u002700P2800000lT3mq\u0027"
|