Saudi Arabian Services Company for Automotive and Equipment Role API
The Role API from Saudi Arabian Services Company for Automotive and Equipment — 8 operation(s) for role.
The Role API from Saudi Arabian Services Company for Automotive and Equipment — 8 operation(s) for role.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/sasco:sasco-role-api"
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.
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: 3.2.0
info:
title: Application API V1 Role API
version: v1
tags:
- name: Role
paths:
/api/Role/GetRole/{UniqueId}:
get:
tags:
- Role
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 role get role by unique id
x-summary-source: derived
operationId: getApiRoleGetRoleByUniqueId
x-operation-id-source: derived
/api/Role/query:
post:
tags:
- Role
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/RoleResultDtoQueryViewModel'
application/json:
schema:
$ref: '#/components/schemas/RoleResultDtoQueryViewModel'
text/json:
schema:
$ref: '#/components/schemas/RoleResultDtoQueryViewModel'
application/*+json:
schema:
$ref: '#/components/schemas/RoleResultDtoQueryViewModel'
responses:
'200':
description: Success
summary: Create api role query
x-summary-source: derived
operationId: postApiRoleQuery
x-operation-id-source: derived
/api/Role/GetAllExceptMaster:
post:
tags:
- Role
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/RoleResultDtoQueryViewModel'
application/json:
schema:
$ref: '#/components/schemas/RoleResultDtoQueryViewModel'
text/json:
schema:
$ref: '#/components/schemas/RoleResultDtoQueryViewModel'
application/*+json:
schema:
$ref: '#/components/schemas/RoleResultDtoQueryViewModel'
responses:
'200':
description: Success
summary: Create api role get all except master
x-summary-source: derived
operationId: postApiRoleGetAllExceptMaster
x-operation-id-source: derived
/api/Role/GetAllForAdmin:
post:
tags:
- Role
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/SPRoleDTOQueryViewModel'
application/json:
schema:
$ref: '#/components/schemas/SPRoleDTOQueryViewModel'
text/json:
schema:
$ref: '#/components/schemas/SPRoleDTOQueryViewModel'
application/*+json:
schema:
$ref: '#/components/schemas/SPRoleDTOQueryViewModel'
responses:
'200':
description: Success
summary: Create api role get all for admin
x-summary-source: derived
operationId: postApiRoleGetAllForAdmin
x-operation-id-source: derived
/api/Role/GetUsersForOneRole/{Id}:
get:
tags:
- Role
parameters:
- name: Id
in: path
required: true
schema:
type: integer
format: int64
- 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 role get users for one role by id
x-summary-source: derived
operationId: getApiRoleGetUsersForOneRoleById
x-operation-id-source: derived
/api/Role/AddRole:
post:
tags:
- Role
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/RoleAddEditDto'
application/json:
schema:
$ref: '#/components/schemas/RoleAddEditDto'
text/json:
schema:
$ref: '#/components/schemas/RoleAddEditDto'
application/*+json:
schema:
$ref: '#/components/schemas/RoleAddEditDto'
responses:
'200':
description: Success
summary: Create api role add role
x-summary-source: derived
operationId: postApiRoleAddRole
x-operation-id-source: derived
/api/Role/UpdateRole:
put:
tags:
- Role
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/RoleAddEditDto'
application/json:
schema:
$ref: '#/components/schemas/RoleAddEditDto'
text/json:
schema:
$ref: '#/components/schemas/RoleAddEditDto'
application/*+json:
schema:
$ref: '#/components/schemas/RoleAddEditDto'
responses:
'200':
description: Success
summary: Replace api role update role
x-summary-source: derived
operationId: putApiRoleUpdateRole
x-operation-id-source: derived
/api/Role/DeleteRole/{id}:
delete:
tags:
- Role
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 role delete role by id
x-summary-source: derived
operationId: deleteApiRoleDeleteRoleById
x-operation-id-source: derived
components:
schemas:
RoleResultDtoQueryViewModel:
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/RoleResultDto'
additionalProperties: false
RoleResultDto:
type: object
properties:
id:
type: integer
format: int32
nameAr:
type:
- string
- 'null'
name:
type:
- string
- 'null'
isMaster:
type: boolean
isAdmin:
type: boolean
permissions:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/PermissionAddEditDto'
uniqueId:
type:
- string
- 'null'
readOnly: true
rowVersion:
type:
- string
- 'null'
format: byte
additionalProperties: false
SPRoleDTO:
type: object
properties:
roleId:
type:
- integer
- 'null'
format: int32
roleName:
type:
- string
- 'null'
roleNameEn:
type:
- string
- 'null'
users:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/SPUserDTO'
additionalProperties: false
SortOrder:
type: object
properties:
fieldName:
type:
- string
- 'null'
sortType:
$ref: '#/components/schemas/SortTypeEnum'
additionalProperties: false
PageActionModel:
type: object
properties:
id:
type:
- integer
- 'null'
format: int32
pageId:
type:
- integer
- 'null'
format: int32
actionId:
type:
- integer
- 'null'
format: int32
selected:
type:
- boolean
- 'null'
additionalProperties: false
SPRoleDTOQueryViewModel:
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/SPRoleDTO'
additionalProperties: false
SPUserDTO:
type: object
properties:
id:
type:
- integer
- 'null'
format: int64
userName:
type:
- string
- 'null'
fullName:
type:
- string
- 'null'
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
PermissionAddEditDto:
type: object
properties:
pageActionId:
type: integer
format: int32
additionalProperties: false
RoleAddEditDto:
required:
- name
- nameAr
type: object
properties:
id:
type: integer
format: int32
nameAr:
maxLength: 30
type: string
name:
maxLength: 30
type: string
permissions:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/PermissionAddEditDto'
pageActions:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/PageActionModel'
rowVersion:
type:
- string
- 'null'
format: byte
additionalProperties: false