openapi: 3.2.0 info: title: 701x API V1 Task API description: 701x API version: v1 tags: - name: Task paths: /Task/TaskDataByFilter: get: tags: - Task 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/Task_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get task task data by filter x-summary-source: derived operationId: getTaskTaskDataByFilter x-operation-id-source: derived /Task/{id}: get: tags: - Task parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Task_Master' application/json: schema: $ref: '#/components/schemas/Task_Master' text/json: schema: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get task by id x-summary-source: derived operationId: getTaskById x-operation-id-source: derived put: tags: - Task parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Task_Master' application/json: schema: $ref: '#/components/schemas/Task_Master' text/json: schema: $ref: '#/components/schemas/Task_Master' application/*+json: schema: $ref: '#/components/schemas/Task_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Task_Master' application/json: schema: $ref: '#/components/schemas/Task_Master' text/json: schema: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace task by id x-summary-source: derived operationId: putTaskById x-operation-id-source: derived delete: tags: - Task parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Task_Master' application/json: schema: $ref: '#/components/schemas/Task_Master' text/json: schema: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete task by id x-summary-source: derived operationId: deleteTaskById x-operation-id-source: derived /Task: post: tags: - Task requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Task_Master' application/json: schema: $ref: '#/components/schemas/Task_Master' text/json: schema: $ref: '#/components/schemas/Task_Master' application/*+json: schema: $ref: '#/components/schemas/Task_Master' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Task_Master' application/json: schema: $ref: '#/components/schemas/Task_Master' text/json: schema: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create task x-summary-source: derived operationId: postTask x-operation-id-source: derived /Task/MassInsert: post: tags: - Task requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Task_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create task mass insert x-summary-source: derived operationId: postTaskMassInsert x-operation-id-source: derived /Task/MassUpdate: post: tags: - Task requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Task_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create task mass update x-summary-source: derived operationId: postTaskMassUpdate x-operation-id-source: derived /Task/MassDelete: post: tags: - Task requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Task_Master' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Task_Master' application/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' text/json: schema: type: array items: $ref: '#/components/schemas/Task_Master' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create task mass delete x-summary-source: derived operationId: postTaskMassDelete x-operation-id-source: derived components: schemas: Task_Master: type: object properties: id: type: string format: uuid title: type: - string - 'null' isDone: type: boolean companyId: type: - string - 'null' format: uuid farmId: type: - string - 'null' format: uuid farmVirtualFenceId: type: - string - 'null' format: uuid farmPointOfInterestId: type: - string - 'null' format: uuid groupId: type: - string - 'null' format: uuid animalId: type: - string - 'null' format: uuid hasBeenSeen: type: boolean seenByDate: type: - string - 'null' format: date-time hasBeenClicked: type: boolean clickedByDate: type: - string - 'null' format: date-time hasNotificationBeenSent: type: boolean notificationSentByDate: type: - string - 'null' format: date-time userId: type: - string - 'null' format: uuid feedTemplateId: type: - string - 'null' format: uuid feedId: type: - string - 'null' format: uuid medTemplateId: type: - string - 'null' format: uuid medId: type: - string - 'null' format: uuid logTemplateId: type: - string - 'null' format: uuid logId: type: - string - 'null' format: uuid 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 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