| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
appId: String,
orgName: String,
sessionId: String,
datacenterLocation: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
id: 0,
modifydate: 0001-01-01,
expirationoff: False,
slpid: 0,
description: String,
createdate: 0001-01-01,
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
}
}
}