Saudi Arabian Services Company for Automotive and Equipment User API

The User API from Saudi Arabian Services Company for Automotive and Equipment — 11 operation(s) for user.

GitHub OpenAPI

Operations 11

GET /api/User/GetUser Get api user get user #
GET /api/User/GetOne/{UniqueId} Get api user get one by unique id #
POST /api/User/query Create api user query #
GET /api/User/GetAllUsesrWithSameRole Get api user get all usesr with same role #
POST /api/User/GetAllAdmin Create api user get all admin #
POST /api/User/AddUser Create api user add user #
POST /api/User/UpdateUser Create api user update user #
POST /api/User/UpdateProfile Create api user update profile #
DELETE /api/User/DeleteUser/{id} Delete api user delete user by id #
GET /api/User/GetUserSetting Get api user get user setting #
POST /api/User/SetUserSetting Create api user set user setting #

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-user-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-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Application API V1 User API
  version: v1
tags:
- name: User
paths:
  /api/User/GetUser:
    get:
      tags:
      - User
      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 user get user
      x-summary-source: derived
      operationId: getApiUserGetUser
      x-operation-id-source: derived
  /api/User/GetOne/{UniqueId}:
    get:
      tags:
      - User
      parameters:
      - name: UniqueId
        in: path
        required: true
        schema:
          type: string
      - 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 user get one by unique id
      x-summary-source: derived
      operationId: getApiUserGetOneByUniqueId
      x-operation-id-source: derived
  /api/User/query:
    post:
      tags:
      - User
      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/UserResultDtoQueryViewModel'
          application/json:
            schema:
              $ref: '#/components/schemas/UserResultDtoQueryViewModel'
          text/json:
            schema:
              $ref: '#/components/schemas/UserResultDtoQueryViewModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserResultDtoQueryViewModel'
      responses:
        '200':
          description: Success
      summary: Create api user query
      x-summary-source: derived
      operationId: postApiUserQuery
      x-operation-id-source: derived
  /api/User/GetAllUsesrWithSameRole:
    get:
      tags:
      - User
      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 user get all usesr with same role
      x-summary-source: derived
      operationId: getApiUserGetAllUsesrWithSameRole
      x-operation-id-source: derived
  /api/User/GetAllAdmin:
    post:
      tags:
      - User
      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/UserResultDtoQueryViewModel'
          application/json:
            schema:
              $ref: '#/components/schemas/UserResultDtoQueryViewModel'
          text/json:
            schema:
              $ref: '#/components/schemas/UserResultDtoQueryViewModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserResultDtoQueryViewModel'
      responses:
        '200':
          description: Success
      summary: Create api user get all admin
      x-summary-source: derived
      operationId: postApiUserGetAllAdmin
      x-operation-id-source: derived
  /api/User/AddUser:
    post:
      tags:
      - User
      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/UserAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api user add user
      x-summary-source: derived
      operationId: postApiUserAddUser
      x-operation-id-source: derived
  /api/User/UpdateUser:
    post:
      tags:
      - User
      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/UserAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api user update user
      x-summary-source: derived
      operationId: postApiUserUpdateUser
      x-operation-id-source: derived
  /api/User/UpdateProfile:
    post:
      tags:
      - User
      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/UserAddEditDto'
          application/json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
          text/json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserAddEditDto'
      responses:
        '200':
          description: Success
      summary: Create api user update profile
      x-summary-source: derived
      operationId: postApiUserUpdateProfile
      x-operation-id-source: derived
  /api/User/DeleteUser/{id}:
    delete:
      tags:
      - User
      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: Delete api user delete user by id
      x-summary-source: derived
      operationId: deleteApiUserDeleteUserById
      x-operation-id-source: derived
  /api/User/GetUserSetting:
    get:
      tags:
      - User
      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 user get user setting
      x-summary-source: derived
      operationId: getApiUserGetUserSetting
      x-operation-id-source: derived
  /api/User/SetUserSetting:
    post:
      tags:
      - User
      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/UserSettingDto'
          application/json:
            schema:
              $ref: '#/components/schemas/UserSettingDto'
          text/json:
            schema:
              $ref: '#/components/schemas/UserSettingDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserSettingDto'
      responses:
        '200':
          description: Success
      summary: Create api user set user setting
      x-summary-source: derived
      operationId: postApiUserSetUserSetting
      x-operation-id-source: derived
components:
  schemas:
    UserRoleAddEditDTO:
      type: object
      properties:
        roleId:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
        userId:
          type: integer
          format: int32
      additionalProperties: false
    SortOrder:
      type: object
      properties:
        fieldName:
          type:
          - string
          - 'null'
        sortType:
          $ref: '#/components/schemas/SortTypeEnum'
      additionalProperties: false
    UserAddEditDto:
      required:
      - email
      - fullName
      - identityNumber
      - password
      - phoneNumber
      - userName
      type: object
      properties:
        id:
          type: integer
          format: int32
        verificationCode:
          type:
          - string
          - 'null'
        fullName:
          maxLength: 30
          type: string
        email:
          maxLength: 30
          type: string
        userName:
          maxLength: 30
          type: string
        phoneNumber:
          maxLength: 10
          type: string
        identityNumber:
          maxLength: 10
          type: string
        password:
          maxLength: 30
          type: string
        isEnabled:
          type:
          - boolean
          - 'null'
        userRoles:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
      additionalProperties: false
    UserResultDto:
      type: object
      properties:
        id:
          type: integer
          format: int32
        firstName:
          type:
          - string
          - 'null'
        secondName:
          type:
          - string
          - 'null'
        thirdName:
          type:
          - string
          - 'null'
        verificationCode:
          type:
          - string
          - 'null'
        fullName:
          type:
          - string
          - 'null'
        fullNameEn:
          type:
          - string
          - 'null'
        email:
          type:
          - string
          - 'null'
        password:
          type:
          - string
          - 'null'
        userName:
          type:
          - string
          - 'null'
        isEnabled:
          type:
          - boolean
          - 'null'
        statusAr:
          type:
          - string
          - 'null'
          readOnly: true
        statusEn:
          type:
          - string
          - 'null'
          readOnly: true
        departmentId:
          type:
          - integer
          - 'null'
          format: int32
        rolesName:
          type:
          - string
          - 'null'
        departmentName:
          type:
          - string
          - 'null'
        totalNotifications:
          type: integer
          format: int32
        phoneNumber:
          type:
          - string
          - 'null'
        identityNumber:
          type:
          - string
          - 'null'
        urn:
          type:
          - string
          - 'null'
        isSelected:
          type: boolean
          readOnly: true
        userRoles:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/UserRoleAddEditDTO'
        uniqueId:
          type:
          - string
          - 'null'
          readOnly: true
        isSuperAdmin:
          type: boolean
      additionalProperties: false
    UserResultDtoQueryViewModel:
      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:
          $ref: '#/components/schemas/UserResultDto'
      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
    UserSettingDto:
      type: object
      properties:
        key:
          type:
          - string
          - 'null'
        value:
          type:
          - string
          - 'null'
      additionalProperties: false