AMCS Group ApiGpsTrailExportService API

The ApiGpsTrailExportService API from AMCS Group — 1 operation(s) for apigpstrailexportservice.

OpenAPI Specification

amcs-group-apigpstrailexportservice-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Core AccessGroup ApiGpsTrailExportService API
  version: core
tags:
- name: ApiGpsTrailExportService
paths:
  /integrator/gpsTrail:
    post:
      tags:
      - ApiGpsTrailExportService
      summary: Get list of Vehicle Gps Trails
      description: "# Get list of Vehicle Gps Trail\r\n\r\n## Input\r\n| Parameter\t\t\t  | Type     | Description\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t          |\r\n| ------------------- | -------- | ---------------------------------------------------------------------------------- |         \r\n| AssetName\t\t\t  | string   | Vehicle Registration Plate No                                                      |\r\n| DateFrom \t\t\t  | DateTime | Timestamp when the start date of the gps trail to be extracted                     |\r\n| DateTo              | DateTime | Timestamp when the end date of the gps trail to be extracted                       |\r\n\t\t\t\t                                              \r\n\r\n## Sample API Requests\r\n\r\n```\r\n{\r\n  \"AssetName\": \"M879 EUS\",\r\n  \"DateFrom\": \"2024-06-28\",\r\n  \"DateTo\": \"\"2024-06-30\"\r\n}\r\n```\r\n\r\n## Output\r\n| Property \t\t\t  | Type     | Description\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t              |\r\n| ------------------- | -------- | ---------------------------------------------------------------------------------- |                   \r\n| AssetName\t\t\t  | string   | Vehicle Registration Plate No                                                      |\r\n| Timestamp \t\t  | DateTime | Timestamp of the asset                                                      |\r\n| Lat\t\t\t\t  | DateTime | Latitude where the asset at that point                       |\r\n| Lon \t\t\t\t  | DateTime | Longitude where the asset at that point                    |\r\n\r\n"
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCS.MapBasedAlerting.Server.Api.Integrator.ApiGpsTrailExportService.ApiGpsTrailExportResponse'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCS.MapBasedAlerting.Server.Api.Integrator.ApiGpsTrailExportService.ApiGpsTrailExportResponse'
components:
  schemas:
    AMCS.MapBasedAlerting.Server.Api.Integrator.ApiGpsTrailService.ApiGpsPoint:
      type: object
      properties:
        timestamp:
          type: string
          format: dateTime
          example: '2000-01-01 00:00:00.000'
        lat:
          type: number
          format: double
        lon:
          type: number
          format: double
      additionalProperties: false
    AMCS.MapBasedAlerting.Server.Api.Integrator.ApiGpsTrailExportService.ApiGpsTrailExportResponse:
      type: object
      properties:
        assetName:
          type: string
          nullable: true
        gpsTrail:
          type: array
          items:
            $ref: '#/components/schemas/AMCS.MapBasedAlerting.Server.Api.Integrator.ApiGpsTrailService.ApiGpsPoint'
          nullable: true
      additionalProperties: false