Skip to main content

Arguments

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

The postcode to search for.

Filter the accounts by status.

Allowed Viewers

Customer Partner User Third party

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 SiteworksBookingAccountSearchByPostcode( $after: String, $before: String, $first: Int, $last: Int, $postcode: String!, $statuses: [AccountStatusChoices] ) { siteworksBookingAccountSearchByPostcode( after: $after, before: $before, first: $first, last: $last, postcode: $postcode, statuses: $statuses ) { edgeCount edges { ...SiteworksBookingAccountConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "first": 10, "last": 10, "postcode": "unit-military-owner-ok-laugh", "statuses": "PENDING" }

Response

{ "data": { "siteworksBookingAccountSearchByPostcode": { "edgeCount": 17, "edges": [SiteworksBookingAccountConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 65 } } }