openapi: 3.2.0 info: title: 701x API V1 Animal Data Wean API description: 701x API version: v1 tags: - name: AnimalDataWean paths: /AnimalDataWean/AnimalDataWeanByFilter: get: tags: - AnimalDataWean 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_Wean' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Wean' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Wean' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal data wean animal data wean by filter x-summary-source: derived operationId: getAnimalDataWeanAnimalDataWeanByFilter x-operation-id-source: derived /AnimalDataWean/GetAllChanges: get: tags: - AnimalDataWean 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/WeanData' application/json: schema: $ref: '#/components/schemas/WeanData' text/json: schema: $ref: '#/components/schemas/WeanData' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal data wean get all changes x-summary-source: derived operationId: getAnimalDataWeanGetAllChanges x-operation-id-source: derived post: tags: - AnimalDataWean 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/WeanData' application/json: schema: $ref: '#/components/schemas/WeanData' text/json: schema: $ref: '#/components/schemas/WeanData' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal data wean get all changes x-summary-source: derived operationId: postAnimalDataWeanGetAllChanges x-operation-id-source: derived /AnimalDataWean/{id}: get: tags: - AnimalDataWean 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_Wean' application/json: schema: $ref: '#/components/schemas/Animal_Data_Wean' text/json: schema: $ref: '#/components/schemas/Animal_Data_Wean' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get animal data wean by id x-summary-source: derived operationId: getAnimalDataWeanById x-operation-id-source: derived /AnimalDataWean/Put/{id}: put: tags: - AnimalDataWean parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Animal_Data_Wean' application/json: schema: $ref: '#/components/schemas/Animal_Data_Wean' text/json: schema: $ref: '#/components/schemas/Animal_Data_Wean' application/*+json: schema: $ref: '#/components/schemas/Animal_Data_Wean' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Animal_Data_Wean' application/json: schema: $ref: '#/components/schemas/Animal_Data_Wean' text/json: schema: $ref: '#/components/schemas/Animal_Data_Wean' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace animal data wean put by id x-summary-source: derived operationId: putAnimalDataWeanPutById x-operation-id-source: derived /AnimalDataWean/MassUpdate: post: tags: - AnimalDataWean requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Wean' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Wean' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Wean' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Wean' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Wean' application/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Wean' text/json: schema: type: array items: $ref: '#/components/schemas/Animal_Data_Wean' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create animal data wean mass update x-summary-source: derived operationId: postAnimalDataWeanMassUpdate x-operation-id-source: derived components: schemas: WeanData: type: object properties: animalDataWeanInserted: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Wean' animalDataWeanUpdated: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Wean' animalDataWeanDeleted: type: - array - 'null' items: $ref: '#/components/schemas/Animal_Data_Wean' additionalProperties: false Animal_Data_Wean: type: object properties: id: type: string format: uuid companyId: type: - string - 'null' format: uuid animalId: type: - string - 'null' format: uuid memberNumber: type: - string - 'null' associationCode: type: - string - 'null' registrationNumber: type: - string - 'null' usdaNumber: type: - string - 'null' workOrderNumber: type: - string - 'null' contemporaryGroup: type: - string - 'null' managmentGroup: type: - string - 'null' subContemporaryGroup: type: - string - 'null' preContemporaryGroup: type: - string - 'null' numberOfContemps: type: - integer - 'null' format: int32 rankInContempGroup: type: - integer - 'null' format: int32 animalSex: type: - string - 'null' weanDate: type: - string - 'null' format: date-time weanWeight: type: - number - 'null' format: double weanWeightAdj: type: - number - 'null' format: double weanWeightRatio: type: - number - 'null' format: double feedCode: type: - integer - 'null' format: int32 sheathScore: type: - integer - 'null' format: int32 navelScore: type: - integer - 'null' format: int32 conformationScore: type: - integer - 'null' format: int32 scrotalCircumference: type: - number - 'null' format: double scrotalCircumferenceAdj: type: - number - 'null' format: double hipHeight: type: - number - 'null' format: double frameScore: type: - number - 'null' format: double temperScore: type: - number - 'null' format: double season: type: - integer - 'null' format: int32 createdByDate: type: - string - 'null' format: date-time createdByUserId: type: - string - 'null' format: uuid 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 isShared: type: - boolean - 'null' isNew: type: boolean isUpdate: type: boolean isDelete: type: boolean error: type: - string - 'null' 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