Saudi Arabian Services Company for Automotive and Equipment Statistics API

The Statistics API from Saudi Arabian Services Company for Automotive and Equipment — 12 operation(s) for statistics.

GitHub OpenAPI

Operations 12

POST /api/Statistics/GetAll Create api statistics get all #
GET /api/Statistics/GetOne/{Id} Get api statistics get one by id #
POST /api/Statistics/Save Create api statistics save #
POST /api/Statistics/Submit Create api statistics submit #
POST /api/Statistics/Approve Create api statistics approve #
POST /api/Statistics/Reject Create api statistics reject #
POST /api/Statistics/Publish Create api statistics publish #
POST /api/Statistics/UnPublish Create api statistics un publish #
DELETE /api/Statistics/Delete/{id} Delete api statistics delete by id #
GET /api/Statistics/PublishPreviousVersion/{Id} Get api statistics publish previous version by id #
POST /api/Statistics/PublicGetAll Create api statistics public get all #
GET /api/Statistics/GetLatest Get api statistics get latest #

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/sasco:sasco-statistics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sasco-statistics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Application API V1 Statistics API
  version: v1
tags:
- name: Statistics
paths:
  /api/Statistics/GetAll:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
          application/json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
          text/json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
      responses:
        '200':
          description: Success
      summary: Create api statistics get all
      x-summary-source: derived
      operationId: postApiStatisticsGetAll
      x-operation-id-source: derived
  /api/Statistics/GetOne/{Id}:
    get:
      tags:
      - Statistics
      parameters:
      - name: Id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      responses:
        '200':
          description: Success
      summary: Get api statistics get one by id
      x-summary-source: derived
      operationId: getApiStatisticsGetOneById
      x-operation-id-source: derived
  /api/Statistics/Save:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api statistics save
      x-summary-source: derived
      operationId: postApiStatisticsSave
      x-operation-id-source: derived
  /api/Statistics/Submit:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api statistics submit
      x-summary-source: derived
      operationId: postApiStatisticsSubmit
      x-operation-id-source: derived
  /api/Statistics/Approve:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api statistics approve
      x-summary-source: derived
      operationId: postApiStatisticsApprove
      x-operation-id-source: derived
  /api/Statistics/Reject:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api statistics reject
      x-summary-source: derived
      operationId: postApiStatisticsReject
      x-operation-id-source: derived
  /api/Statistics/Publish:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api statistics publish
      x-summary-source: derived
      operationId: postApiStatisticsPublish
      x-operation-id-source: derived
  /api/Statistics/UnPublish:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/StatisticsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api statistics un publish
      x-summary-source: derived
      operationId: postApiStatisticsUnPublish
      x-operation-id-source: derived
  /api/Statistics/Delete/{id}:
    delete:
      tags:
      - Statistics
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      responses:
        '200':
          description: Success
      summary: Delete api statistics delete by id
      x-summary-source: derived
      operationId: deleteApiStatisticsDeleteById
      x-operation-id-source: derived
  /api/Statistics/PublishPreviousVersion/{Id}:
    get:
      tags:
      - Statistics
      parameters:
      - name: Id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      responses:
        '200':
          description: Success
      summary: Get api statistics publish previous version by id
      x-summary-source: derived
      operationId: getApiStatisticsPublishPreviousVersionById
      x-operation-id-source: derived
  /api/Statistics/PublicGetAll:
    post:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
          application/json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
          text/json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/BooleanQueryViewModel'
      responses:
        '200':
          description: Success
      summary: Create api statistics public get all
      x-summary-source: derived
      operationId: postApiStatisticsPublicGetAll
      x-operation-id-source: derived
  /api/Statistics/GetLatest:
    get:
      tags:
      - Statistics
      parameters:
      - name: Authorization
        in: header
        description: access token
        schema:
          type: string
          default: 'Bearer '
      - name: Lang
        in: header
        description: Default Langague
        schema:
          type: string
          default: ar
      responses:
        '200':
          description: Success
      summary: Get api statistics get latest
      x-summary-source: derived
      operationId: getApiStatisticsGetLatest
      x-operation-id-source: derived
components:
  schemas:
    StatisticsAddEditDto:
      required:
      - photoAttachmentArId
      - photoAttachmentEnId
      - statisticsValue
      - thumbnailPhotoAttachmentArId
      - thumbnailPhotoAttachmentEnId
      - titleAr
      - titleEn
      type: object
      properties:
        isEditable:
          type: boolean
        isSubmitted:
          type: boolean
        publishStatus:
          type: integer
          format: int32
        firstApproval:
          type: integer
          format: int32
        secondApproval:
          type: integer
          format: int32
        thirdApproval:
          type: integer
          format: int32
        requesterId:
          type:
          - integer
          - 'null'
          format: int64
        wfPageLevel:
          type: integer
          format: int32
        publishVersionId:
          type:
          - string
          - 'null'
          format: uuid
        rejectReason:
          type:
          - string
          - 'null'
        contentVersion:
          type:
          - integer
          - 'null'
          format: int32
        publishDate:
          type:
          - string
          - 'null'
        rowVersion:
          type:
          - string
          - 'null'
          format: byte
        historyList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/RequestHistoryDto'
        id:
          type:
          - string
          - 'null'
          format: uuid
        titleAr:
          maxLength: 500
          type: string
        titleEn:
          maxLength: 500
          type: string
        statisticsValue:
          type: integer
          format: int32
        photoAttachmentArId:
          type: integer
          format: int32
        thumbnailPhotoAttachmentArId:
          type: integer
          format: int32
        photoAttachmentEnId:
          type: integer
          format: int32
        thumbnailPhotoAttachmentEnId:
          type: integer
          format: int32
      additionalProperties: false
    SortOrder:
      type: object
      properties:
        fieldName:
          type:
          - string
          - 'null'
        sortType:
          $ref: '#/components/schemas/SortTypeEnum'
      additionalProperties: false
    RequestHistoryDto:
      type: object
      properties:
        userName:
          type:
          - string
          - 'null'
        fullName:
          type:
          - string
          - 'null'
        roleNameAr:
          type:
          - string
          - 'null'
        roleNameEn:
          type:
          - string
          - 'null'
        actionDate:
          type:
          - string
          - 'null'
        actionName:
          type:
          - string
          - 'null'
        rejectReason:
          type:
          - string
          - 'null'
      additionalProperties: false
    BooleanQueryViewModel:
      type: object
      properties:
        language:
          type:
          - string
          - 'null'
        order:
          $ref: '#/components/schemas/SortOrder'
        filter:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Filter'
        pageNumber:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        model:
          type: boolean
      additionalProperties: false
    Filter:
      type: object
      properties:
        fieldName:
          type:
          - string
          - 'null'
        operation:
          type:
          - string
          - 'null'
        value:
          type:
          - string
          - 'null'
      additionalProperties: false
    SortTypeEnum:
      enum:
      - 1
      - 2
      type: integer
      format: int32