> For the complete documentation index, see [llms.txt](https://gp0.gitbook.io/graphql-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gp0.gitbook.io/graphql-docs/legal/select-contract-dates-and-rights.md).

# Select contract dates and rights

Select delivery dates and associated rights included in contract.

## Explanation

Contract IDs are retrieved for a single contract along with delivery dates and licensed rights details.

```
query GetContractDatesAndRights($contractId: Int!) {
  contract(contractSearch: {idEq: $contractId}) {
    id
    msDeliveryDate
    revisedMsDeliveryDate
    actualMsDeliveryDate
    msProofsDate
    pubBeforeDate
    licensedRights {
      authorCut
      id
      rightType
    }
  }
}
```

Define your contract ID variable:

```
{
  "contractId": YOUR_CONTRACT_ID_HERE
}
```
