openapi: 3.2.0 info: title: 701x API V1 Medication Purchase Controller Admin API description: 701x API version: v1 tags: - name: MedicationPurchaseControllerAdmin paths: /MedicationPurchaseControllerAdmin/Get/{id}: get: tags: - MedicationPurchaseControllerAdmin parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Medication_Purchase' application/json: schema: $ref: '#/components/schemas/Medication_Purchase' text/json: schema: $ref: '#/components/schemas/Medication_Purchase' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get medication purchase controller admin get by id x-summary-source: derived operationId: getMedicationPurchaseControllerAdminGetById x-operation-id-source: derived /MedicationPurchaseControllerAdmin/GetByFilter: get: tags: - MedicationPurchaseControllerAdmin parameters: - name: top in: query schema: type: - integer - 'null' format: int32 - name: CompanyId in: query schema: type: - string - 'null' format: uuid - name: FarmId in: query schema: type: - string - 'null' format: uuid - name: SemonTankId 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/Medication_Purchase' application/json: schema: type: array items: $ref: '#/components/schemas/Medication_Purchase' text/json: schema: type: array items: $ref: '#/components/schemas/Medication_Purchase' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get medication purchase controller admin get by filter x-summary-source: derived operationId: getMedicationPurchaseControllerAdminGetByFilter x-operation-id-source: derived /MedicationPurchaseControllerAdmin/Post: post: tags: - MedicationPurchaseControllerAdmin requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Medication_Purchase' application/json: schema: $ref: '#/components/schemas/Medication_Purchase' text/json: schema: $ref: '#/components/schemas/Medication_Purchase' application/*+json: schema: $ref: '#/components/schemas/Medication_Purchase' responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create medication purchase controller admin post x-summary-source: derived operationId: postMedicationPurchaseControllerAdminPost x-operation-id-source: derived /MedicationPurchaseControllerAdmin/Put/{id}: put: tags: - MedicationPurchaseControllerAdmin parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Medication_Purchase' application/json: schema: $ref: '#/components/schemas/Medication_Purchase' text/json: schema: $ref: '#/components/schemas/Medication_Purchase' application/*+json: schema: $ref: '#/components/schemas/Medication_Purchase' responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace medication purchase controller admin put by id x-summary-source: derived operationId: putMedicationPurchaseControllerAdminPutById x-operation-id-source: derived /MedicationPurchaseControllerAdmin/Delete/{id}: delete: tags: - MedicationPurchaseControllerAdmin parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete medication purchase controller admin delete by id x-summary-source: derived operationId: deleteMedicationPurchaseControllerAdminDeleteById x-operation-id-source: derived /MedicationPurchaseControllerAdmin/MassInsert: post: tags: - MedicationPurchaseControllerAdmin requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create medication purchase controller admin mass insert x-summary-source: derived operationId: postMedicationPurchaseControllerAdminMassInsert x-operation-id-source: derived /MedicationPurchaseControllerAdmin/MassUpdate: post: tags: - MedicationPurchaseControllerAdmin requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create medication purchase controller admin mass update x-summary-source: derived operationId: postMedicationPurchaseControllerAdminMassUpdate x-operation-id-source: derived /MedicationPurchaseControllerAdmin/MassDelete: post: tags: - MedicationPurchaseControllerAdmin requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Medication_Purchase' responses: '200': description: Success '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create medication purchase controller admin mass delete x-summary-source: derived operationId: postMedicationPurchaseControllerAdminMassDelete x-operation-id-source: derived components: schemas: Medication_Purchase: type: object properties: id: type: string format: uuid medicationId: type: - string - 'null' format: uuid companySaleId: type: - string - 'null' format: uuid companyTransferId: type: - string - 'null' format: uuid companyPurchaseId: type: - string - 'null' format: uuid companyItemId: type: - string - 'null' format: uuid companyId: type: - string - 'null' format: uuid farmId: type: - string - 'null' format: uuid companyDescription: type: - string - 'null' farmDescription: type: - string - 'null' purchase_Quantity: type: - integer - 'null' format: int32 purchase_Cost: type: - number - 'null' format: double purchase_Date: type: - string - 'null' format: date-time serialNumber: type: - string - 'null' lotNumber: type: - string - 'null' expirationDate: type: - string - 'null' format: date-time isEmpty: type: - boolean - 'null' remainingQuantity: type: - number - 'null' format: double type: type: - string - 'null' name: type: - string - 'null' description: type: - string - 'null' manufacturer: type: - string - 'null' measurement: type: - string - 'null' medicineRoute: type: - string - 'null' medicineLocation: type: - string - 'null' withdrawalDays: type: - integer - 'null' format: int32 boosterDays: type: - integer - 'null' format: int32 legacyId: 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