Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RequestGET /group/smart/{group_id}/rules

...

Permissions to

...

Run the Request

Account Owner, Account Administrators, Department

...

Administrators, or

...

 custom

...

roles. 

Request Headers

Parameter

Header

Description

X-Auth-Account-Url (required)The base URL of the account, e.g. http://myaccount.ispringlearn.com.
X-Auth-Email (required)The login of Account OwnerAccount AdministratorsDepartment Administrators, or
a user
users with a custom role
with custom settings
X-Auth-Password (required)The login of Account OwnerAccount AdministratorsDepartment Administrators, 
or a user
or users with a custom role
with custom settings
ParameterDescription
group_id (required)The ID of a smart group whose rules you would like to get.

After the request has been processed, the system returns the response with the 200 code. The response contains a list of smart group rules.

Response Codes

Code

Text

Description

200Successful operationThe request was successfully processed. The response contains a list of smart group rules.
400Bad RequestA request error.
401UnauthorizedAn authorization error.
403Permission DeniedThe user doesn't have enough permissions to get smart group rules.

Sample Request

Code Block
languagexml
GET /group/smart/3fa85f64-5717-4562-b3fc-2c963f66afa6/rules HTTP/1.1
Host: api-learn.ispringlearn.com
X-Auth-Account-Url: http://myaccount.ispringlearn.com
X-Auth-Password: password

...