The Consonance GraphQL API
  • Getting started
  • Bibliographic
    • Select filtered products and their work
    • Select works and their products
    • Select products filtered by price and format
    • Select products filtered by work attributes
    • Select works and their relevant marketing material
    • Sample AI/Tip Sheet
  • Production
    • Select works and their product production run details
    • Sample production request form
  • Legal
    • Select contract details
    • Select contract financial information
    • Select contract dates and rights
  • People
    • Select basic person details
    • Select person contact details
    • Select professional details
    • Select person details and contributing works
    • Select organisation details
  • Data exchange
    • Sample custom report sheet
    • Sample dashboard
Powered by GitBook
On this page
  1. Legal

Select contract details

Select basic contract details.

Explanation

Contract IDs are retrieved for a single contract along with relevant information including works and dates.

query GetContractDetails($contractId: Int!) {
  contract(contractSearch: {idEq: $contractId}) {
    id
    contractName
    description
    client {
      name
    }
    work {
      title
    }
    signedDate
    term
    terminatedDate
    terminationReason
    deliveryDates {
      dateDue
      deliverableType
      deliveryRequirement
      id
      percentageOfTotal
      slippedDate
    }
    gratisCopies {
      note
      numberOfCopies
      sendOn
      sentOn
      productId
    }
  }
}

Define your contract ID variable:

{
  "contractId": YOUR_CONTRACT_ID_HERE
}
PreviousLegalNextSelect contract financial information

Last updated 1 year ago