openapi: 3.2.0 info: title: 701x API V1 Log Master API description: 701x API version: v1 tags: - name: LogMaster paths: /LogMaster/LogDataByFilter: get: tags: - LogMaster 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: pointer in: query schema: type: - integer - 'null' format: int64 - 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 responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get log master log data by filter x-summary-source: derived operationId: getLogMasterLogDataByFilter x-operation-id-source: derived /LogMaster/LogDataByFilterRaw: get: tags: - LogMaster 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: pointer in: query schema: type: - integer - 'null' format: int64 - 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 responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get log master log data by filter raw x-summary-source: derived operationId: getLogMasterLogDataByFilterRaw x-operation-id-source: derived /LogMaster/GetAllSSE: get: tags: - LogMaster parameters: - name: companyId in: query schema: type: string format: uuid responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get log master get all sse x-summary-source: derived operationId: getLogMasterGetAllSSE x-operation-id-source: derived /LogMaster/Get/{id}: get: tags: - LogMaster parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Log_Master' application/json: schema: $ref: '#/components/schemas/Log_Master' text/json: schema: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get log master get by id x-summary-source: derived operationId: getLogMasterGetById x-operation-id-source: derived /LogMaster: post: tags: - LogMaster requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Log_Master' application/json: schema: $ref: '#/components/schemas/Log_Master' text/json: schema: $ref: '#/components/schemas/Log_Master' application/*+json: schema: $ref: '#/components/schemas/Log_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Log_Master' application/json: schema: $ref: '#/components/schemas/Log_Master' text/json: schema: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create log master x-summary-source: derived operationId: postLogMaster x-operation-id-source: derived /LogMaster/{id}: put: tags: - LogMaster parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Log_Master' application/json: schema: $ref: '#/components/schemas/Log_Master' text/json: schema: $ref: '#/components/schemas/Log_Master' application/*+json: schema: $ref: '#/components/schemas/Log_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Log_Master' application/json: schema: $ref: '#/components/schemas/Log_Master' text/json: schema: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace log master by id x-summary-source: derived operationId: putLogMasterById x-operation-id-source: derived delete: tags: - LogMaster parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Log_Master' application/json: schema: $ref: '#/components/schemas/Log_Master' text/json: schema: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete log master by id x-summary-source: derived operationId: deleteLogMasterById x-operation-id-source: derived /LogMaster/HasBeenSeen: put: tags: - LogMaster requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace log master has been seen x-summary-source: derived operationId: putLogMasterHasBeenSeen x-operation-id-source: derived /LogMaster/MassInsert: post: tags: - LogMaster requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create log master mass insert x-summary-source: derived operationId: postLogMasterMassInsert x-operation-id-source: derived /LogMaster/MassUpdate: post: tags: - LogMaster requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create log master mass update x-summary-source: derived operationId: postLogMasterMassUpdate x-operation-id-source: derived /LogMaster/MassDelete: post: tags: - LogMaster requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Log_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Log_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Log_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create log master mass delete x-summary-source: derived operationId: postLogMasterMassDelete x-operation-id-source: derived components: schemas: Log_Master: type: object properties: id: type: string format: uuid rowSequence: type: - integer - 'null' format: int64 companyId: type: - string - 'null' format: uuid farmId: type: - string - 'null' format: uuid groupId: type: - string - 'null' format: uuid farmVirtualFenceId: type: - string - 'null' format: uuid farmPointOfInterestId: type: - string - 'null' format: uuid animalCalvingId: type: - string - 'null' format: uuid tagId: type: - string - 'null' format: uuid networkNumber: type: - string - 'null' animalId: type: - string - 'null' format: uuid cattleNumber: type: - string - 'null' registrationNumber: type: - string - 'null' cattleCode: type: - string - 'null' cattleDescription: type: - string - 'null' animalColor: type: - string - 'null' animalBreed: type: - string - 'null' animalType: type: - string - 'null' logDateTime: type: - string - 'null' format: date-time event: type: - string - 'null' isConfirmed: type: - boolean - 'null' type: type: - string - 'null' logCategoryId: type: - string - 'null' logTypeId: type: - string - 'null' symptomTypeId: type: - string - 'null' symptoms: type: - string - 'null' conditionTypeId: type: - string - 'null' medicineTypeId: type: - string - 'null' medicationId: type: - string - 'null' format: uuid medicationPurchaseId: type: - string - 'null' format: uuid isEstimateMeasurements: type: - boolean - 'null' addToWatchList: type: - boolean - 'null' old_Value: type: - string - 'null' old_ValueId: type: - string - 'null' value: type: - string - 'null' valueId: type: - string - 'null' dosage: type: - number - 'null' format: double weight: type: - number - 'null' format: double height: type: - number - 'null' format: double temperature: type: - number - 'null' format: double adg: type: - number - 'null' format: double measurement: type: - string - 'null' medicineRoute: type: - string - 'null' medicineLocation: type: - string - 'null' withdrawalDate: type: - string - 'null' format: date-time withdrawalDays: type: - integer - 'null' format: int32 boosterDate: type: - string - 'null' format: date-time boosterDays: type: - integer - 'null' format: int32 lotNumber: type: - string - 'null' serialNumber: type: - string - 'null' manufacturer: type: - string - 'null' expirationDate: type: - string - 'null' format: date-time comment: type: - string - 'null' longitude: type: - number - 'null' format: double latitude: type: - number - 'null' format: double altitude: type: - number - 'null' format: double onBehalfMacAddress: type: - string - 'null' onBehalfAnimalId: type: - string - 'null' format: uuid onBehalfCattleNumber: type: - string - 'null' onBehalfTagId: type: - string - 'null' format: uuid onBehalfNetworkNumber: type: - string - 'null' uploadedByTagId: type: - string - 'null' format: uuid uploadedByAnimalId: type: - string - 'null' format: uuid uploadedByFarmPointOfInterestId: type: - string - 'null' format: uuid hasBeenSeen: type: - string - 'null' format: date-time seenByUserId: type: - string - 'null' format: uuid seenByUserName: type: - string - 'null' companyDescription: type: - string - 'null' farmDescription: 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' generateNotification: type: boolean animalList: type: - array - 'null' items: type: string format: uuid 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