Controller: Admin Account Management: GetAMSCommandAccounts
GetAMSCommandAccounts
Gets the list of accounts that have permissions for a specific command
Authentication Methods
- With AMS email and password
Input Parameter | Type | Description |
---|---|---|
Token* | String | |
Name* | String | |
Output Parameter | Type | Description |
--- | --- | --- |
Success | Boolean |
*=required
This Api call supports paging and filtering, see paging and filtering documentation for more info.
CURL EXAMPLE
curl -v 'https://secure.nomadesk.com/ctrller/api.php?Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&Task=GetAMSCommandAccounts&Name=mycommandname'
RESPONSE
<Response>
<Status>1</Status>
<Message>Success</Message>
<TotalCount>4</TotalCount>
<Accounts>
<Account>
<UserName>example001@example.com</UserName>
<CreationDstamp>1467030360</CreationDstamp>
</Account>
<Account>
<UserName>example002@example.com</UserName>
<CreationDstamp>1467030360</CreationDstamp>
</Account>
<Account>
<UserName>example003@example.com</UserName>
<CreationDstamp>1467027784</CreationDstamp>
</Account>
<Account>
<UserName>example004@example.com</UserName>
<CreationDstamp>1466496899</CreationDstamp>
</Account>
</Accounts>
</Response>