Getting information to register a consumer definition file

Ops Center Analyzer REST API Reference Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99ANA003-18

You can get request information to register a consumer definition csv file.

Execution permission

Admin

Request line

GET baseURL/v1/services/GroupsDefinition/actions/register

Request body

Not applicable.

Response body

The structure of the response body is HTML.

Status codes

Status code

Reason phrase

Description

200

OK

Success.

401

Unauthorized

No login privilege.

403

Forbidden

No reference privilege.

412

Precondition Failed

The server is not available.

500

Internal Server Error

Server processing error.

Example code

[Request Header]
GET Analytics/V1/services/GroupsDefinition/actions/register
authorization:Basic c3lzdGVtOm1hbmFnZXI=
Host: localhost:22015
Accept: application/json
Content-Type: application/json

[Response Header]
HTTP/1.1 200 OK
date: Fri, 01 Apr 2022 11:29:13 GMT
server: CosminexusComponentContainer
cache-control: no-cache, must-revalidate, private, max-age=0
www-authenticate: HSSO 2e255eb2de6aef161353a4e3ca421813012f322_Wm0HGnlmckFqXXwA_V0810
content-type: text/html
content-length: 274
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
content-security-policy: frame-ancestors 'self'

[Response Body]
<html>
 <body>
  <form method="POST" action="http://localhost:22015/Analytics/v1/services/GroupsDefinition/actions/register/invoke" enctype="multipart/form-data">
   <input type="file" name="csv"/>
   <input type="submit" value="Submit"/>
  </form>
 </body>
</html>