openapi: 3.2.0 info: title: 701x API V1 Farm Virtual Fence API description: 701x API version: v1 tags: - name: FarmVirtualFence paths: /FarmVirtualFence/FarmVirtualFenceDataByFilter: get: tags: - FarmVirtualFence 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: 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_Virtual_Fence' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get farm virtual fence farm virtual fence data by filter x-summary-source: derived operationId: getFarmVirtualFenceFarmVirtualFenceDataByFilter x-operation-id-source: derived /FarmVirtualFence/{id}: get: tags: - FarmVirtualFence parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get farm virtual fence by id x-summary-source: derived operationId: getFarmVirtualFenceById x-operation-id-source: derived put: tags: - FarmVirtualFence parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/*+json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace farm virtual fence by id x-summary-source: derived operationId: putFarmVirtualFenceById x-operation-id-source: derived delete: tags: - FarmVirtualFence parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete farm virtual fence by id x-summary-source: derived operationId: deleteFarmVirtualFenceById x-operation-id-source: derived /FarmVirtualFence: post: tags: - FarmVirtualFence requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/*+json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm virtual fence x-summary-source: derived operationId: postFarmVirtualFence x-operation-id-source: derived /FarmVirtualFence/MassInsert: post: tags: - FarmVirtualFence requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm virtual fence mass insert x-summary-source: derived operationId: postFarmVirtualFenceMassInsert x-operation-id-source: derived /FarmVirtualFence/MassUpdate: post: tags: - FarmVirtualFence requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm virtual fence mass update x-summary-source: derived operationId: postFarmVirtualFenceMassUpdate x-operation-id-source: derived /FarmVirtualFence/MassDelete: post: tags: - FarmVirtualFence requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Farm_Virtual_Fence' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' application/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' text/json: schema: type: array items: $ref: '#/components/schemas/Farm_Virtual_Fence' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create farm virtual fence mass delete x-summary-source: derived operationId: postFarmVirtualFenceMassDelete x-operation-id-source: derived components: schemas: Farm_Virtual_Fence: type: object properties: id: type: string format: uuid companyId: type: - string - 'null' format: uuid farmId: type: - string - 'null' format: uuid code: type: - string - 'null' description: type: - string - 'null' type: type: - string - 'null' fieldType: type: - string - 'null' fieldColor: type: - string - 'null' fenceType: type: - string - 'null' fenceColor: type: - string - 'null' longitude: type: - number - 'null' format: double latitude: type: - number - 'null' format: double altitude: type: - number - 'null' format: double pin1Longitude: type: - number - 'null' format: double pin1Latitude: type: - number - 'null' format: double pin2Longitude: type: - number - 'null' format: double pin2Latitude: type: - number - 'null' format: double pin3Longitude: type: - number - 'null' format: double pin3Latitude: type: - number - 'null' format: double pin4Longitude: type: - number - 'null' format: double pin4Latitude: type: - number - 'null' format: double pins: type: - string - 'null' dontShowOnMap: type: - boolean - 'null' warningLevel: type: - integer - 'null' format: int32 legacyId: type: - string - 'null' premiseId: type: - string - 'null' parimeter_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 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' newPins: 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