Submit a group suggestion request
Submit a group suggestion request for a scope.
PUT /openapi/v1/app_scopes/{app_scope_id}/suggest_groups
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
app_scope_id |
string |
The unique identifier for the scope. |
Parameters: The JSON query body contains the following keys
Name |
Type |
Description |
---|---|---|
start_time |
string |
Start time of the group suggestion input time interval. |
end_time |
string |
End time of the group suggestion input time interval. |
Response object: Returns an object with the following attributes:
Name |
Type |
Description |
---|---|---|
message |
string |
Message regarding success/failure in submission of group suggestion request. |
Sample python code
app_scope_id = '5d02b493755f0237a3d6e078'
req_payload = {
'start_time': '2020-09-17T10:00:00-0700',
'end_time': '2020-09-17T11:00:00-0700',
}
resp = restclient.put('/app_scopes/%s/suggest_groups' % app_scope_id,
json_body=json.dumps(req_payload))