openapi: 3.2.0 info: title: 701x API V1 Company Item API description: 701x API version: v1 tags: - name: CompanyItem paths: /CompanyItem/Get/{id}: get: tags: - CompanyItem parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Company_Item' application/json: schema: $ref: '#/components/schemas/Company_Item' text/json: schema: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get company item get by id x-summary-source: derived operationId: getCompanyItemGetById x-operation-id-source: derived /CompanyItem/GetByIds: post: tags: - CompanyItem parameters: - name: CompanyId in: query schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: type: string format: uuid application/json: schema: type: - array - 'null' items: type: string format: uuid text/json: schema: type: - array - 'null' items: type: string format: uuid application/*+json: schema: type: - array - 'null' items: type: string format: uuid responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create company item get by ids x-summary-source: derived operationId: postCompanyItemGetByIds x-operation-id-source: derived /CompanyItem/Get: get: tags: - CompanyItem 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 - 'null' format: uuid - name: CompanyTransferId in: query schema: type: - string - 'null' format: uuid - name: CompanySaleId in: query schema: type: - string - 'null' format: uuid - name: CompanyPurchaseId 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 responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Get company item get x-summary-source: derived operationId: getCompanyItemGet x-operation-id-source: derived /CompanyItem/Post: post: tags: - CompanyItem requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Company_Item' application/json: schema: $ref: '#/components/schemas/Company_Item' text/json: schema: $ref: '#/components/schemas/Company_Item' application/*+json: schema: $ref: '#/components/schemas/Company_Item' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Company_Item' application/json: schema: $ref: '#/components/schemas/Company_Item' text/json: schema: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create company item post x-summary-source: derived operationId: postCompanyItemPost x-operation-id-source: derived /CompanyItem/Put/{id}: put: tags: - CompanyItem parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json-patch+json: schema: $ref: '#/components/schemas/Company_Item' application/json: schema: $ref: '#/components/schemas/Company_Item' text/json: schema: $ref: '#/components/schemas/Company_Item' application/*+json: schema: $ref: '#/components/schemas/Company_Item' responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Company_Item' application/json: schema: $ref: '#/components/schemas/Company_Item' text/json: schema: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Replace company item put by id x-summary-source: derived operationId: putCompanyItemPutById x-operation-id-source: derived /CompanyItem/Delete/{id}: delete: tags: - CompanyItem parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: Success content: text/plain: schema: $ref: '#/components/schemas/Company_Item' application/json: schema: $ref: '#/components/schemas/Company_Item' text/json: schema: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Delete company item delete by id x-summary-source: derived operationId: deleteCompanyItemDeleteById x-operation-id-source: derived /CompanyItem/MassInsert: post: tags: - CompanyItem requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create company item mass insert x-summary-source: derived operationId: postCompanyItemMassInsert x-operation-id-source: derived /CompanyItem/MassUpdate: post: tags: - CompanyItem requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create company item mass update x-summary-source: derived operationId: postCompanyItemMassUpdate x-operation-id-source: derived /CompanyItem/MassDelete: post: tags: - CompanyItem requestBody: content: application/json-patch+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' application/*+json: schema: type: - array - 'null' items: $ref: '#/components/schemas/Company_Item' responses: '200': description: Success content: text/plain: schema: type: array items: $ref: '#/components/schemas/Company_Item' application/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' text/json: schema: type: array items: $ref: '#/components/schemas/Company_Item' '401': description: Unauthorized '403': description: Forbidden security: - oauth2: - API701x summary: Create company item mass delete x-summary-source: derived operationId: postCompanyItemMassDelete x-operation-id-source: derived components: schemas: Company_Item: type: object properties: id: type: string format: uuid companyId: type: - string - 'null' format: uuid companySaleId: type: - string - 'null' format: uuid companyPurchaseId: type: - string - 'null' format: uuid companyTransferId: type: - string - 'null' format: uuid transferDate: type: - string - 'null' format: date-time cartId: type: - string - 'null' format: uuid cartProductId: type: - string - 'null' format: uuid stripeProductId: type: - string - 'null' stripePricingId: type: - string - 'null' semonTankId: type: - string - 'null' format: uuid semonTankPurchaseId: type: - string - 'null' format: uuid embryoTankId: type: - string - 'null' format: uuid embryoTankPurchaseId: type: - string - 'null' format: uuid medicationId: type: - string - 'null' format: uuid medicationPurchaseId: type: - string - 'null' format: uuid name: type: - string - 'null' description: type: - string - 'null' unitPrice: type: number format: double totalPrice: type: - number - 'null' format: double quantity: type: integer format: int32 filledQuantity: type: - integer - 'null' format: int32 measurement: type: - string - 'null' manufacturer: type: - string - 'null' lotNumber: type: - string - 'null' serialNumber: type: - string - 'null' expirationDate: type: - string - 'null' format: date-time 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