Skip to main content

Arguments

after : String
before : String
first : Int
last : Int
postcode : String

The postcode of the address at which the app session was recorded.

subdomain : String

The affiliate link subdomain to filter app sessions by.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query affiliate app sessions

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query AppSessions( $after: String, $before: String, $first: Int, $last: Int, $postcode: String, $subdomain: String ) { appSessions( after: $after, before: $before, first: $first, last: $last, postcode: $postcode, subdomain: $subdomain ) { edgeCount edges { ...AppSessionConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "first": 10, "last": 10, "postcode": "test-light-green-consumer-debate", "subdomain": "current-guess-star-become-send" }

Response

{ "data": { "appSessions": { "edgeCount": 12, "edges": [AppSessionConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 84 } } }