Saudi Arabian Services Company for Automotive and Equipment General News API

The GeneralNews API from Saudi Arabian Services Company for Automotive and Equipment — 14 operation(s) for generalnews.

GitHub OpenAPI

Operations 14

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

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-generalnews-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-generalnews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Application API V1 General News API
  version: v1
tags:
- name: GeneralNews
paths:
  /api/GeneralNews/GetAll:
    post:
      tags:
      - GeneralNews
      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 general news get all
      x-summary-source: derived
      operationId: postApiGeneralNewsGetAll
      x-operation-id-source: derived
  /api/GeneralNews/GetOne/{Id}:
    get:
      tags:
      - GeneralNews
      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 general news get one by id
      x-summary-source: derived
      operationId: getApiGeneralNewsGetOneById
      x-operation-id-source: derived
  /api/GeneralNews/Save:
    post:
      tags:
      - GeneralNews
      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/GeneralNewsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api general news save
      x-summary-source: derived
      operationId: postApiGeneralNewsSave
      x-operation-id-source: derived
  /api/GeneralNews/Submit:
    post:
      tags:
      - GeneralNews
      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/GeneralNewsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api general news submit
      x-summary-source: derived
      operationId: postApiGeneralNewsSubmit
      x-operation-id-source: derived
  /api/GeneralNews/Approve:
    post:
      tags:
      - GeneralNews
      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/GeneralNewsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api general news approve
      x-summary-source: derived
      operationId: postApiGeneralNewsApprove
      x-operation-id-source: derived
  /api/GeneralNews/Reject:
    post:
      tags:
      - GeneralNews
      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/GeneralNewsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api general news reject
      x-summary-source: derived
      operationId: postApiGeneralNewsReject
      x-operation-id-source: derived
  /api/GeneralNews/Publish:
    post:
      tags:
      - GeneralNews
      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/GeneralNewsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api general news publish
      x-summary-source: derived
      operationId: postApiGeneralNewsPublish
      x-operation-id-source: derived
  /api/GeneralNews/UnPublish:
    post:
      tags:
      - GeneralNews
      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/GeneralNewsAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/GeneralNewsAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api general news un publish
      x-summary-source: derived
      operationId: postApiGeneralNewsUnPublish
      x-operation-id-source: derived
  /api/GeneralNews/PublishPreviousVersion/{Id}:
    get:
      tags:
      - GeneralNews
      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 general news publish previous version by id
      x-summary-source: derived
      operationId: getApiGeneralNewsPublishPreviousVersionById
      x-operation-id-source: derived
  /api/GeneralNews/Delete/{id}:
    delete:
      tags:
      - GeneralNews
      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 general news delete by id
      x-summary-source: derived
      operationId: deleteApiGeneralNewsDeleteById
      x-operation-id-source: derived
  /api/GeneralNews/PublicGetAll:
    post:
      tags:
      - GeneralNews
      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 general news public get all
      x-summary-source: derived
      operationId: postApiGeneralNewsPublicGetAll
      x-operation-id-source: derived
  /api/GeneralNews/GetLatest:
    get:
      tags:
      - GeneralNews
      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 general news get latest
      x-summary-source: derived
      operationId: getApiGeneralNewsGetLatest
      x-operation-id-source: derived
  /api/GeneralNews/GetNewsDetailsById/{Id}:
    get:
      tags:
      - GeneralNews
      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 general news get news details by id by id
      x-summary-source: derived
      operationId: getApiGeneralNewsGetNewsDetailsByIdById
      x-operation-id-source: derived
  /api/GeneralNews/GetNewsByCategoryId/{Id}:
    get:
      tags:
      - GeneralNews
      parameters:
      - name: Id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - 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 general news get news by category id by id
      x-summary-source: derived
      operationId: getApiGeneralNewsGetNewsByCategoryIdById
      x-operation-id-source: derived
components:
  schemas:
    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
    GeneralNewsAddEditDto:
      required:
      - contentAr
      - contentEn
      - newsCategoryId
      - newsDate
      - photoAttachmentArId
      - photoAttachmentEnId
      - thumbnailPhotoAttachmentArId
      - thumbnailPhotoAttachmentEnId
      - titleAr
      - titleEn
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          format: uuid
        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'
        titleAr:
          maxLength: 500
          type: string
        titleEn:
          maxLength: 500
          type: string
        contentAr:
          type: string
        contentEn:
          type: string
        photoAttachmentArId:
          type: integer
          format: int32
        thumbnailPhotoAttachmentArId:
          type: integer
          format: int32
        photoAttachmentEnId:
          type: integer
          format: int32
        thumbnailPhotoAttachmentEnId:
          type: integer
          format: int32
        newsCategoryId:
          type: integer
          format: int32
        newsDate:
          type: string
      additionalProperties: false