openapi: 3.2.0 info: title: Integration Category API version: '' servers: - url: https://{server} description: Replace server with your instance domain. variables: server: default: staging.panel.dev.focusvision.com/ description: Server domain tags: - name: Category paths: /api.pro#method=integration.category.listing: post: operationId: categoryListing summary: List all categories description: This call retrieves a list of defined categories for the selected panel. tags: - Category security: - ApiKey: [] parameters: - $ref: '#/components/parameters/method' schema: enum: - integration.category.listing requestBody: content: application/json: schema: type: object required: - sesKey properties: sesKey: description: A valid login hash. type: string example: 5a15852c564933807bbd36da58071063 responses: '200': description: OK content: application/json: schema: oneOf: - $ref: '#/components/schemas/error' - type: object properties: success: example: true type: boolean data: type: array items: type: object properties: id: type: integer description: The category id (used in integration.project.create and integration.project.listing) name: type: string description: The name of the category examples: success: summary: Success value: success: true data: - id: 1 name: New category - id: 2 name: Second category error-0: description: Session has expired. summary: Session expired value: success: false error: Session has expired. You must start a new session. errno: '30100' error-1: description: Session is not found for supplied session key. summary: Session not found value: success: false error: sessionkey not found errno: '30200' error-2: description: User ID not found for supplied session key. summary: Session not found value: success: false error: userid for sessionkey not found errno: '30200' error-3: description: Session key is not in correct format. summary: Session invalid value: success: false error: sessionkey is invalid errno: '30300' error-4: description: A panel needs to be selected before calling this method. summary: Panel not found value: success: false error: You must select a panel before you can use this method. errno: '40001' components: schemas: error: type: object properties: success: type: boolean error: description: The error message. type: string errno: description: The error code. type: string parameters: method: name: method in: query required: true description: Method schema: type: string securitySchemes: BearerAuth: type: http scheme: bearer ApiKey: type: apiKey in: query name: sesKey x-tagGroups: - name: Data Input and Output tags: - Auth - Campaign - Category - Community - Datapoint - Panel - Notes - Panelist - Project - Reminder - Sample - Session - Survey - Token