You can call this operation to query service groups.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

GET /pop/v5/service/serviceGroups HTTPS|HTTP

Request parameters

Response parameters

Parameter Type Example Description
Code Integer 200

The returned code.

Message String success

The returned message.

RequestId String a5281053-08e4-47a5-b2ab-5c0323de7b5a Request ID
ServiceGroupsList Array

The returned list of service groups.

CreateTime String 1575357165770

The time when the service group was created.

GroupId String 789d9cda-74b1-****-****-05e21a0a****

The ID of the service group returned.

GroupName String edas-test-group

The name of the service group returned.

Examples

Sample requests

GET /pop/v5/service/serviceGroups HTTP/1.1
Common request headers

Sample success responses

JSON format

{
    "ServiceGroupsList": {
        "ListServiceGroups": [
            {
                "GroupName": "edas-test-group",
                "CreateTime": 1575357165770,
                "GroupId": "789d9cda-74b1-4b51-8b03-05e21a0a****"
            }
        ]
    },
    "Message": "success",
    "Code": 200
}

XML format

<ServiceGroupsList>
    <ListServiceGroups>
        <GroupName>edas-test-group</GroupName>
        <CreateTime>1575357165770</CreateTime>
        <GroupId>789d9cda-74b1-4b51-8b03-05e21a0a****</GroupId>
    </ListServiceGroups>
</ServiceGroupsList>
<Message>success</Message>
<Code>200</Code>

Error codes

For a list of error codes, visit the API Error Center.