Saudi Arabian Services Company for Automotive and Equipment Advertisement API

The Advertisement API from Saudi Arabian Services Company for Automotive and Equipment — 13 operation(s) for advertisement.

GitHub OpenAPI

Operations 13

POST /api/Advertisement/GetAll Create api advertisement get all #
GET /api/Advertisement/GetLatest Get api advertisement get latest #
GET /api/Advertisement/GetOne/{Id} Get api advertisement get one by id #
POST /api/Advertisement/Save Create api advertisement save #
POST /api/Advertisement/Submit Create api advertisement submit #
POST /api/Advertisement/Approve Create api advertisement approve #
POST /api/Advertisement/Reject Create api advertisement reject #
POST /api/Advertisement/Publish Create api advertisement publish #
POST /api/Advertisement/UnPublish Create api advertisement un publish #
GET /api/Advertisement/PublishPreviousVersion/{Id} Get api advertisement publish previous version by id #
DELETE /api/Advertisement/Delete/{id} Delete api advertisement delete by id #
POST /api/Advertisement/PublicGetAll Create api advertisement public get all #
GET /api/Advertisement/GetAdvertisementById/{Id} Get api advertisement get advertisement by 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-advertisement-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-advertisement-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Application API V1 Advertisement API
  version: v1
tags:
- name: Advertisement
paths:
  /api/Advertisement/GetAll:
    post:
      tags:
      - Advertisement
      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 advertisement get all
      x-summary-source: derived
      operationId: postApiAdvertisementGetAll
      x-operation-id-source: derived
  /api/Advertisement/GetLatest:
    get:
      tags:
      - Advertisement
      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 advertisement get latest
      x-summary-source: derived
      operationId: getApiAdvertisementGetLatest
      x-operation-id-source: derived
  /api/Advertisement/GetOne/{Id}:
    get:
      tags:
      - Advertisement
      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 advertisement get one by id
      x-summary-source: derived
      operationId: getApiAdvertisementGetOneById
      x-operation-id-source: derived
  /api/Advertisement/Save:
    post:
      tags:
      - Advertisement
      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/AdvertisementAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api advertisement save
      x-summary-source: derived
      operationId: postApiAdvertisementSave
      x-operation-id-source: derived
  /api/Advertisement/Submit:
    post:
      tags:
      - Advertisement
      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/AdvertisementAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api advertisement submit
      x-summary-source: derived
      operationId: postApiAdvertisementSubmit
      x-operation-id-source: derived
  /api/Advertisement/Approve:
    post:
      tags:
      - Advertisement
      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/AdvertisementAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api advertisement approve
      x-summary-source: derived
      operationId: postApiAdvertisementApprove
      x-operation-id-source: derived
  /api/Advertisement/Reject:
    post:
      tags:
      - Advertisement
      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/AdvertisementAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api advertisement reject
      x-summary-source: derived
      operationId: postApiAdvertisementReject
      x-operation-id-source: derived
  /api/Advertisement/Publish:
    post:
      tags:
      - Advertisement
      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/AdvertisementAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api advertisement publish
      x-summary-source: derived
      operationId: postApiAdvertisementPublish
      x-operation-id-source: derived
  /api/Advertisement/UnPublish:
    post:
      tags:
      - Advertisement
      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/AdvertisementAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AdvertisementAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api advertisement un publish
      x-summary-source: derived
      operationId: postApiAdvertisementUnPublish
      x-operation-id-source: derived
  /api/Advertisement/PublishPreviousVersion/{Id}:
    get:
      tags:
      - Advertisement
      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 advertisement publish previous version by id
      x-summary-source: derived
      operationId: getApiAdvertisementPublishPreviousVersionById
      x-operation-id-source: derived
  /api/Advertisement/Delete/{id}:
    delete:
      tags:
      - Advertisement
      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 advertisement delete by id
      x-summary-source: derived
      operationId: deleteApiAdvertisementDeleteById
      x-operation-id-source: derived
  /api/Advertisement/PublicGetAll:
    post:
      tags:
      - Advertisement
      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 advertisement public get all
      x-summary-source: derived
      operationId: postApiAdvertisementPublicGetAll
      x-operation-id-source: derived
  /api/Advertisement/GetAdvertisementById/{Id}:
    get:
      tags:
      - Advertisement
      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 advertisement get advertisement by id by id
      x-summary-source: derived
      operationId: getApiAdvertisementGetAdvertisementByIdById
      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
    AdvertisementAddEditDto:
      required:
      - advTitle
      - link
      - linkTitle
      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'
        advTitle:
          maxLength: 500
          type: string
        linkTitle:
          maxLength: 500
          type: string
        link:
          maxLength: 500
          type: string
        advDate:
          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