Net3 API Interface for Customer Portal

<back to all web services

Sla

Requires Authentication
The following routes are available for this service:
GET,POST/sla/{datacenterLocation}/{sessionId}/{appId}
POST/sla/{datacenterLocation}/{sessionId}/{appId}/{orgName}
Sla Parameters:
NameParameterData TypeRequiredDescription
appIdpathstringNo
orgNamepathstringNo
SLABase Parameters:
NameParameterData TypeRequiredDescription
sessionIdformstringNo
datacenterLocationformstringNo
SlaResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformTypeSLANo
ResponseStatusformResponseStatusNo
TypeSLA Parameters:
NameParameterData TypeRequiredDescription
idformintNo
modifydateformDateTimeNo
expirationoffformboolNo
slpidformintNo
descriptionformstringNo
createdateformDateTimeNo
dedupasyncoffformboolNo
appidformintNo
scheduleoffformboolNo
sltidformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
		}
	}
}