# Get parent of the category specified

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /OpenApi/Category/GetParent:
    get:
      summary: Get parent of the category specified
      deprecated: false
      description: Get parent of the category specified in the parameters
      tags:
        - 'Category '
      parameters:
        - name: categoryCode
          in: query
          description: Category Code
          required: true
          example: C0001
          schema:
            type: string
        - name: Authorization
          in: header
          description: Authorization
          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
                          title: Category Code
                          description: Category Code
                        Name:
                          type: string
                          title: Category Name
                          description: Category Name
                        ParentName:
                          type: string
                          title: Parent Name of the category
                          description: Parent Name of the category
                        ParentCode:
                          type: string
                          title: Parent Code of the category
                          description: Parent Code of the category
                        Status:
                          type: string
                      x-apifox-orders:
                        - Code
                        - Name
                        - ParentName
                        - ParentCode
                        - Status
                required:
                  - CateoryList
                x-apifox-orders:
                  - CateoryList
              example:
                CateoryList:
                  - Code: C00010001
                    Name: Bar Phones
                    ParentName: Phones & Tablets
                    ParentCode: C0001
                    Status: Valid
          headers: {}
          x-apifox-name: success
      security: []
      x-apifox-folder: 'Category '
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4282467/apis/api-162165278-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://openapi.tvc-mall.com
    description: 正式环境
security: []

```
