Subscription Accesses

get
Get Accesses

https://auth.{region}.ianum.com/v1_3/subscription/{idSubscription}/accesses
Get the accesses made to your gate. All the query string are optional, and can be used to customize more the searches.
Request
Response
Request
Path Parameters
idSubscription
required
string
Id subscription for which you want to get the accesses.
Headers
Authorization
required
string
Should be "Bearer XXXXX" where XXXXX is the token received from /oauth/token endpoint
Query Parameters
startToken
optional
string
If you have already made a research, the token given in the previous one to query the next values. [DEFAUTL = ""]
idSubscription
optional
string
id of the Subscription we want to filter the accesses [DEFAULT = ""]
idActor
optional
string
id of the Actor we want to filter accesses [DEFAULT = ""]
dateStart
optional
number
UNIX timestamp of when we want to start the search [DEFAULT = 0]
dateEnd
optional
number
UNIX timestamp of when we want to end the search [DEFAULT = current timestamp]
limit
optional
number
how many results [DEFAULT = 50]
order
optional
string
how to return data. asc to get from oldest to newest or desc to get from newest to oldest [DEFAULT = desc]
Response
200: OK
{
"accessList": {[
//the id of the subscription
"idSubscription": "sub_xxx",
//the id of the actor
"idActor": "act_xxx",
//when the access took place
"date": 1550231361
], [ ... ]},
"startToken": "KjuWE...SDuer"
}