Inspection Condition Resource

Get Inspection Condition

HTTP Request

GET /api/inspectionConditions/{id}

📋 Description: Retrieves detailed information about specific inspection conditions identified by the provided ID, facilitating informed decision-making in quality assurance processes.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

InspectionConditionDTO

Update Inspection Condition

HTTP Request

PUT /api/inspectionConditions/{id}

📋 Description: Updates the inspection conditions for a specified ID, allowing for modifications to existing records to ensure compliance and accuracy in inspection processes.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

InspectionConditionDTO

true

Request body containing the updated inspection condition details, including status, description, and relevant metadata for the specified inspection ID.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Delete Inspection Condition

HTTP Request

DELETE /api/inspectionConditions/{id}

📋 Description: Deletes the specified inspection condition identified by the unique ID, ensuring the removal of outdated or irrelevant data 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 Inspection Condition

HTTP Request

GET /api/inspectionConditions

📋 Description: Retrieves the current inspection conditions, providing essential information for compliance and quality assurance processes.

Parameters

Name

In

Type

Required

Description

isAvailable

query

boolean

false

Whether the resource is available

Default Values

Parameter

Default

Type

isAvailable

false

query

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[InspectionConditionDTO]

false

none

[Data transfer object representing the conditions observed during an inspection, including relevant details and status indicators to facilitate compliance and quality assurance processes.]

» 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

» displayId

string

false

none

Unique identifier for the display

» name

string

true

none

Name of the resource

» isDefault

boolean

false

none

Whether the resource is default

» objectAvailable

boolean

false

none

Indicates whether the object is available for inspection, facilitating efficient resource management and operational planning.

» inspectionConditionType

string

false

none

Type of the inspection condition

» isDefaultType

boolean

false

none

Whether the resource is default

Create Inspection Condition

HTTP Request

POST /api/inspectionConditions

📋 Description: Creates new inspection conditions within the system, enabling users to define and manage criteria for inspections effectively.

Parameters

Name

In

Type

Required

Description

body

body

InspectionConditionDTO

true

Request body containing the inspection conditions data, including parameters for compliance assessment and operational standards.

Responses

Status

Meaning

Description

Schema

201

Created

Created

Inline

Response Schema