# Get children of the category specified

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /OpenApi/Category/GetChildren:
    get:
      summary: Get children of the category specified
      deprecated: false
      description: Get children of the category specified in the parameters
      tags:
        - 'Category '
      parameters:
        - name: ParentCode
          in: query
          description: >-
            Parent Code, if no input, it will return to the first category list.
            Non-Mandatory
          required: false
          example: C0001
          schema:
            type: string
        - name: Authorization
          in: header
          description: Authorization Param
          required: true
          example: TVC {{Authorization}}
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  CateoryList:
                    type: array
                    items:
                      type: object
                      properties:
                        Code:
                          type: string
                          description: Category Code
                          title: Category Code
                        Name:
                          type: string
                          title: Category Name
                          description: Category Name
                        ParentCode:
                          type: string
                          title: Parent Code of the category
                          description: Parent Code of the category
                        Status:
                          type: string
                          title: Category Status
                          description: 'Category Status includes: valid, invalid'
                      required:
                        - Code
                        - Name
                        - ParentCode
                        - Status
                      x-apifox-orders:
                        - Code
                        - Name
                        - ParentCode
                        - Status
                    description: Array
                required:
                  - CateoryList
                x-apifox-orders:
                  - CateoryList
              example:
                CateoryList:
                  - Code: C00010004
                    Name: Android Phones
                    ParentCode: C0001
                    Status: Valid
                  - Code: C00010002
                    Name: Tablets
                    ParentCode: C0001
                    Status: Valid
                  - Code: C00010001
                    Name: Bar Phones
                    ParentCode: C0001
                    Status: Valid
                  - Code: C00010003
                    Name: Watch Phones
                    ParentCode: C0001
                    Status: Valid
          headers: {}
          x-apifox-name: success
        x-200:unauthorized:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  Message:
                    type: string
                    description: message
                required:
                  - Message
                x-apifox-orders:
                  - Message
              example:
                Message: unauthorized
          headers: {}
          x-apifox-name: unauthorized
      security: []
      x-apifox-folder: 'Category '
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4282467/apis/api-162165277-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://openapi.tvc-mall.com
    description: 正式环境
security: []

```
