openapi: 3.2.0 info: title: 701x API V1 Embryo Collection API description: 701x API version: v1 tags: - name: EmbryoCollection paths: /EmbryoCollection/EmbryoCollectionByFilter: get: tags: - EmbryoCollection 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: 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: SearchString in: query schema: type: - string - 'null' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get embryo collection embryo collection by filter x-summary-source: derived operationId: getEmbryoCollectionEmbryoCollectionByFilter x-operation-id-source: derived /EmbryoCollection/{id}: get: tags: - EmbryoCollection parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get embryo collection by id x-summary-source: derived operationId: getEmbryoCollectionById x-operation-id-source: derived put: tags: - EmbryoCollection parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: $ref: '#/components/schemas/Embryo_Collection' application/*+json: schema: $ref: '#/components/schemas/Embryo_Collection' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace embryo collection by id x-summary-source: derived operationId: putEmbryoCollectionById x-operation-id-source: derived delete: tags: - EmbryoCollection parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete embryo collection by id x-summary-source: derived operationId: deleteEmbryoCollectionById x-operation-id-source: derived /EmbryoCollection: post: tags: - EmbryoCollection requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: $ref: '#/components/schemas/Embryo_Collection' application/*+json: schema: $ref: '#/components/schemas/Embryo_Collection' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create embryo collection x-summary-source: derived operationId: postEmbryoCollection x-operation-id-source: derived /EmbryoCollection/MassInsert: post: tags: - EmbryoCollection requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create embryo collection mass insert x-summary-source: derived operationId: postEmbryoCollectionMassInsert x-operation-id-source: derived /EmbryoCollection/MassUpdate: post: tags: - EmbryoCollection requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create embryo collection mass update x-summary-source: derived operationId: postEmbryoCollectionMassUpdate x-operation-id-source: derived /EmbryoCollection/MassDelete: post: tags: - EmbryoCollection requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Embryo_Collection' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' application/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' text/json: schema: type: array items: $ref: '#/components/schemas/Embryo_Collection' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create embryo collection mass delete x-summary-source: derived operationId: postEmbryoCollectionMassDelete x-operation-id-source: derived components: schemas: Embryo_Collection: type: object properties: id: type: string format: uuid legacyId: type: - string - 'null' companyId: type: string format: uuid farmId: type: string format: uuid farmDescription: type: - string - 'null' sireAnimalId: type: string format: uuid sireCattleNumber: type: - string - 'null' sireRegistrationNumber: type: - string - 'null' sireCode: type: - string - 'null' sireDescription: type: - string - 'null' sireAssociationCode: type: - string - 'null' damAnimalId: type: string format: uuid damCattleNumber: type: - string - 'null' damRegistrationNumber: type: - string - 'null' damCode: type: - string - 'null' damDescription: type: - string - 'null' damAssociationCode: type: - string - 'null' flushDate: type: string format: date-time inseminationDate: type: - string - 'null' format: date-time flushType: type: - integer - 'null' format: int32 protocol: type: - string - 'null' comment: type: - string - 'null' createdByDate: type: - string - 'null' format: date-time createdByUserId: type: - string - 'null' format: uuid createdByUserName: type: - string - 'null' lastUpdatedByUserName: type: - string - 'null' lastUpdatedByDate: type: - string - 'null' format: date-time lastUpdatedByUserId: type: - string - 'null' format: uuid 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