Create service definition
post
/serviceapi/apm.dataserver/api/v1/services
Create the service definition object passing in the JSON application payload. For more information see Services.
Request
Supported Media Types
- application/json
Information about an Service
Root Schema : Service
Type:
object
Information about an Service
Show Source
-
asRule:
string
AppServer Rule (required to create service, see @XSERVICE)
-
compartmentId(optional):
string
-
createTime:
string
Create Time (required to create service, see @XSERVICE)
-
createTimeMillis(optional):
integer(int64)
-
deploymentRule:
string
Deployment Rule (required to create service, see @XSERVICE)
-
description:
string
Description (required to create service, see @XSERVICE)
-
evaluationTimeMillis(optional):
integer(int64)
-
id(optional):
string
-
lastEvaluation(optional):
string
-
lastModified(optional):
string
-
linkCollection(optional):
array linkCollection
See Links to Related Resources for more information
-
meId(optional):
string
-
modifiedTimeMillis(optional):
integer(int64)
-
name(optional):
string
-
owner:
string
Owner (required to create service, see @XSERVICE)
-
queryTimeRange(optional):
object TimeRange
-
sentToOds(optional):
boolean
Default Value:
false
-
serviceId(optional):
string
-
serviceName:
string
Service name (required to create service, see @XSERVICE)
-
tenantId(optional):
integer(int64)
-
tenantName(optional):
string
-
type(optional):
string
Allowed Values:
[ "NONE", "SERVICE", "APPLICATION" ]
-
version(optional):
integer(int64)
-
warnings(optional):
array warnings
Informational or Error messages
Nested Schema : linkCollection
Type:
array
See Links to Related Resources for more information
Show Source
-
Array of:
object Link
Information about a Link to a resource
Nested Schema : TimeRange
Type:
Show Source
object
-
sinceTime(optional):
integer(int64)
Results are returned *since* this timestamp
-
timeInMinutes(optional):
integer(int64)
-
untilTime(optional):
integer(int64)
Results are returned *until* this timestamp
Nested Schema : warnings
Type:
array
Informational or Error messages
Show Source
-
Array of:
object ErrorMessage
An error message
Nested Schema : Link
Type:
object
Information about a Link to a resource
Show Source
-
baseUrl(optional):
string
The base URL for the link
-
href:
string
The href portion of the link
-
post(optional):
string
The post data of the link
-
rel:
string
The relationship name of the link
Nested Schema : ErrorMessage
Type:
object
An error message
Show Source
-
detail:
string
A detailed description of the error
-
errorType(optional):
string
Allowed Values:
[ "INFO", "WARNING", "VALIDATION", "ERROR" ]
The error type -
message:
string
The error message
Response
Supported Media Types
- application/json
201 Response
Service created successfully. See Status Codes for special HTTP response status codes for operations on Services.