openapi: 3.2.0 info: title: 701x API V1 Animal Owner API description: 701x API version: v1 tags: - name: AnimalOwner paths: /AnimalOwner/AnimalOwnerDataByFilter: get: tags: - AnimalOwner 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: isShared in: query schema: type: boolean default: false responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/DB_Animal_Owner' application/json: schema: type: array items: $ref: '#/components/schemas/DB_Animal_Owner' text/json: schema: type: array items: $ref: '#/components/schemas/DB_Animal_Owner' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal owner animal owner data by filter x-summary-source: derived operationId: getAnimalOwnerAnimalOwnerDataByFilter x-operation-id-source: derived /AnimalOwner/{id}: get: tags: - AnimalOwner parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Owner' application/json: schema: $ref: '#/components/schemas/Animal_Owner' text/json: schema: $ref: '#/components/schemas/Animal_Owner' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal owner by id x-summary-source: derived operationId: getAnimalOwnerById x-operation-id-source: derived /AnimalOwner/MassUpdate: post: tags: - AnimalOwner requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Owner' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Owner' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Owner' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Owner' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_Owner' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Owner' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Owner' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal owner mass update x-summary-source: derived operationId: postAnimalOwnerMassUpdate x-operation-id-source: derived components: schemas: Animal_Owner: type: object properties: id: type: string format: uuid toCompanyId: type: - string - 'null' format: uuid companySaleId: type: - string - 'null' format: uuid companyPurchaseId: type: - string - 'null' format: uuid companyTransferId: type: - string - 'null' format: uuid companyShareId: type: - string - 'null' 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' 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' isShared: type: - boolean - 'null' 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 isNew: type: boolean isUpdate: type: boolean isDelete: type: boolean error: type: - string - 'null' additionalProperties: false DB_Animal_Owner: type: object properties: id: type: string format: uuid toCompanyId: type: - string - 'null' format: uuid companySaleId: type: - string - 'null' format: uuid companyPurchaseId: type: - string - 'null' format: uuid companyTransferId: type: - string - 'null' format: uuid companyShareId: type: - string - 'null' 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' 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' isShared: type: - boolean - 'null' 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 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