Get App Data: The GetAppData method exports the app instance data in CSV/XML. (Data from all instances of an app)
REQUEST ATTRIBUTES
appId |
string |
This is the app ID obtained from the app's API reference link |
---|---|---|
tokenIn |
string |
This is the security token that is obtained by the previous API call. See API Security topic for more details |
type |
string |
The output type X - XML TS - Tab separator without header CS - Comma separator without header SS - Semicolon separator without header HTS - Tab separator with header HCS - Comma separator with header HSS - Semicolon separator with header |
RETURN ATTRIBUTES
appData |
base64binary |
The instances data in the specified format |
---|---|---|
GetAppDataResult |
int |
An integer result indicating success (= 0) or an error (<> 0) |
tokenOut |
string |
This is the new security token that should be used for the next function call after this one. See the API Security topic for more details |
REST
The following is a sample REST request and response. The placeholders shown need to be replaced with actual values.
POST /REST/api/portal/GetAppData HTTP/1.1 Host: <server url> Content-Type: multipart/form-data
Content-Disposition: form-data; name="appId" string Content-Disposition: form-data; name="tokenIn" string Content-Disposition: form-data; name="type" string |
HTTP/1.1 200 OK Content-Length: length Content-Type: application/json; charset=utf-8 { "appData":base64binary, "GetAppDataResult":int, "tokenOut":string } |
Return to: Account API Methods (REST), Integration