GET,POST | /sla/{datacenterLocation}/{sessionId}/{appId} | ||
---|---|---|---|
POST | /sla/{datacenterLocation}/{sessionId}/{appId}/{orgName} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
appId | path | string | No | |
orgName | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
sessionId | form | string | No | |
datacenterLocation | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | TypeSLA | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
id | form | int | No | |
modifydate | form | DateTime | No | |
expirationoff | form | bool | No | |
slpid | form | int | No | |
description | form | string | No | |
createdate | form | DateTime | No | |
dedupasyncoff | form | bool | No | |
appid | form | int | No | |
scheduleoff | form | bool | No | |
sltid | form | int | 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 /sla/{datacenterLocation}/{sessionId}/{appId} HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"appId":"String","orgName":"String","sessionId":"String","datacenterLocation":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"result":{"id":0,"modifydate":"\/Date(-62135596800000-0000)\/","expirationoff":false,"slpid":0,"description":"String","createdate":"\/Date(-62135596800000-0000)\/","dedupasyncoff":false,"appid":0,"scheduleoff":false,"sltid":0},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}