openapi: 3.2.0 info: title: 701x API V1 Comment API description: 701x API version: v1 tags: - name: Comment paths: /Comment/CommentDataByFilter: get: tags: - Comment 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: Comment 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/Comment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get comment comment data by filter x-summary-source: derived operationId: getCommentCommentDataByFilter x-operation-id-source: derived /Comment/{id}: get: tags: - Comment parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Comment_Master' application/json: schema: $ref: '#/components/schemas/Comment_Master' text/json: schema: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get comment by id x-summary-source: derived operationId: getCommentById x-operation-id-source: derived put: tags: - Comment parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Comment_Master' application/json: schema: $ref: '#/components/schemas/Comment_Master' text/json: schema: $ref: '#/components/schemas/Comment_Master' application/*+json: schema: $ref: '#/components/schemas/Comment_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Comment_Master' application/json: schema: $ref: '#/components/schemas/Comment_Master' text/json: schema: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace comment by id x-summary-source: derived operationId: putCommentById x-operation-id-source: derived delete: tags: - Comment parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Comment_Master' application/json: schema: $ref: '#/components/schemas/Comment_Master' text/json: schema: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete comment by id x-summary-source: derived operationId: deleteCommentById x-operation-id-source: derived /Comment: post: tags: - Comment requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Comment_Master' application/json: schema: $ref: '#/components/schemas/Comment_Master' text/json: schema: $ref: '#/components/schemas/Comment_Master' application/*+json: schema: $ref: '#/components/schemas/Comment_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Comment_Master' application/json: schema: $ref: '#/components/schemas/Comment_Master' text/json: schema: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create comment x-summary-source: derived operationId: postComment x-operation-id-source: derived /Comment/MassInsert: post: tags: - Comment requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Comment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create comment mass insert x-summary-source: derived operationId: postCommentMassInsert x-operation-id-source: derived /Comment/MassUpdate: post: tags: - Comment requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Comment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create comment mass update x-summary-source: derived operationId: postCommentMassUpdate x-operation-id-source: derived /Comment/MassDelete: post: tags: - Comment requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Comment_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Comment_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Comment_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create comment mass delete x-summary-source: derived operationId: postCommentMassDelete x-operation-id-source: derived components: schemas: Comment_Master: type: object properties: id: type: string format: uuid legacyId: type: - string - 'null' 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 comment: type: - string - 'null' groupCode: type: - string - 'null' groupDescription: type: - string - 'null' companyDescription: type: - string - 'null' farmDescription: type: - string - 'null' fenceDescription: type: - string - 'null' poiDescription: type: - string - 'null' contactDescription: type: - string - 'null' transferDescription: type: - string - 'null' purchaseDescription: type: - string - 'null' saleDescription: 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