AMCS Group OverfilledContainerEvent API

The OverfilledContainerEvent API from AMCS Group — 1 operation(s) for overfilledcontainerevent.

OpenAPI Specification

amcs-group-overfilledcontainerevent-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Core AccessGroup OverfilledContainerEvent API
  version: core
tags:
- name: OverfilledContainerEvent
paths:
  /visionai/api/integrator/overfilledContainerEvents/changes:
    get:
      tags:
      - OverfilledContainerEvent
      operationId: GetOverfilledContainerEventChanges
      summary: Request list of Overfilled Container Event changes
      description: "# Request list of Overfilled Container Event changes\r\n\r\nRetrieve changes in the list of Overfilled Container Events for all tenants, that have been made since a specific point in the history\r\n\r\n## Input\r\n\r\n| Parameter               | Description                |\r\n| ----------------------- | -------------------------- |\r\n| since                   | Bookmark from extra.until  |\r\n| cursor                  | Bookmark from extra.cursor |\r\n| links                   | N/A                        |\r\n\r\n## Output\r\n\r\n| Property              | Type     | Description\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                              |\r\n| --------------------- | -------- | ---------------------------------------------------------------------------------- |\r\n| GUID\t\t\t\t\t\t\t  \t| GUID     | ID of the Overfilled Container Event.\t\t\t\t\t\t\t\t\t\t\t\t\t                    |\r\n| TenantId\t\t\t\t\t  \t| GUID     | ID of the Tenant associated with the Overfilled Container Event\t\t                |\r\n| CustomerName\t\t\t\t| string\t\t| Name of the Customer with Overfilled Container Event |\r\n| CompanyOutletId\t\t  \t| GUID     | ID of the Company Outlet associated with the Overfilled Container Event            |\r\n| OutletName\t\t\t\t| string\t| Name of the Company Outlet associated with the Overfilled Container Event\t\t|\r\n| CustomerSiteId\t  \t\t| GUID     | ID of the Customer Site associated with the Overfilled Container Event             |\r\n| SiteName\t\t\t\t\t| string\t| Name of the Site associated with the Overfilled Container Event\t|\r\n| CustomerType\t\t\t\t| string\t| Type of Customer associated withe Overfilled Container Event |\r\n| CustomerAddress\t\t\t| string\t| Address of the Customer associated withe Overfilled Container Event |\r\n| VehicleId\t\t\t\t\t  \t| GUID     | ID of the Vehicle associated with the Overfilled Container Event\t\t\t\t            |\r\n| VehicleReg\t\t\t\t| string\t| Vehicle Registration associated with the Overfilled Container Event |\r\n| Latitude\t   \t\t\t    | double   | Geographic coordinate of the Overfilled Container Event                                         |\r\n| Longitude\t\t\t\t\t\t  | double   | Geographic coordinate of the Overfilled Container Event                                         |\r\n| Timestamp\t\t\t\t   \t\t| DateTime | Timestamp of the Overfilled Container Event\t                                      |\r\n| GrossWeight\t\t\t| double |\tGross weight of the Overfilled Container Event |\r\n| TareWeight\t\t\t| double |\tTare weight  of the Overfilled Container Event |\r\n| NetWeight\t\t\t| double |\tNet weight of the Overfilled Container Event |\r\n| Seq\t\t\t| int |\tSequence of the Overfilled Container Event |\r\n| RFID\t\t\t| GUID | RFID of the Overfilled Container Event |\r\n| WeighErrorCode\t\t| int | Weight error code of the Overfilled Container Event |\r\n| ContainerId\t\t| string | ContainerId of the Overfilled Container Event |\r\n| WasteType\t\t| string | Waste type of the Overfilled Container Event |\r\n| QRCodeRawText\t\t| string | QRCode raw text of the Overfilled Container Event |\r\n|ExternalEventId\t\t| string | The external event id of the Overfilled Container Event |\r\n| ImageSas\t\t\t|byte[]| The image SAS url of the Overfilled Event expires within 24 hours\r\n| extra.until           | string   | Bookmark to put in as \"since\" later - appears when there are no more pages for now |\r\n| link.next             | URI      | Link to follow to get next page with changes                                       |"
      parameters:
      - name: since
        required: false
        in: query
        schema:
          type: string
      - name: cursor
        required: false
        in: query
        schema:
          type: string
      - name: links
        required: false
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceChanges[ApiOverfilledContainerEventExternalResource]'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          description: Unauthorized
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '501':
          $ref: '#/components/responses/NotImplemented'
        '502':
          $ref: '#/components/responses/BadGateway'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
        '504':
          $ref: '#/components/responses/GatewayTimeout'
components:
  responses:
    BadRequest:
      description: Bad Request - Invalid input parameters.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Invalid request. Please check your input parameters.
            additionalProperties: false
    GatewayTimeout:
      description: Gateway Timeout - The server took too long to respond.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: The request timed out. Please try again later.
            additionalProperties: false
    Forbidden:
      description: Forbidden - Access denied.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: You do not have permission to access this resource.
            additionalProperties: false
    NotImplemented:
      description: This feature is not implemented.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: This feature is not implemented.
            additionalProperties: false
    InternalServerError:
      description: Supplied properties are not valid, please try again with proper request.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Supplied properties are not valid, please try again with proper request.
            additionalProperties: false
    BadGateway:
      description: Bad Gateway - The upstream server returned an invalid response.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Temporary issue with the server. Please try again later.
            additionalProperties: false
    NotFound:
      description: Not Found - The requested resource was not found.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: The requested resource was not found.
            additionalProperties: false
    ServiceUnavailable:
      description: Service Unavailable - The server is currently unavailable.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Service is currently unavailable. Please try again later.
            additionalProperties: false
  schemas:
    ApiResourceResultUpdatesExtra:
      type: object
      properties:
        until:
          type: string
          nullable: true
        cursor:
          type: string
          nullable: true
        since:
          type: string
          nullable: true
      additionalProperties: false
    AMCS.IoT.Contamination.Api.Integrator.OverfilledContainerEvent.ApiOverfilledContainerEventExternal:
      type: object
      properties:
        resource:
          $ref: '#/components/schemas/AMCS.IoT.Contamination.Api.Integrator.OverfilledContainerEvent.ApiOverfilledContainerEventExternalResourceItem'
      additionalProperties: false
    ApiResourceChanges[ApiOverfilledContainerEventExternalResource]:
      type: object
      properties:
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
        resource:
          type: array
          items:
            $ref: '#/components/schemas/AMCS.IoT.Contamination.Api.Integrator.OverfilledContainerEvent.ApiOverfilledContainerEventExternal'
          nullable: true
        extra:
          $ref: '#/components/schemas/ApiResourceResultUpdatesExtra'
      additionalProperties: false
    ApiResourceErrors:
      type: object
      properties:
        errors:
          type: string
          nullable: true
      additionalProperties: false
    AMCS.IoT.Contamination.Api.Integrator.OverfilledContainerEvent.ApiOverfilledContainerEventExternalResourceItem:
      type: object
      properties:
        guid:
          type: string
          format: uuid
          nullable: true
        lastChangeReasonId:
          type: integer
          format: int32
          nullable: true
        tenantId:
          type: string
          format: uuid
        customerName:
          type: string
          nullable: true
        companyOutletId:
          type: string
          format: uuid
          nullable: true
        outletName:
          type: string
          nullable: true
        customerSiteId:
          type: string
          format: uuid
          nullable: true
        siteName:
          type: string
          nullable: true
        customerType:
          type: string
          nullable: true
        customerAddress:
          type: string
          nullable: true
        vehicleId:
          type: string
          format: uuid
          nullable: true
        vehicleReg:
          type: string
          nullable: true
        latitude:
          type: number
          format: double
          nullable: true
        longitude:
          type: number
          format: double
          nullable: true
        timestamp:
          type: string
          format: dateTime
          example: '2000-01-01 00:00:00.000'
        grossWeight:
          type: number
          format: double
          nullable: true
        tareWeight:
          type: number
          format: double
          nullable: true
        netWeight:
          type: number
          format: double
          nullable: true
        seq:
          type: integer
          format: int32
          nullable: true
        rfid:
          type: string
          format: uuid
          nullable: true
        weighErrorCode:
          type: integer
          format: int32
          nullable: true
        containerId:
          type: string
          nullable: true
        wasteType:
          type: string
          nullable: true
        qrCodeRawText:
          type: string
          nullable: true
        totalSurfaceAreaVolume:
          type: number
          format: double
          nullable: true
        materials:
          type: string
          nullable: true
        externalEventId:
          type: string
          nullable: true
        imageSas:
          type: string
          format: byte
          nullable: true
      additionalProperties: false
    ApiResourceStatus:
      type: object
      properties:
        id:
          type: integer
          format: int32
          nullable: true
        isSuccess:
          type: boolean
      additionalProperties: false