Skip to main content

Arguments

accountNumber : String! required

The account number.

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

Returns

PropertyConnectionTypeConnection!

Connection type for properties

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query property
OR Can submit meter readings

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 Properties( $accountNumber: String!, $after: String, $before: String, $first: Int, $last: Int ) { properties( accountNumber: $accountNumber, after: $after, before: $before, first: $first, last: $last ) { edgeCount edges { ...PropertyConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "accountNumber": "A-B38DB821", "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "first": 10, "last": 10 }

Response

{ "data": { "properties": { "edgeCount": 33, "edges": [PropertyConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 22 } } }