GraphQLResponse

A GraphQL response containing data and/or errors

CloudCRMCustomer ManagementEnterpriseSales

Properties

Name Type Description
data object The result data from the query or mutation
errors array List of errors encountered during execution
View JSON Schema on GitHub

JSON Schema

salesforce-sales-cloud-graphqlresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GraphQLResponse",
  "title": "GraphQLResponse",
  "type": "object",
  "description": "A GraphQL response containing data and/or errors",
  "properties": {
    "data": {
      "description": "The result data from the query or mutation",
      "nullable": true
    },
    "errors": {
      "type": "array",
      "description": "List of errors encountered during execution",
      "items": {
        "$ref": "#/components/schemas/GraphQLError"
      }
    }
  }
}