Send Requests

Use these guidelines when sending requests to the Oracle Communications ATA REST API and Oracle Communications Service Impact Analysis REST API.

URL Structure

Access the ATA and Service Impact Analysis REST resources using this URL structure:

http://hostname:port/topology/version/ -H "Authorization: Bearer access token"

where:

  • hostname is the URL for your ATA and Service Impact Analysis REST server.
  • port is the port for your ATA and Service Impact Analysis REST server.
  • version is the version of the API you are using, such as v2. See "Versioning".
  • access token is the generated token to access the REST APIs using OAuth2 authentication. See "Authentication and Authorization".

For example, the URL for accessing a vertex is:

http://hostname:port/topology/version/vertex

Versioning

This table shows the mapping between the ATA and Service Impact Analysis release versions and the REST APIs version.

Release REST API Version

ATA 1.3.0.0.0

v2

Service Impact Analysis 1.3.0.0.0

v1

Supported Methods

The ATA and Service Impact Analysis REST APIs support these HTTP methods:

HTTP Method Description
GET

Get information about ATA or Service Impact Analysis entities:

  • Nodes and edges
  • Graph
POST

Create ATA or Service Impact Analysis entities, such as nodes and edges.

PUT

Update ATA or Service Impact Analysis entities, such as nodes and edges.

DELETE

Delete ATA or Service Impact Analysis entities.

This isn't a temporary suspension or status change; it's a permanent deletion of an entity (node or edge) from ATA or Service Impact Analysis schema.

Not all endpoints support all methods.

Media Types

The ATA and Service Impact Analysis REST APIs accept requests in application/json and send responses in the application/json media type.

Supported Headers

The ATA and Service Impact Analysis REST APIs support these headers in the HTTP request.

Header Description Example
Authorization The type of authorization. The ATA and Service Impact Analysis REST APIs use OAuth2. Authorization: access token

where access token is the generated access token from Authentication server. See "Authentication and Authorization".

Content-Type The media type of the body of the request. Required for POST requests. The ATA and Service Impact Analysis REST APIs accept only application/json.

Content-Type: application/json

The ATA and Service Impact Analysis REST APIs respond with these headers in the HTTP response.

Header Description Example
Authorization The type of authorization. The ATA and Service Impact Analysis REST APIs use OAuth2. Authorization: access token

where access token is the generated access token from Authentication server. See "Authentication and Authorization".

Content-Type The media type of the body of the response. The ATA and Service Impact Analysis REST APIs accept only application/json. Content-Type: application/json
Content-Length The size of the entity-body, in decimal number of OCTETs, sent to the recipient. In the case of the HEAD method, the size of the entity-body that would have been sent had the request been a GET. The client can know whether it has read the correct number of bytes from the connection and can make a HEAD request to find out how large the entity-body is, without downloading it. Content-Length: 20620

Additional Parameters

The ATA and Service Impact Analysis REST APIs support filtering parameters for some endpoints. Each endpoint described in this document lists which parameters are supported.

The additional parameters are:

Parameter type Parameter Method Description
Filtering NA GET

Filters the search results that are returned in GET responses. For more details, see optional parameters for each GET API.