701x Medication Purchase API

The MedicationPurchase API from 701x — 10 operation(s) for medicationpurchase.

Operations 11

GET /MedicationPurchase/Get/{id} Get medication purchase get by id #
GET /MedicationPurchase/GetByFilter Get medication purchase get by filter #
POST /MedicationPurchase/Post Create medication purchase post #
PUT /MedicationPurchase/Put/{id} Replace medication purchase put by id #
DELETE /MedicationPurchase/Delete/{id} Delete medication purchase delete by id #
POST /MedicationPurchase Create medication purchase #
PUT /MedicationPurchase/{id} Replace medication purchase by id #
DELETE /MedicationPurchase/{id} Delete medication purchase by id #
POST /MedicationPurchase/MassInsert Create medication purchase mass insert #
POST /MedicationPurchase/MassUpdate Create medication purchase mass update #
POST /MedicationPurchase/MassDelete Create medication purchase mass delete #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/701x-medicationpurchase-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

701x-medicationpurchase-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 701x API V1 Medication Purchase API
  description: 701x API
  version: v1
tags:
- name: MedicationPurchase
paths:
  /MedicationPurchase/Get/{id}:
    get:
      tags:
      - MedicationPurchase
      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 get by id
      x-summary-source: derived
      operationId: getMedicationPurchaseGetById
      x-operation-id-source: derived
  /MedicationPurchase/GetByFilter:
    get:
      tags:
      - MedicationPurchase
      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: 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 get by filter
      x-summary-source: derived
      operationId: getMedicationPurchaseGetByFilter
      x-operation-id-source: derived
  /MedicationPurchase/Post:
    post:
      tags:
      - MedicationPurchase
      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
          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: Create medication purchase post
      x-summary-source: derived
      operationId: postMedicationPurchasePost
      x-operation-id-source: derived
  /MedicationPurchase/Put/{id}:
    put:
      tags:
      - MedicationPurchase
      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
          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: Replace medication purchase put by id
      x-summary-source: derived
      operationId: putMedicationPurchasePutById
      x-operation-id-source: derived
  /MedicationPurchase/Delete/{id}:
    delete:
      tags:
      - MedicationPurchase
      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: Delete medication purchase delete by id
      x-summary-source: derived
      operationId: deleteMedicationPurchaseDeleteById
      x-operation-id-source: derived
  /MedicationPurchase:
    post:
      tags:
      - MedicationPurchase
      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
          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: Create medication purchase
      x-summary-source: derived
      operationId: postMedicationPurchase
      x-operation-id-source: derived
  /MedicationPurchase/{id}:
    put:
      tags:
      - MedicationPurchase
      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
          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: Replace medication purchase by id
      x-summary-source: derived
      operationId: putMedicationPurchaseById
      x-operation-id-source: derived
    delete:
      tags:
      - MedicationPurchase
      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: Delete medication purchase by id
      x-summary-source: derived
      operationId: deleteMedicationPurchaseById
      x-operation-id-source: derived
  /MedicationPurchase/MassInsert:
    post:
      tags:
      - MedicationPurchase
      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
          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: Create medication purchase mass insert
      x-summary-source: derived
      operationId: postMedicationPurchaseMassInsert
      x-operation-id-source: derived
  /MedicationPurchase/MassUpdate:
    post:
      tags:
      - MedicationPurchase
      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
          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: Create medication purchase mass update
      x-summary-source: derived
      operationId: postMedicationPurchaseMassUpdate
      x-operation-id-source: derived
  /MedicationPurchase/MassDelete:
    post:
      tags:
      - MedicationPurchase
      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
          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: Create medication purchase mass delete
      x-summary-source: derived
      operationId: postMedicationPurchaseMassDelete
      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