openapi: 3.2.0 info: title: 701x API V1 Animal EPD API description: 701x API version: v1 tags: - name: AnimalEPD paths: /AnimalEPD/AnimalEPDDataByFilter: get: tags: - AnimalEPD 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: AssociationCode in: query schema: type: - string - 'null' - name: RegistrationNumber in: query schema: type: - string - 'null' - name: isShared in: query schema: type: boolean default: false responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal epd animal epd data by filter x-summary-source: derived operationId: getAnimalEPDAnimalEPDDataByFilter x-operation-id-source: derived /AnimalEPD/GetAllChanges: get: tags: - AnimalEPD parameters: - name: lastSynced in: query schema: type: - string - 'null' format: date-time - name: companyId in: query schema: type: string format: uuid - name: includeShared in: query schema: type: boolean default: false requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/SyncingRequestParams' application/json: schema: $ref: '#/components/schemas/SyncingRequestParams' text/json: schema: $ref: '#/components/schemas/SyncingRequestParams' application/*+json: schema: $ref: '#/components/schemas/SyncingRequestParams' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/EPDData' application/json: schema: $ref: '#/components/schemas/EPDData' text/json: schema: $ref: '#/components/schemas/EPDData' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal epd get all changes x-summary-source: derived operationId: getAnimalEPDGetAllChanges x-operation-id-source: derived post: tags: - AnimalEPD parameters: - name: lastSynced in: query schema: type: - string - 'null' format: date-time - name: companyId in: query schema: type: string format: uuid - name: includeShared in: query schema: type: boolean default: false requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/SyncingRequestParams' application/json: schema: $ref: '#/components/schemas/SyncingRequestParams' text/json: schema: $ref: '#/components/schemas/SyncingRequestParams' application/*+json: schema: $ref: '#/components/schemas/SyncingRequestParams' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/EPDData' application/json: schema: $ref: '#/components/schemas/EPDData' text/json: schema: $ref: '#/components/schemas/EPDData' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal epd get all changes x-summary-source: derived operationId: postAnimalEPDGetAllChanges x-operation-id-source: derived /AnimalEPD/{id}: get: tags: - AnimalEPD parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_EPD' application/json: schema: $ref: '#/components/schemas/Animal_EPD' text/json: schema: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal epd by id x-summary-source: derived operationId: getAnimalEPDById x-operation-id-source: derived put: tags: - AnimalEPD parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Animal_EPD' application/json: schema: $ref: '#/components/schemas/Animal_EPD' text/json: schema: $ref: '#/components/schemas/Animal_EPD' application/*+json: schema: $ref: '#/components/schemas/Animal_EPD' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_EPD' application/json: schema: $ref: '#/components/schemas/Animal_EPD' text/json: schema: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace animal epd by id x-summary-source: derived operationId: putAnimalEPDById x-operation-id-source: derived delete: tags: - AnimalEPD parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_EPD' application/json: schema: $ref: '#/components/schemas/Animal_EPD' text/json: schema: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete animal epd by id x-summary-source: derived operationId: deleteAnimalEPDById x-operation-id-source: derived /AnimalEPD: post: tags: - AnimalEPD requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Animal_EPD' application/json: schema: $ref: '#/components/schemas/Animal_EPD' text/json: schema: $ref: '#/components/schemas/Animal_EPD' application/*+json: schema: $ref: '#/components/schemas/Animal_EPD' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_EPD' application/json: schema: $ref: '#/components/schemas/Animal_EPD' text/json: schema: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal epd x-summary-source: derived operationId: postAnimalEPD x-operation-id-source: derived /AnimalEPD/MassInsert: post: tags: - AnimalEPD requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal epd mass insert x-summary-source: derived operationId: postAnimalEPDMassInsert x-operation-id-source: derived /AnimalEPD/MassUpdate: post: tags: - AnimalEPD requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal epd mass update x-summary-source: derived operationId: postAnimalEPDMassUpdate x-operation-id-source: derived /AnimalEPD/MassDelete: post: tags: - AnimalEPD requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_EPD' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal epd mass delete x-summary-source: derived operationId: postAnimalEPDMassDelete x-operation-id-source: derived components: schemas: Animal_EPD: type: object properties: id: type: string format: uuid companyId: type: - string - 'null' format: uuid animalId: type: - string - 'null' format: uuid associationCode: type: - string - 'null' registrationNumber: type: - string - 'null' memberNumber: type: - string - 'null' data: type: - string - 'null' dataList: 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 isShared: type: - boolean - 'null' isNew: type: boolean isUpdate: type: boolean isDelete: type: boolean error: type: - string - 'null' additionalProperties: false EPDData: type: object properties: animalEPDInserted: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' animalEPDUpdated: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' animalEPDDeleted: type: - array - 'null' items: $ref: '#/components/schemas/Animal_EPD' additionalProperties: false SyncingTableRequestParams: type: object properties: tableName: type: - string - 'null' dateTimeOffset: type: - string - 'null' format: date-time lastSyncEpochMs: type: - integer - 'null' format: int64 readOnly: true additionalProperties: false SyncingRequestParams: type: object properties: syncingTableRequestParams: type: - array - 'null' items: $ref: '#/components/schemas/SyncingTableRequestParams' 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