openapi: 3.2.0 info: title: 701x API V1 Roll Call API description: 701x API version: v1 tags: - name: RollCall paths: /RollCall/RollCallDataByFilter: get: tags: - RollCall 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: GroupId in: query schema: type: - string - 'null' format: uuid - name: FarmVirtualFenceId in: query schema: type: - string - 'null' format: uuid - name: FarmPointOfInterestId 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: Version in: query schema: type: integer format: int32 default: 1 responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Roll_Call' application/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' text/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get roll call roll call data by filter x-summary-source: derived operationId: getRollCallRollCallDataByFilter x-operation-id-source: derived /RollCall/{id}: get: tags: - RollCall parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Roll_Call' application/json: schema: $ref: '#/components/schemas/Roll_Call' text/json: schema: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get roll call by id x-summary-source: derived operationId: getRollCallById x-operation-id-source: derived put: tags: - RollCall parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Roll_Call' application/json: schema: $ref: '#/components/schemas/Roll_Call' text/json: schema: $ref: '#/components/schemas/Roll_Call' application/*+json: schema: $ref: '#/components/schemas/Roll_Call' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Roll_Call' application/json: schema: $ref: '#/components/schemas/Roll_Call' text/json: schema: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace roll call by id x-summary-source: derived operationId: putRollCallById x-operation-id-source: derived delete: tags: - RollCall parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Roll_Call' application/json: schema: $ref: '#/components/schemas/Roll_Call' text/json: schema: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete roll call by id x-summary-source: derived operationId: deleteRollCallById x-operation-id-source: derived /RollCall: post: tags: - RollCall requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Roll_Call' application/json: schema: $ref: '#/components/schemas/Roll_Call' text/json: schema: $ref: '#/components/schemas/Roll_Call' application/*+json: schema: $ref: '#/components/schemas/Roll_Call' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Roll_Call' application/json: schema: $ref: '#/components/schemas/Roll_Call' text/json: schema: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create roll call x-summary-source: derived operationId: postRollCall x-operation-id-source: derived /RollCall/MassInsert: post: tags: - RollCall requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Roll_Call' application/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' text/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create roll call mass insert x-summary-source: derived operationId: postRollCallMassInsert x-operation-id-source: derived /RollCall/MassUpdate: post: tags: - RollCall requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Roll_Call' application/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' text/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create roll call mass update x-summary-source: derived operationId: postRollCallMassUpdate x-operation-id-source: derived /RollCall/MassDelete: post: tags: - RollCall requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Roll_Call' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Roll_Call' application/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' text/json: schema: type: array items: $ref: '#/components/schemas/Roll_Call' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create roll call mass delete x-summary-source: derived operationId: postRollCallMassDelete x-operation-id-source: derived components: schemas: Roll_Call: type: object properties: id: type: string format: uuid scanningPeripheralId: type: - string - 'null' format: uuid title: type: - string - 'null' transferId: type: - string - 'null' format: uuid companyId: type: - string - 'null' format: uuid companyDescription: type: - string - 'null' farmId: type: - string - 'null' format: uuid farmDescription: type: - string - 'null' groupId: type: - string - 'null' format: uuid groupDescription: type: - string - 'null' farmVirtualFenceId: type: - string - 'null' format: uuid fenceDescription: type: - string - 'null' farmPointOfInterestId: type: - string - 'null' format: uuid pointOfInterestDescription: type: - string - 'null' rollCallPathPartsCount: type: - integer - 'null' format: int32 startDate: type: - string - 'null' format: date-time endDate: type: - string - 'null' format: date-time rollCallSetupData: type: - string - 'null' deviceId: type: - string - 'null' format: uuid targetedAnimalIds: type: - string - 'null' animalList: type: - string - 'null' pathList: type: - string - 'null' status: type: - string - 'null' lastRollCallStage: 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' 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