POST | /backup/backupcustomer/applications |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
location | body | string | Yes | URL for underlying backup system |
uuid | body | string | Yes | UUID of Backup Customer |
applicationId | body | string | Yes | ApplicationId |
environment | body | N3TEnvironment | Yes | EnvironmentAllowable Values
|
DEV | |
QA | |
UAT | |
PROD | |
DEMO | |
EXT |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | ExecuteResult<bool> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
HasError | form | bool | No | |
Message | form | string | No | |
Result | form | T | No | |
Exception | form | Exception | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /backup/backupcustomer/applications HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"location":"String","uuid":"String","applicationId":"String","environment":"DEV"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"result":{"hasError":false,"message":"String","result":false,"exception":"Exception of type 'System.Exception' was thrown."},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}