capabilities.work

Discover Schema and Run a Graph Query

A 3-step recipe with Workday Extend. We can help you get access.

Recipe · 3 steps

Discover Schema and Run a Graph Query

Search business object types, fetch a type schema, and execute a graph query.

  1. List the available business object types, optionally filtered by a search term, to discover what can be queried.
  2. Retrieve the full schema for the named business object type, including its fields and relationships, so the query can reference valid fields.
  3. Execute the graph query against the Workday data model, returning the requested business objects with only the selected fields.
What you'll need to have ready
  • search: Search term to filter the list of business object types.
  • typeName: The name of the business object type to inspect.
  • query: The graph query string specifying objects, fields, filters, and relationships.
  • variables: Variables to substitute into the query using the $variableName syntax.
  • limit: Maximum number of results to return.
For your developer

Arazzo workflow workday-extend:discover-schema-and-query, 3 operations: listSchemaTypes → getSchemaType → executeGraphQuery. Specs on APIs.io.