> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rebateright.com.au/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rebateright.com.au/_mcp/server.

# Allowable Medical Contraindication

GET https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication

That is the question this endpoint answers: the list Record Medical Contraindication
accepts.

List the vaccines that can have a medical contraindication recorded against them through [Record Medical Contraindication](/api-reference/air/medical-exemptions/record-medical-contraindication). Build your software's pick list from this response.

Reference: https://docs.rebateright.com.au/api-reference/air/reference-data/allowable-medical-contraindication

## Authentication

- `x-api-key` header (required) — API Key authentication via header
- `x-minor-id` header (required) — Your Minor ID is 3 uppercase letters followed by 5 digits, such as `MDE00000`. Send the Minor ID exactly as issued. A malformed value returns `400` with the text `The Minor ID is not valid.` on every endpoint.

## Servers

- `https://test-api.rebateright.com.au` (Test, default)
- `https://api.rebateright.com.au` (Production)

## Request

### Headers

- `x-minor-id` (string, required) — The Minor ID of the clinic you act for. See [Required headers and hosts](/api-reference#required-headers-and-hosts).

## Response

### 200

OK

- `statusCode` (string, optional)
- `codeType` (string, optional)
- `message` (string, optional)
- `vaccines` (list of AirV1RefdataVaccineAllowableMedicalContraindicationGetResponsesContentApplicationJsonSchemaVaccinesItems, optional)
- `correlationId` (string, optional)

## Types

### AirV1RefdataVaccineAllowableMedicalContraindicationGetResponsesContentApplicationJsonSchemaVaccinesItems

- `vaccineCode` (string, optional)
- `startDate` (string, optional)
- `endDate` (string, optional)

## Examples

**Response**

```json
{
  "statusCode": "AIR-I-1100",
  "codeType": "AIRIBU",
  "message": "Your request was successfully processed.",
  "vaccines": [
    {
      "vaccineCode": "ADCL",
      "startDate": "0001-01-01",
      "endDate": "9999-09-09"
    },
    {
      "vaccineCode": "PRPT",
      "startDate": "0001-01-01",
      "endDate": "9999-09-09"
    },
    {
      "vaccineCode": "ADPO",
      "startDate": "0001-01-01",
      "endDate": "9999-09-09"
    }
  ],
  "correlationId": "urn:uuid:MDE00000000000000000000000"
}
```

**SDK Code**

```python Allowable Contraindication Vaccines
import requests

url = "https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication"

headers = {
    "x-minor-id": "<minorId>",
    "x-api-key": "<apiKey>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Allowable Contraindication Vaccines
const url = 'https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication';
const options = {method: 'GET', headers: {'x-minor-id': '<minorId>', 'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Allowable Contraindication Vaccines
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-minor-id", "<minorId>")
	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Allowable Contraindication Vaccines
require 'uri'
require 'net/http'

url = URI("https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-minor-id"] = '<minorId>'
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Allowable Contraindication Vaccines
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication")
  .header("x-minor-id", "<minorId>")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Allowable Contraindication Vaccines
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication', [
  'headers' => [
    'x-api-key' => '<apiKey>',
    'x-minor-id' => '<minorId>',
  ],
]);

echo $response->getBody();
```

```csharp Allowable Contraindication Vaccines
using RestSharp;

var client = new RestClient("https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication");
var request = new RestRequest(Method.GET);
request.AddHeader("x-minor-id", "<minorId>");
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Allowable Contraindication Vaccines
import Foundation

let headers = [
  "x-minor-id": "<minorId>",
  "x-api-key": "<apiKey>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://test-api.rebateright.com.au/AIR/v1/refdata/vaccine/allowable/medicalContraindication")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```