You can get request information to export a consumer definition as a csv file.
Execution permission
Admin
Request line
GET baseURL/v1/objects/GroupsDefinition/{id}/actions/export
Request body
Not applicable.
Response body
The structure of the response body and the object attributes is as follows:Action
{ "name":"...", "href":"...", "method":"...", "type":"...", "parameters":["...", ...] }
Action (Type: Action)
Attribute |
Type |
Description |
---|---|---|
name |
string |
Name of the action. |
href |
string |
URL for the action. |
method |
string |
Name of the method. |
type |
string |
Data format for the object. |
parameters |
anyType[] |
A list of objects necessary to execute an operation. No value is set. |
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/objects/GroupsDefinition/consumerDefinition%23786722c0-24c0-44ac-b436-cb4d4e52c564/actions/export 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:03:47 GMT server: CosminexusComponentContainer cache-control: no-cache, must-revalidate, private, max-age=0 www-authenticate: HSSO 6fb71fd328b81cc33f47c76dd2a4ee2c9cb6fee7_Wm0HGnlmckFqXXwA_V0810 content-type: application/json content-length: 255 x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block x-content-type-options: nosniff content-security-policy: frame-ancestors 'self' [Response Body] { "name" : "export", "href" : "http://localhost:22015/Analytics/v1/objects/GroupsDefinition/consumerDefinition%23786722c0-24c0-44ac-b436-cb4d4e52c564/actions/export/invoke", "method" : "POST", "type" : "application/json", "parameters" : [ ] }