openapi: 3.2.0 info: title: 701x API V1 Animal Comment API description: 701x API version: v1 tags: - name: AnimalComment paths: /AnimalComment/AnimalCommentDataByFilter: get: tags: - AnimalComment 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: CompanyId in: query schema: type: string format: uuid - name: AnimalId in: query schema: type: - string - 'null' format: uuid - name: FarmId in: query schema: type: - string - 'null' format: uuid - 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 - name: isShared in: query schema: type: boolean default: false responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal comment animal comment data by filter x-summary-source: derived operationId: getAnimalCommentAnimalCommentDataByFilter x-operation-id-source: derived /AnimalComment/{id}: get: tags: - AnimalComment parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Comment' application/json: schema: $ref: '#/components/schemas/Animal_Comment' text/json: schema: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal comment by id x-summary-source: derived operationId: getAnimalCommentById x-operation-id-source: derived put: tags: - AnimalComment parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Animal_Comment' application/json: schema: $ref: '#/components/schemas/Animal_Comment' text/json: schema: $ref: '#/components/schemas/Animal_Comment' application/*+json: schema: $ref: '#/components/schemas/Animal_Comment' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Comment' application/json: schema: $ref: '#/components/schemas/Animal_Comment' text/json: schema: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace animal comment by id x-summary-source: derived operationId: putAnimalCommentById x-operation-id-source: derived delete: tags: - AnimalComment parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Comment' application/json: schema: $ref: '#/components/schemas/Animal_Comment' text/json: schema: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete animal comment by id x-summary-source: derived operationId: deleteAnimalCommentById x-operation-id-source: derived /AnimalComment: post: tags: - AnimalComment requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Animal_Comment' application/json: schema: $ref: '#/components/schemas/Animal_Comment' text/json: schema: $ref: '#/components/schemas/Animal_Comment' application/*+json: schema: $ref: '#/components/schemas/Animal_Comment' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Comment' application/json: schema: $ref: '#/components/schemas/Animal_Comment' text/json: schema: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal comment x-summary-source: derived operationId: postAnimalComment x-operation-id-source: derived /AnimalComment/MassInsert: post: tags: - AnimalComment requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal comment mass insert x-summary-source: derived operationId: postAnimalCommentMassInsert x-operation-id-source: derived /AnimalComment/MassUpdate: post: tags: - AnimalComment requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal comment mass update x-summary-source: derived operationId: postAnimalCommentMassUpdate x-operation-id-source: derived /AnimalComment/MassDelete: post: tags: - AnimalComment requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Comment' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Comment' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal comment mass delete x-summary-source: derived operationId: postAnimalCommentMassDelete x-operation-id-source: derived components: schemas: Animal_Comment: type: object properties: id: type: string format: uuid companyId: type: - string - 'null' format: uuid farmId: type: - string - 'null' format: uuid animalId: type: - string - 'null' format: uuid commentId: type: - string - 'null' format: uuid comment: type: - string - 'null' cattleNumber: type: - string - 'null' animalCode: type: - string - 'null' animalDescription: type: - string - 'null' animalType: type: - string - 'null' animalBreed: type: - string - 'null' tagId: type: - string - 'null' format: uuid networkNumber: type: - string - 'null' groupId: type: - string - 'null' format: uuid 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