openapi: 3.2.0 info: title: 701x API V1 Farm API description: 701x API version: v1 tags: - name: Farm paths: /Farm/FarmMasterDataByFilter: get: tags: - Farm 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 - 'null' format: uuid - name: Code in: query schema: type: - string - 'null' - name: Description in: query schema: type: - string - 'null' - 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/Farm_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get farm farm master data by filter x-summary-source: derived operationId: getFarmFarmMasterDataByFilter x-operation-id-source: derived /Farm/{id}: get: tags: - Farm parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Master' application/json: schema: $ref: '#/components/schemas/Farm_Master' text/json: schema: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get farm by id x-summary-source: derived operationId: getFarmById x-operation-id-source: derived put: tags: - Farm parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Farm_Master' application/json: schema: $ref: '#/components/schemas/Farm_Master' text/json: schema: $ref: '#/components/schemas/Farm_Master' application/*+json: schema: $ref: '#/components/schemas/Farm_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Master' application/json: schema: $ref: '#/components/schemas/Farm_Master' text/json: schema: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace farm by id x-summary-source: derived operationId: putFarmById x-operation-id-source: derived delete: tags: - Farm parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Master' application/json: schema: $ref: '#/components/schemas/Farm_Master' text/json: schema: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete farm by id x-summary-source: derived operationId: deleteFarmById x-operation-id-source: derived /Farm: post: tags: - Farm requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Farm_Master' application/json: schema: $ref: '#/components/schemas/Farm_Master' text/json: schema: $ref: '#/components/schemas/Farm_Master' application/*+json: schema: $ref: '#/components/schemas/Farm_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Master' application/json: schema: $ref: '#/components/schemas/Farm_Master' text/json: schema: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm x-summary-source: derived operationId: postFarm x-operation-id-source: derived /Farm/MassInsert: post: tags: - Farm requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Farm_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm mass insert x-summary-source: derived operationId: postFarmMassInsert x-operation-id-source: derived /Farm/MassUpdate: post: tags: - Farm requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Farm_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm mass update x-summary-source: derived operationId: postFarmMassUpdate x-operation-id-source: derived /Farm/MassDelete: post: tags: - Farm requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Farm_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm mass delete x-summary-source: derived operationId: postFarmMassDelete x-operation-id-source: derived components: schemas: Farm_Master: type: object properties: id: type: string format: uuid companyId: type: - string - 'null' format: uuid timeZoneId: type: - integer - 'null' format: int32 timeZone: type: - integer - 'null' format: int32 targetCheckInHourOfDay: type: - integer - 'null' format: int32 targetCheckInHourOfDay_UTC: type: - integer - 'null' format: int32 seenAtBaseTimeStart: type: - string - 'null' seenAtBaseTimeEnd: type: - string - 'null' seenAtBaseTimeHours: type: - integer - 'null' format: int32 seenCalfPhase1TimeHours: type: - integer - 'null' format: int32 seenCalfPhase2TimeHours: type: - integer - 'null' format: int32 seenCalfPhase3TimeHours: type: - integer - 'null' format: int32 seenCalfPhase4TimeHours: type: - integer - 'null' format: int32 code: type: - string - 'null' description: type: - string - 'null' longitude: type: - number - 'null' format: double latitude: type: - number - 'null' format: double altitude: type: - number - 'null' format: double size: type: - integer - 'null' format: int32 radius_Miles: type: - number - 'null' format: double perimeter_Miles: type: - number - 'null' format: double area_SqMiles: type: - number - 'null' format: double area_Acres: type: - number - 'null' format: double shipAddress1: type: - string - 'null' shipAddress2: type: - string - 'null' shipAddress3: type: - string - 'null' shipCountry: type: - string - 'null' shipState: type: - string - 'null' shipRegion: type: - string - 'null' shipZip: type: - string - 'null' shipCity: type: - string - 'null' calvingSeasonStartDate: type: - string - 'null' format: date-time companyDescription: type: - string - 'null' tagCount: type: - integer - 'null' format: int32 animalCount: type: - integer - 'null' format: int32 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 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