Create one inspection level

post

/fscmRestApi/resources/11.13.18.05/inspectionLevels

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Acceptance Quality Limit
    Acceptance Quality Limit along with the Sample Size Code Letter is used to determine the sampling size. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_AQL.
  • Attachments
    Title: Attachments
    The attachments resource is used to view, create, and update attachments.
  • Title: Description
    Maximum Length: 240
    Translatable description of Inspection Level.
  • Title: Count
    Number of samples to inspect when sampling plan type is fixed count.
  • Value that uniquely identifies the inspection level.
  • Title: Name
    Maximum Length: 120
    Translatable name of the Inspection Level.
  • Title: Number of Lots
    Number of Lots available for inspection.
  • Title: Number of Lots to Inspect
    Number of lots to inspect in the current inspection level.
  • Title: Sampling Size
    Percentage of sampling required.
  • Title: Quantity per Sample
    Quantity of material required for inspection on a per sample basis.
  • Title: Sample Quantity UOM
    Maximum Length: 3
    Code that identifies the unit of measure for quantity per sample.
  • Title: Sampling Enabled
    Maximum Length: 1
    Default Value: false
    Contains one of the following values: Y or N. If Y, then Sampling percentage must be specified. If N, then percentage is assumed to be 100, which means no sampling. The default value is N.
  • Title: Level
    Maximum Length: 5
    Determines the relationship between the lot or batch size and the sample size. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_INSP_LEVEL.
  • Title: Sampling Plan Type
    Maximum Length: 255
    Type of sampling plan. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_PLAN_TYPE.
  • Title: Sampling Plan Type Code
    Maximum Length: 30
    Code of the sampling plan type. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_PLAN_TYPE.
  • Title: Sampling Standard Code
    Maximum Length: 30
    Sampling standard code associated with the inspection level. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_STD.
  • Title: Skip Lot Enabled
    Maximum Length: 1
    Default Value: false
    Contains one of the following values: Y or N. If Y, then value for number of lots and number of lots to inspect must be specified. If N, then skip lot isn't enabled. The default value is N.
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : inspectionLevels-item-response
Type: object
Show Source
  • Title: Acceptance Quality Limit
    Acceptance Quality Limit along with the Sample Size Code Letter is used to determine the sampling size. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_AQL.
  • Attachments
    Title: Attachments
    The attachments resource is used to view, create, and update attachments.
  • Read Only: true
    Maximum Length: 64
    User who created the inspection level.
  • Read Only: true
    Date and time when the inspection level was created.
  • Title: Description
    Maximum Length: 240
    Translatable description of Inspection Level.
  • Title: Count
    Number of samples to inspect when sampling plan type is fixed count.
  • Value that uniquely identifies the inspection level.
  • Read Only: true
    Date and time when the user last updated the inspection level.
  • Read Only: true
    Maximum Length: 64
    User who last updated the inspection level.
  • Links
  • Title: Name
    Maximum Length: 120
    Translatable name of the Inspection Level.
  • Title: Number of Lots
    Number of Lots available for inspection.
  • Title: Number of Lots to Inspect
    Number of lots to inspect in the current inspection level.
  • Title: Sampling Size
    Percentage of sampling required.
  • Title: Quantity per Sample
    Quantity of material required for inspection on a per sample basis.
  • Title: Sample Quantity UOM
    Maximum Length: 3
    Code that identifies the unit of measure for quantity per sample.
  • Title: Sampling Enabled
    Maximum Length: 1
    Default Value: false
    Contains one of the following values: Y or N. If Y, then Sampling percentage must be specified. If N, then percentage is assumed to be 100, which means no sampling. The default value is N.
  • Title: Level
    Maximum Length: 5
    Determines the relationship between the lot or batch size and the sample size. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_INSP_LEVEL.
  • Title: Sampling Plan Type
    Maximum Length: 255
    Type of sampling plan. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_PLAN_TYPE.
  • Title: Sampling Plan Type Code
    Maximum Length: 30
    Code of the sampling plan type. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_PLAN_TYPE.
  • Title: Sampling Standard Code
    Maximum Length: 30
    Sampling standard code associated with the inspection level. A list of accepted values is defined in the lookup type ORA_QA_SAMPLING_STD.
  • Title: Skip Lot Enabled
    Maximum Length: 1
    Default Value: false
    Contains one of the following values: Y or N. If Y, then value for number of lots and number of lots to inspect must be specified. If N, then skip lot isn't enabled. The default value is N.
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to view, create, and update attachments.
Show Source
Nested Schema : inspectionLevels-attachments-item-response
Type: object
Show Source
Back to Top