openapi: 3.2.0 info: title: 701x API V1 Attachment Controller Admin API description: 701x API version: v1 tags: - name: AttachmentControllerAdmin paths: /AttachmentControllerAdmin/AttachmentDataByFilter: get: tags: - AttachmentControllerAdmin parameters: - name: top in: query schema: type: - integer - 'null' format: int32 - name: orderBy in: query schema: type: - string - 'null' - name: offset in: query schema: type: - integer - 'null' format: int32 - name: fetch in: query schema: type: - integer - 'null' format: int32 - name: WOId in: query schema: type: - string - 'null' format: uuid - name: CompanyId in: query schema: type: string format: uuid - name: FarmId in: query schema: type: - string - 'null' format: uuid - name: GroupId in: query schema: type: - string - 'null' format: uuid - name: FarmVirtualFenceId in: query schema: type: - string - 'null' format: uuid - name: FarmPointOfInterestId in: query schema: type: - string - 'null' format: uuid - name: TagId in: query schema: type: - string - 'null' format: uuid - name: AnimalId in: query schema: type: - string - 'null' format: uuid - name: LogId in: query schema: type: - string - 'null' format: uuid - name: FeedbackId in: query schema: type: - string - 'null' format: uuid - name: FileName in: query schema: type: - string - 'null' - name: FileExtension in: query schema: type: - string - 'null' - name: FilePath in: query schema: type: - string - 'null' - name: FileType in: query schema: type: - string - 'null' - name: LessThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenCreatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenUpdatedByDate in: query schema: type: - string - 'null' format: date-time - name: LessThenDeletedByDate in: query schema: type: - string - 'null' format: date-time - name: GreaterThenDeletedByDate in: query schema: type: - string - 'null' format: date-time responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get attachment controller admin attachment data by filter x-summary-source: derived operationId: getAttachmentControllerAdminAttachmentDataByFilter x-operation-id-source: derived /AttachmentControllerAdmin/{id}: get: tags: - AttachmentControllerAdmin parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Attachment_Master' application/json: schema: $ref: '#/components/schemas/Attachment_Master' text/json: schema: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get attachment controller admin by id x-summary-source: derived operationId: getAttachmentControllerAdminById x-operation-id-source: derived put: tags: - AttachmentControllerAdmin parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Attachment_Master' application/json: schema: $ref: '#/components/schemas/Attachment_Master' text/json: schema: $ref: '#/components/schemas/Attachment_Master' application/*+json: schema: $ref: '#/components/schemas/Attachment_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Attachment_Master' application/json: schema: $ref: '#/components/schemas/Attachment_Master' text/json: schema: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace attachment controller admin by id x-summary-source: derived operationId: putAttachmentControllerAdminById x-operation-id-source: derived delete: tags: - AttachmentControllerAdmin parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Attachment_Master' application/json: schema: $ref: '#/components/schemas/Attachment_Master' text/json: schema: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete attachment controller admin by id x-summary-source: derived operationId: deleteAttachmentControllerAdminById x-operation-id-source: derived /AttachmentControllerAdmin: post: tags: - AttachmentControllerAdmin requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Attachment_Master' application/json: schema: $ref: '#/components/schemas/Attachment_Master' text/json: schema: $ref: '#/components/schemas/Attachment_Master' application/*+json: schema: $ref: '#/components/schemas/Attachment_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Attachment_Master' application/json: schema: $ref: '#/components/schemas/Attachment_Master' text/json: schema: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create attachment controller admin x-summary-source: derived operationId: postAttachmentControllerAdmin x-operation-id-source: derived /AttachmentControllerAdmin/BlobLinks: post: tags: - AttachmentControllerAdmin requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: type: string format: uuid application/json: schema: type: - array - 'null' items: type: string format: uuid text/json: schema: type: - array - 'null' items: type: string format: uuid application/*+json: schema: type: - array - 'null' items: type: string format: uuid responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/BlobLinks' application/json: schema: type: array items: $ref: '#/components/schemas/BlobLinks' text/json: schema: type: array items: $ref: '#/components/schemas/BlobLinks' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create attachment controller admin blob links x-summary-source: derived operationId: postAttachmentControllerAdminBlobLinks x-operation-id-source: derived /AttachmentControllerAdmin/MassInsert: post: tags: - AttachmentControllerAdmin requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create attachment controller admin mass insert x-summary-source: derived operationId: postAttachmentControllerAdminMassInsert x-operation-id-source: derived /AttachmentControllerAdmin/MassUpdate: post: tags: - AttachmentControllerAdmin requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create attachment controller admin mass update x-summary-source: derived operationId: postAttachmentControllerAdminMassUpdate x-operation-id-source: derived /AttachmentControllerAdmin/MassDelete: post: tags: - AttachmentControllerAdmin requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Attachment_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Attachment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create attachment controller admin mass delete x-summary-source: derived operationId: postAttachmentControllerAdminMassDelete x-operation-id-source: derived components: schemas: BlobLinks: type: object properties: id: type: string format: uuid fileURL: type: - string - 'null' thumbnailURL: type: - string - 'null' additionalProperties: false Attachment_Master: type: object properties: id: type: string format: uuid companyId: type: - string - 'null' format: uuid companySaleId: type: - string - 'null' format: uuid companyTransferId: type: - string - 'null' format: uuid companyPurchaseId: type: - string - 'null' format: uuid contactId: type: - string - 'null' format: uuid farmId: type: - string - 'null' format: uuid groupId: type: - string - 'null' format: uuid farmVirtualFenceId: type: - string - 'null' format: uuid farmPointOfInterestId: type: - string - 'null' format: uuid animalId: type: - string - 'null' format: uuid tagId: type: - string - 'null' format: uuid logId: type: - string - 'null' format: uuid feedbackId: type: - string - 'null' format: uuid woId: type: - string - 'null' format: uuid saleDayId: type: - string - 'null' format: uuid saleDayLotId: type: - string - 'null' format: uuid attachment: type: - string - 'null' format: byte fileURL: type: - string - 'null' fileName: type: - string - 'null' fileExtension: type: - string - 'null' filePath: type: - string - 'null' fileType: type: - string - 'null' fileSize: type: integer format: int64 isProfilePic: type: - boolean - 'null' thumbnailURL: type: - string - 'null' groupCode: type: - string - 'null' groupDescription: type: - string - 'null' companyDescription: type: - string - 'null' farmDescription: type: - string - 'null' createdByDate: type: - string - 'null' format: date-time createdByUserId: type: - string - 'null' format: uuid createdByName: type: - string - 'null' lastUpdatedByDate: type: - string - 'null' format: date-time lastUpdatedByUserId: type: - string - 'null' format: uuid lastUpdatedByName: type: - string - 'null' inActiveDate: type: - string - 'null' format: date-time lastSyncEpoch: type: - integer - 'null' format: int64 deleteSyncEpoch: type: - integer - 'null' format: int64 isNew: type: boolean isUpdate: type: boolean isDelete: type: boolean error: type: - string - 'null' additionalProperties: false securitySchemes: oauth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://login.701x.com/connect/authorize tokenUrl: https://login.701x.com/connect/token scopes: api1: Demo API - full access