openapi: 3.2.0 info: title: 701x API V1 Animal Data Owner API description: 701x API version: v1 tags: - name: AnimalDataOwner paths: /AnimalDataOwner/AnimalDataOwnerByFilter: get: tags: - AnimalDataOwner 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: AssociationId 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_Data_Owner' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Owner' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Owner' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal data owner animal data owner by filter x-summary-source: derived operationId: getAnimalDataOwnerAnimalDataOwnerByFilter x-operation-id-source: derived /AnimalDataOwner/{id}: get: tags: - AnimalDataOwner parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Data_Owner' application/json: schema: $ref: '#/components/schemas/Animal_Data_Owner' text/json: schema: $ref: '#/components/schemas/Animal_Data_Owner' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal data owner by id x-summary-source: derived operationId: getAnimalDataOwnerById x-operation-id-source: derived /AnimalDataOwner/Put/{id}: put: tags: - AnimalDataOwner parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Animal_Data_Owner' application/json: schema: $ref: '#/components/schemas/Animal_Data_Owner' text/json: schema: $ref: '#/components/schemas/Animal_Data_Owner' application/*+json: schema: $ref: '#/components/schemas/Animal_Data_Owner' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Data_Owner' application/json: schema: $ref: '#/components/schemas/Animal_Data_Owner' text/json: schema: $ref: '#/components/schemas/Animal_Data_Owner' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace animal data owner put by id x-summary-source: derived operationId: putAnimalDataOwnerPutById x-operation-id-source: derived /AnimalDataOwner/MassUpdate: post: tags: - AnimalDataOwner requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Owner' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Owner' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Owner' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Owner' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Owner' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Owner' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Owner' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal data owner mass update x-summary-source: derived operationId: postAnimalDataOwnerMassUpdate x-operation-id-source: derived components: schemas: Animal_Data_Owner: type: object properties: id: type: string format: uuid legacyId: type: - string - 'null' companyId: type: - string - 'null' format: uuid contactId: type: - string - 'null' format: uuid contactLegacyId: type: - string - 'null' email: type: - string - 'null' animalId: type: - string - 'null' format: uuid animalLegacyId: type: - string - 'null' associationCode: type: - string - 'null' registrationNumber: type: - string - 'null' memberNumber: type: - string - 'null' workOrderNumber: type: - string - 'null' relationshipType: type: - string - 'null' startDate: type: - string - 'null' format: date-time endDate: type: - string - 'null' format: date-time ownership: type: - number - 'null' format: double genetic: type: - number - 'null' format: double hasPossession: type: - boolean - 'null' isSuperceded: type: - boolean - 'null' isTransfer: type: - boolean - 'null' salePrice: type: - number - 'null' format: double purchasePrice: type: - number - 'null' format: double comments: 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 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