> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bindbee.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Dependent By Id

> Returns a Dependent object with the given id.



## OpenAPI

````yaml get /api/hris/v1/dependents/{id}
openapi: 3.1.0
info:
  title: Bindbee APIs
  version: 0.1.0
servers:
  - url: https://api.bindbee.dev
  - url: https://api-eu.bindbee.dev
security: []
paths:
  /api/hris/v1/dependents/{id}:
    get:
      tags:
        - Dependents
      summary: Get Dependent By Id
      description: Returns a Dependent object with the given id.
      operationId: get_dependent_by_id_api_hris_v1_dependents__id__get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Id
        - name: include_raw_data
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Whether to include the original data Bindbee fetched from the
              third-party to produce these models.
            examples:
              - false
            default: false
            title: Include Raw Data
          description: >-
            Whether to include the original data Bindbee fetched from the
            third-party to produce these models.
        - name: include_custom_fields
          in: query
          required: false
          schema:
            type: boolean
            description: Whether to include custom fields in the response.
            examples:
              - false
            default: false
            title: Include Custom Fields
          description: Whether to include custom fields in the response.
        - name: expand
          in: query
          required: false
          schema:
            type: string
            description: >-
              Which relations should be returned in expanded form. Multiple
              relation names should be comma separated without spaces. You can
              also specify required fields in [] for each relation name.
            examples:
              - manager[first_name,last_name]
            title: Expand
          description: >-
            Which relations should be returned in expanded form. Multiple
            relation names should be comma separated without spaces. You can
            also specify required fields in [] for each relation name.
        - name: x-connector-token
          in: header
          required: true
          schema:
            type: string
            title: X-Connector-Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HrisDependent'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HrisDependent:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          examples:
            - 018b18ef-c487-703c-afd9-0ca478ccd9d6
        remote_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Remote Id
          description: The third-party API ID of the matching object.
          examples:
            - '123321'
        modified_at:
          type: string
          title: Modified At
          description: This is the datetime that this object was last updated by Bindbee
          examples:
            - '2021-10-16T00:00:00Z'
        raw_data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Raw Data
          description: This is the Raw data
          examples:
            - key_1: Platform dependent data 1
              key_2: Platform dependent data 2
        custom_fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Custom Fields
          description: The custom fields related to the model
          examples:
            - category_group: REG
              disability_type: ASBERG
              hire_date: '1991-03-16T00:00:00'
              hire_source: REFER
              nationality: USA
              original_hire_date: '1991-03-16T00:00:00'
        employee:
          anyOf:
            - {}
            - type: 'null'
          title: Employee
          description: The employee holding this position.
          examples:
            - 018abccb-c4a9-72f6-be1d-3fc7aaf2be67
        home_location:
          anyOf:
            - $ref: '#/components/schemas/HrisAddress'
            - type: 'null'
          description: The employee's home address.
          examples:
            - city: London
              country: UK
              location: UK-HO-London
              postal_code: '56273'
              state: LND
              street_1: '1011'
              street_2: Lane number 4, Golden Villa
        first_name:
          anyOf:
            - type: string
            - type: 'null'
          title: First Name
          description: The dependent's first name
          examples:
            - Aayushi
        middle_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Middle Name
          description: The dependent's middle name
          examples:
            - Olivia
        last_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Name
          description: The dependent's last name
          examples:
            - Rai
        relationship:
          anyOf:
            - type: string
            - type: 'null'
          enum:
            - CHILD
            - SPOUSE
            - DOMESTIC_PARTNER
            - SIBLING
            - PARENT
          title: Relationship
          description: >-
            The dependent's relationship with this employee. If the value is not
            one of the defined enum values, the original value passed through
            will be returned.
          examples:
            - SPOUSE
        date_of_birth:
          anyOf:
            - type: string
            - type: 'null'
          title: Date Of Birth
          description: The dependent's date of birth
          examples:
            - '1995-04-16T00:00:00Z'
        gender:
          anyOf:
            - type: string
            - type: 'null'
          enum:
            - MALE
            - FEMALE
            - NON-BINARY
            - OTHER
            - PREFER_NOT_TO_DISCLOSE
            - '-'
          title: Gender
          description: >-
            The dependent's gender. If the value is not one of the defined enum
            values, the original value passed through will be returned.
          examples:
            - FEMALE
        phone_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone Number
          description: The dependent's phone number
          examples:
            - +44-208-555-2112
        is_student:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Student
          description: Indicates if the dependent is a student
          examples:
            - true
        ssn:
          anyOf:
            - type: string
            - type: 'null'
          title: Ssn
          description: The dependent's SSN
          examples:
            - 555-22-5555
      type: object
      required:
        - id
        - remote_id
        - modified_at
        - custom_fields
        - employee
        - home_location
        - first_name
        - middle_name
        - last_name
        - relationship
        - date_of_birth
        - gender
        - phone_number
        - is_student
        - ssn
      title: HrisDependent
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    HrisAddress:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Name of the location
          examples:
            - UK-HO-London
        location:
          anyOf:
            - type: string
            - type: 'null'
          title: Location
          description: Location
          examples:
            - UK-HO-London
        street_1:
          anyOf:
            - type: string
            - type: 'null'
          title: Street 1
          description: Street 1
          examples:
            - '1011'
        street_2:
          anyOf:
            - type: string
            - type: 'null'
          title: Street 2
          description: Street 2
          examples:
            - Lane number 4, Golden Villa
        city:
          anyOf:
            - type: string
            - type: 'null'
          title: City
          description: City
          examples:
            - London
        state:
          anyOf:
            - type: string
            - type: 'null'
          title: State
          description: State
          examples:
            - LND
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Postal Code
          description: Postal Code
          examples:
            - '56273'
        country:
          anyOf:
            - type: string
            - type: 'null'
          title: Country
          description: Country
          examples:
            - UK
      type: object
      title: HrisAddress
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````