> 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 full documentation content, see https://docs.rebateright.com.au/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rebateright.com.au/_mcp/server.

# Identify Individual

POST https://api.rebateright.com.au/AIR/v1.1/individual/details
Content-Type: application/json

Look up an individual on the Australian Immunisation Register (AIR), match by Medicare card, IHI, and personal details, and receive their AIR record together with an opaque `individualIdentifier` for use in subsequent history and update calls.

For shared response patterns and the full status-code list, see [AIR Integration](/air).

#### Individual Identifier

On a successful match, AIR returns `individualDetails.individualIdentifier` — an opaque, encrypted token unique to the individual.

<Note>
  Treat `individualIdentifier` as opaque. Don't display it to end users, log it in customer-facing analytics, or store it anywhere that might leak. Reuse it on every subsequent AIR call for the same individual (history, exemption, indicator updates).
</Note>

Identifiers are not portable across providers — each information provider gets a different token for the same individual.

#### Minimum identification requirements

AIR matches against four field combinations, evaluated in order. The first one that uniquely identifies an individual wins; remaining fields are ignored.

| Type | Field | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| MedicareCard | `medicareCardNumber` | ✓ | | | |
| PersonalDetails | `dateOfBirth` | ✓ | ✓ | ✓ | ✓ |
| PersonalDetails | `lastName` | ✓ | ✓ | ✓ | ✓ |
| PersonalDetails | `firstName` | | ✓ | ✓ | |
| Address | `postCode` | ✓ | ✓ | | |
| IHI | `ihiNumber` | ✓ | | | |
| PersonalDetails | `onlyNameIndicator` | ✓ | | | ✓ |

Scenario 4 covers individuals with only one name (no `firstName`). Submitting too little returns `AIR-E-1026` (*insufficient information*).

Recommended: send Scenario 1 or Scenario 3 — Medicare card or IHI alongside personal details gives the best match.

#### Date format

Date fields use **DDMMYYYY** with no separators (e.g. `18042016`).

#### End-date code

AIR returns `individualDetails.endDateCode` when the individual has restrictions on their record.

| `endDateCode` | Meaning | Related code |
|---|---|---|
| `ALL` | Record may not be active, but viewable and partially updatable. | `AIR-W-1062` |
| `LIMITED` | Details cannot be viewed; some updates (including recording new encounters) are still allowed. | `AIR-W-1059` |
| `NONE` | Details cannot be viewed and record cannot be updated. | `AIR-E-1058` |

<Note>
  Don't display `endDateCode` to end users — it's an internal AIR signal. Use it to drive UI state (read-only, partial-update, full-access) but show the human-readable consequence to the user, not the code itself.
</Note>

#### Status Codes

Top-level outcomes for this endpoint:

| Code | Meaning |
|---|---|
| `AIR-I-1100` | Individual matched. `individualDetails` returned. |
| `AIR-W-1062` | Matched, but with `endDateCode: ALL` — record partially restricted. |
| `AIR-W-1059` | Matched, but with `endDateCode: LIMITED` — details not viewable. |
| `AIR-E-1005` | Validation errors. Common: `AIR-E-1026` insufficient info, `AIR-E-1035` not found. |
| `AIR-E-1058` | `endDateCode: NONE` — record cannot be viewed or updated. |


Reference: https://docs.rebateright.com.au/api-reference/air/individual-details/identify-individual

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /AIR/v1.1/individual/details:
    post:
      operationId: identify-individual
      summary: Identify Individual
      description: >
        Look up an individual on the Australian Immunisation Register (AIR),
        match by Medicare card, IHI, and personal details, and receive their AIR
        record together with an opaque `individualIdentifier` for use in
        subsequent history and update calls.


        For shared response patterns and the full status-code list, see [AIR
        Integration](/air).


        #### Individual Identifier


        On a successful match, AIR returns
        `individualDetails.individualIdentifier` — an opaque, encrypted token
        unique to the individual.


        <Note>
          Treat `individualIdentifier` as opaque. Don't display it to end users, log it in customer-facing analytics, or store it anywhere that might leak. Reuse it on every subsequent AIR call for the same individual (history, exemption, indicator updates).
        </Note>


        Identifiers are not portable across providers — each information
        provider gets a different token for the same individual.


        #### Minimum identification requirements


        AIR matches against four field combinations, evaluated in order. The
        first one that uniquely identifies an individual wins; remaining fields
        are ignored.


        | Type | Field | 1 | 2 | 3 | 4 |

        |---|---|---|---|---|---|

        | MedicareCard | `medicareCardNumber` | ✓ | | | |

        | PersonalDetails | `dateOfBirth` | ✓ | ✓ | ✓ | ✓ |

        | PersonalDetails | `lastName` | ✓ | ✓ | ✓ | ✓ |

        | PersonalDetails | `firstName` | | ✓ | ✓ | |

        | Address | `postCode` | ✓ | ✓ | | |

        | IHI | `ihiNumber` | ✓ | | | |

        | PersonalDetails | `onlyNameIndicator` | ✓ | | | ✓ |


        Scenario 4 covers individuals with only one name (no `firstName`).
        Submitting too little returns `AIR-E-1026` (*insufficient information*).


        Recommended: send Scenario 1 or Scenario 3 — Medicare card or IHI
        alongside personal details gives the best match.


        #### Date format


        Date fields use **DDMMYYYY** with no separators (e.g. `18042016`).


        #### End-date code


        AIR returns `individualDetails.endDateCode` when the individual has
        restrictions on their record.


        | `endDateCode` | Meaning | Related code |

        |---|---|---|

        | `ALL` | Record may not be active, but viewable and partially
        updatable. | `AIR-W-1062` |

        | `LIMITED` | Details cannot be viewed; some updates (including
        recording new encounters) are still allowed. | `AIR-W-1059` |

        | `NONE` | Details cannot be viewed and record cannot be updated. |
        `AIR-E-1058` |


        <Note>
          Don't display `endDateCode` to end users — it's an internal AIR signal. Use it to drive UI state (read-only, partial-update, full-access) but show the human-readable consequence to the user, not the code itself.
        </Note>


        #### Status Codes


        Top-level outcomes for this endpoint:


        | Code | Meaning |

        |---|---|

        | `AIR-I-1100` | Individual matched. `individualDetails` returned. |

        | `AIR-W-1062` | Matched, but with `endDateCode: ALL` — record partially
        restricted. |

        | `AIR-W-1059` | Matched, but with `endDateCode: LIMITED` — details not
        viewable. |

        | `AIR-E-1005` | Validation errors. Common: `AIR-E-1026` insufficient
        info, `AIR-E-1035` not found. |

        | `AIR-E-1058` | `endDateCode: NONE` — record cannot be viewed or
        updated. |
      tags:
        - subpackage_air.subpackage_air/individualDetails
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/AIR_Individual Details_Identify
                  Individual_Response_200
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                individual:
                  $ref: >-
                    #/components/schemas/AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividual
                  description: >-
                    Identification details. See the *Minimum identification
                    requirements* table in the operation description for valid
                    combinations.
                informationProvider:
                  $ref: >-
                    #/components/schemas/AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaInformationProvider
              required:
                - individual
                - informationProvider
servers:
  - url: https://api.rebateright.com.au
  - url: https://test-api.rebateright.com.au
components:
  schemas:
    AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualPersonalDetailsGender:
      type: string
      enum:
        - F
        - M
        - X
      description: |
        Individual's gender.

        | Code | Meaning |
        |---|---|
        | `F` | Female |
        | `M` | Male |
        | `X` | Non-binary |
      title: >-
        AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualPersonalDetailsGender
    AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualPersonalDetails:
      type: object
      properties:
        dateOfBirth:
          type: string
          description: DDMMYYYY format. Required for every identification scenario.
        firstName:
          type: string
          description: >-
            1–40 alphanumeric characters. Omit when `onlyNameIndicator` is
            `true`.
        lastName:
          type: string
          description: 1–40 alphanumeric characters.
        initial:
          type: string
          description: Middle/second name initial.
        gender:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualPersonalDetailsGender
          description: |
            Individual's gender.

            | Code | Meaning |
            |---|---|
            | `F` | Female |
            | `M` | Male |
            | `X` | Non-binary |
        onlyNameIndicator:
          type: boolean
          description: >-
            `true` when the individual has only one name. Omit `firstName` and
            `initial` when this is `true`.
      title: >-
        AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualPersonalDetails
    AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualMedicareCard:
      type: object
      properties:
        medicareCardNumber:
          type: string
          description: 10-digit Medicare card number.
        medicareIRN:
          type: string
          description: Single-digit Individual Reference Number from the Medicare card.
      title: >-
        AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualMedicareCard
    AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualAddress:
      type: object
      properties:
        addressLineOne:
          type: string
        addressLineTwo:
          type: string
          description: Only set when `addressLineOne` is provided.
        locality:
          type: string
          description: Suburb or town.
        postCode:
          type: string
          description: >-
            4-digit Australian postcode. Used as a tie-breaker when multiple
            individuals match on first name, last name, and date of birth.
      title: >-
        AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualAddress
    AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividual:
      type: object
      properties:
        personalDetails:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualPersonalDetails
        medicareCard:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualMedicareCard
        address:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividualAddress
        ihiNumber:
          type: string
          description: 16-digit Individual Healthcare Identifier (IHI).
      description: >-
        Identification details. See the *Minimum identification requirements*
        table in the operation description for valid combinations.
      title: >-
        AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaIndividual
    AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaInformationProvider:
      type: object
      properties:
        providerNumber:
          type: string
          description: >-
            Medicare provider number or AIR provider number of the entity
            sending the data. Must be current at the submission date.
        hpioNumber:
          type: string
          description: >-
            Optional. Healthcare Provider Identifier — Organisation (HPI-O). 16
            digits.
        hpiiNumber:
          type: string
          description: >-
            Optional. Healthcare Provider Identifier — Individual (HPI-I). 16
            digits.
      required:
        - providerNumber
      title: >-
        AirV11IndividualDetailsPostRequestBodyContentApplicationJsonSchemaInformationProvider
    AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualPersonalDetails:
      type: object
      properties:
        dateOfBirth:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        initial:
          type:
            - string
            - 'null'
        onlyNameIndicator:
          type: boolean
      title: >-
        AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualPersonalDetails
    AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualMedicareCard:
      type: object
      properties:
        medicareCardNumber:
          type: string
        medicareIRN:
          type: string
      title: >-
        AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualMedicareCard
    AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualAddress:
      type: object
      properties:
        addressLineOne:
          type: string
        addressLineTwo:
          type: string
        locality:
          type: string
        postCode:
          type: string
      title: >-
        AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualAddress
    AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividual:
      type: object
      properties:
        personalDetails:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualPersonalDetails
        medicareCard:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualMedicareCard
        address:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividualAddress
      description: >-
        The individual's record as held by AIR. May differ from what was
        submitted (e.g. uppercase names, AIR's stored address).
      title: >-
        AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividual
    AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsEndDateCode:
      type: string
      enum:
        - ALL
        - LIMITED
        - NONE
      description: >-
        Present when the individual's record has restrictions. See the *End-date
        code* table in the operation description.
      title: >-
        AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsEndDateCode
    AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetails:
      type: object
      properties:
        individualIdentifier:
          type: string
          description: >-
            Opaque, encrypted token unique to this individual for this
            information provider. Reuse on subsequent calls (history,
            exemptions, updates). Do not display to end users.
        individual:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsIndividual
          description: >-
            The individual's record as held by AIR. May differ from what was
            submitted (e.g. uppercase names, AIR's stored address).
        catchupDate:
          type: string
          description: DDMMYYYY format. Empty string when no catch-up is recorded.
        indigenousStatus:
          type: boolean
          description: >-
            `true` when the individual identifies as Aboriginal or Torres Strait
            Islander.
        additionalVaccineIndicator:
          type: boolean
          description: >-
            `true` when an *additional vaccines required* indicator is recorded
            for the individual.
        medContraindicationIndicator:
          type: boolean
          description: >-
            `true` when a medical contraindication is recorded for the
            individual.
        naturalImmunityIndicator:
          type: boolean
          description: '`true` when a natural immunity is recorded for the individual.'
        vaccineTrialIndicator:
          type: boolean
          description: '`true` when a vaccine trial is recorded for the individual.'
        actionRequiredIndicator:
          type: boolean
          description: >-
            `true` when the individual has encounters that need correction
            (editable encounters in an invalid status).
        endDateCode:
          $ref: >-
            #/components/schemas/AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetailsEndDateCode
          description: >-
            Present when the individual's record has restrictions. See the
            *End-date code* table in the operation description.
      description: >-
        Present on a successful match (`AIR-I-1100`) and on the end-date
        warnings (`AIR-W-1059`, `AIR-W-1062`). `null` on validation errors and
        `AIR-E-1058`.
      title: >-
        AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetails
    AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaErrorsItems:
      type: object
      properties:
        code:
          type: string
          description: >-
            AIR validation code (`AIR-E-1026` insufficient info, `AIR-E-1035`
            not found).
        field:
          type: string
        message:
          type: string
      title: >-
        AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaErrorsItems
    AIR_Individual Details_Identify Individual_Response_200:
      type: object
      properties:
        statusCode:
          type: string
          description: AIR status code. See [Status codes](/air#status-codes).
        codeType:
          type: string
          description: Code-type category.
        message:
          type: string
          description: Status message from AIR.
        individualDetails:
          oneOf:
            - $ref: >-
                #/components/schemas/AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaIndividualDetails
            - type: 'null'
          description: >-
            Present on a successful match (`AIR-I-1100`) and on the end-date
            warnings (`AIR-W-1059`, `AIR-W-1062`). `null` on validation errors
            and `AIR-E-1058`.
        errors:
          type:
            - array
            - 'null'
          items:
            $ref: >-
              #/components/schemas/AirV11IndividualDetailsPostResponsesContentApplicationJsonSchemaErrorsItems
          description: >-
            Field-level validation problems. Present when `statusCode` is
            `AIR-E-1005`. See [Validation codes](/air#validation-codes).
        correlationId:
          type: string
          description: >-
            Unique request identifier. Include in support tickets so we can
            trace the request.
      title: AIR_Individual Details_Identify Individual_Response_200
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    minorId:
      type: apiKey
      in: header
      name: x-minor-id

```

## SDK Code Examples

```python Success
import requests

url = "https://api.rebateright.com.au/AIR/v1.1/individual/details"

payload = {
    "individual": {
        "personalDetails": {
            "dateOfBirth": "18042016",
            "firstName": "Tyson",
            "lastName": "HARDIE"
        },
        "medicareCard": {
            "medicareCardNumber": "4951633381",
            "medicareIRN": "6"
        },
        "ihiNumber": "8003608666974126"
    },
    "informationProvider": { "providerNumber": "T39126X" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Success
const url = 'https://api.rebateright.com.au/AIR/v1.1/individual/details';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"individual":{"personalDetails":{"dateOfBirth":"18042016","firstName":"Tyson","lastName":"HARDIE"},"medicareCard":{"medicareCardNumber":"4951633381","medicareIRN":"6"},"ihiNumber":"8003608666974126"},"informationProvider":{"providerNumber":"T39126X"}}'
};

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

```go Success
package main

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

func main() {

	url := "https://api.rebateright.com.au/AIR/v1.1/individual/details"

	payload := strings.NewReader("{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"firstName\": \"Tyson\",\n      \"lastName\": \"HARDIE\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"6\"\n    },\n    \"ihiNumber\": \"8003608666974126\"\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

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

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

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

}
```

```ruby Success
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/AIR/v1.1/individual/details")

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

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"firstName\": \"Tyson\",\n      \"lastName\": \"HARDIE\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"6\"\n    },\n    \"ihiNumber\": \"8003608666974126\"\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}"

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

```java Success
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/AIR/v1.1/individual/details")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"firstName\": \"Tyson\",\n      \"lastName\": \"HARDIE\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"6\"\n    },\n    \"ihiNumber\": \"8003608666974126\"\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")
  .asString();
```

```php Success
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/AIR/v1.1/individual/details', [
  'body' => '{
  "individual": {
    "personalDetails": {
      "dateOfBirth": "18042016",
      "firstName": "Tyson",
      "lastName": "HARDIE"
    },
    "medicareCard": {
      "medicareCardNumber": "4951633381",
      "medicareIRN": "6"
    },
    "ihiNumber": "8003608666974126"
  },
  "informationProvider": {
    "providerNumber": "T39126X"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Success
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/AIR/v1.1/individual/details");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"firstName\": \"Tyson\",\n      \"lastName\": \"HARDIE\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"6\"\n    },\n    \"ihiNumber\": \"8003608666974126\"\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Success
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "individual": [
    "personalDetails": [
      "dateOfBirth": "18042016",
      "firstName": "Tyson",
      "lastName": "HARDIE"
    ],
    "medicareCard": [
      "medicareCardNumber": "4951633381",
      "medicareIRN": "6"
    ],
    "ihiNumber": "8003608666974126"
  ],
  "informationProvider": ["providerNumber": "T39126X"]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/AIR/v1.1/individual/details")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```

```python Insufficient Info
import requests

url = "https://api.rebateright.com.au/AIR/v1.1/individual/details"

payload = {
    "individual": { "personalDetails": {
            "dateOfBirth": "18042016",
            "lastName": "HARDIE"
        } },
    "informationProvider": { "providerNumber": "T39126X" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Insufficient Info
const url = 'https://api.rebateright.com.au/AIR/v1.1/individual/details';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"individual":{"personalDetails":{"dateOfBirth":"18042016","lastName":"HARDIE"}},"informationProvider":{"providerNumber":"T39126X"}}'
};

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

```go Insufficient Info
package main

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

func main() {

	url := "https://api.rebateright.com.au/AIR/v1.1/individual/details"

	payload := strings.NewReader("{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"lastName\": \"HARDIE\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

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

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

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

}
```

```ruby Insufficient Info
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/AIR/v1.1/individual/details")

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

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"lastName\": \"HARDIE\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}"

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

```java Insufficient Info
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/AIR/v1.1/individual/details")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"lastName\": \"HARDIE\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")
  .asString();
```

```php Insufficient Info
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/AIR/v1.1/individual/details', [
  'body' => '{
  "individual": {
    "personalDetails": {
      "dateOfBirth": "18042016",
      "lastName": "HARDIE"
    }
  },
  "informationProvider": {
    "providerNumber": "T39126X"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Insufficient Info
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/AIR/v1.1/individual/details");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"18042016\",\n      \"lastName\": \"HARDIE\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Insufficient Info
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "individual": ["personalDetails": [
      "dateOfBirth": "18042016",
      "lastName": "HARDIE"
    ]],
  "informationProvider": ["providerNumber": "T39126X"]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/AIR/v1.1/individual/details")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```

```python Not Found
import requests

url = "https://api.rebateright.com.au/AIR/v1.1/individual/details"

payload = {
    "individual": {
        "personalDetails": {
            "dateOfBirth": "01012000",
            "firstName": "NOTREAL",
            "lastName": "PERSON"
        },
        "medicareCard": {
            "medicareCardNumber": "4951633381",
            "medicareIRN": "9"
        }
    },
    "informationProvider": { "providerNumber": "T39126X" }
}
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Not Found
const url = 'https://api.rebateright.com.au/AIR/v1.1/individual/details';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"individual":{"personalDetails":{"dateOfBirth":"01012000","firstName":"NOTREAL","lastName":"PERSON"},"medicareCard":{"medicareCardNumber":"4951633381","medicareIRN":"9"}},"informationProvider":{"providerNumber":"T39126X"}}'
};

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

```go Not Found
package main

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

func main() {

	url := "https://api.rebateright.com.au/AIR/v1.1/individual/details"

	payload := strings.NewReader("{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"01012000\",\n      \"firstName\": \"NOTREAL\",\n      \"lastName\": \"PERSON\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"9\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

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

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

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

}
```

```ruby Not Found
require 'uri'
require 'net/http'

url = URI("https://api.rebateright.com.au/AIR/v1.1/individual/details")

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

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"01012000\",\n      \"firstName\": \"NOTREAL\",\n      \"lastName\": \"PERSON\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"9\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}"

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

```java Not Found
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.rebateright.com.au/AIR/v1.1/individual/details")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"01012000\",\n      \"firstName\": \"NOTREAL\",\n      \"lastName\": \"PERSON\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"9\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}")
  .asString();
```

```php Not Found
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.rebateright.com.au/AIR/v1.1/individual/details', [
  'body' => '{
  "individual": {
    "personalDetails": {
      "dateOfBirth": "01012000",
      "firstName": "NOTREAL",
      "lastName": "PERSON"
    },
    "medicareCard": {
      "medicareCardNumber": "4951633381",
      "medicareIRN": "9"
    }
  },
  "informationProvider": {
    "providerNumber": "T39126X"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp Not Found
using RestSharp;

var client = new RestClient("https://api.rebateright.com.au/AIR/v1.1/individual/details");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"individual\": {\n    \"personalDetails\": {\n      \"dateOfBirth\": \"01012000\",\n      \"firstName\": \"NOTREAL\",\n      \"lastName\": \"PERSON\"\n    },\n    \"medicareCard\": {\n      \"medicareCardNumber\": \"4951633381\",\n      \"medicareIRN\": \"9\"\n    }\n  },\n  \"informationProvider\": {\n    \"providerNumber\": \"T39126X\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Not Found
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "individual": [
    "personalDetails": [
      "dateOfBirth": "01012000",
      "firstName": "NOTREAL",
      "lastName": "PERSON"
    ],
    "medicareCard": [
      "medicareCardNumber": "4951633381",
      "medicareIRN": "9"
    ]
  ],
  "informationProvider": ["providerNumber": "T39126X"]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.rebateright.com.au/AIR/v1.1/individual/details")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```