openapi: 3.2.0 info: version: 1.2.3(1S) title: Jobox Ai Receipts API servers: - url: https://https://staging.jobox.ai/Kili tags: - name: receipts paths: /receipts/{receipt_key}/feedback: post: tags: - receipts operationId: getFeedback parameters: - name: receipt_key in: path required: true schema: type: string responses: default: description: successful operation requestBody: content: application/json: schema: $ref: '#/components/schemas/JobFeedback' /receipts/v2/{receipt_key}: get: tags: - receipts operationId: read_13 parameters: - name: receipt_key in: path required: true schema: type: string - name: Timezone in: header required: false schema: type: string - name: preview in: query required: false schema: type: boolean responses: default: description: successful operation /receipts/new: post: tags: - receipts operationId: create_14 parameters: - name: Timezone in: header required: false schema: type: string responses: default: description: successful operation requestBody: content: application/json: schema: $ref: '#/components/schemas/ReceiptWithNotesDTO' components: schemas: ReceiptRequestDTO: type: object properties: firstName: type: string lastName: type: string companyName: type: string email: type: string phoneNumber: type: string notes: type: string jobId: type: integer format: int64 userId: type: integer format: int64 timezone: type: string ReceiptWithNotesDTO: type: object properties: receiptRequestDTO: $ref: '#/components/schemas/ReceiptRequestDTO' note: $ref: '#/components/schemas/Note' Note: type: object properties: id: type: integer format: int64 byUserId: type: integer format: int64 entityId: type: integer format: int64 entityType: type: string enum: - JOB - JOB_LOG - PAYMENT - PAYMENT_LOG - WALLET_LOG - RECEIPT - COMMODITY content: type: string attachmentType: type: string enum: - TEXT - IMAGE - AUDIO - VIDEO attachment: type: string shared: type: boolean active: type: boolean createdAt: type: string format: date-time JobFeedback: type: object properties: id: type: integer format: int64 receiptLogId: type: integer format: int64 feedback: type: string enum: - HAPPY - SAD feedbackTs: type: string format: date-time