Official Procedure Resourceยถ

Get Official Procedureยถ

HTTP Request

GET /api/officialProcedures/{id}

๐Ÿ“‹ Description: Retrieves detailed information about a specific official procedure identified by the provided ID, enabling users to access essential data for compliance and operational decision-making.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

OfficialProcedureDTO

Update Official Procedureยถ

HTTP Request

PUT /api/officialProcedures/{id}

๐Ÿ“‹ Description: Updates the details of a specific official procedure identified by the provided ID, ensuring that the latest information is accurately reflected in the system.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

OfficialProcedureDTO

true

Request body containing the updated details of the official procedure, including its title, description, status, and any relevant metadata for effective management and tracking.

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Delete Official Procedureยถ

HTTP Request

DELETE /api/officialProcedures/{id}

๐Ÿ“‹ Description: Deletes a specified official procedure by its unique identifier, ensuring the removal of outdated or unnecessary records from the system.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

204

No Content

No Content

None

Get All Official Proceduresยถ

HTTP Request

GET /api/officialProcedures

๐Ÿ“‹ Description: Retrieves a list of official procedures available within the system, enabling users to access and review compliance and operational guidelines.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[OfficialProcedureDTO]

false

none

[Data transfer object representing an official procedure, encapsulating essential details and metadata necessary for compliance and operational efficiency within the organization.]

ยป id

integer(int64)

false

none

Unique identifier for the resource

ยป createdBy

string

false

none

Username of who created this resource

ยป createdAt

string(date-time)

false

none

Timestamp when this resource was created

ยป name

string

false

none

Name of the resource

ยป description

string

false

none

Description of the resource

Create Official Procedureยถ

HTTP Request

POST /api/officialProcedures

๐Ÿ“‹ Description: Submits new official procedures for approval, enabling organizations to streamline compliance and governance processes.

Parameters

Name

In

Type

Required

Description

body

body

OfficialProcedureDTO

true

Request body containing the details of the official procedures to be submitted, including relevant metadata and compliance information.

Responses

Status

Meaning

Description

Schema

201

Created

Created

integer