Create one event
/fscmRestApi/resources/11.13.18.05/inspectionEvents
Request
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
-
Upsert-Mode:
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.
- application/json
object
-
AcceptanceNumber: number
Number that indicates the acceptance associated with the sampling plan.
-
AssetId: integer
(int64)
Value that uniquely identifies the asset number to inspect if inspection type is Asset.
-
AssetInspectionPlanName: string
Maximum Length:
255
Name of the inspection plan for asset type inspection. -
AssetNumber: string
Maximum Length:
80
Alphanumeric value that identifies the asset number to inspect if inspection type is Asset. -
AssetSerialNumber: string
Maximum Length:
255
Number that identifies the serial number associated with asset number for an asset inspection. -
AssetWorkOrderId: integer
Value that uniquely identifies the maintenance work order for an asset inspection.
-
AssetWorkOrderNumber: string
Maximum Length:
255
Alphanumeric value that identifies the maintenance work order of an asset inspection. -
Attachments: array
Result Attachments
Title:
Result Attachments
The Result Attachments resource manages the attachments for the sample results. -
CategoryId: integer
(int64)
Value that uniquely identifies the category of the item to inspect.
-
CategorySetId: integer
(int64)
Value that uniquely identifies the catalog of the item to inspect.
-
CustomerId: integer
(int64)
Value that uniquely identifies the customer returning the item to inspect.
-
DispatchStatus: string
Maximum Length:
30
Dispatch status of the work order operation for the inspected item. -
DispositionDate: string
(date-time)
Disposition date of the work order operation for the inspected item.
-
DocumentLineNumber: number
Document line number of the receiving inspection event.
-
DocumentNumber: string
Maximum Length:
240
Document number of the receiving inspection event. -
DocumentScheduleNumber: string
Maximum Length:
50
Document schedule number of the receiving inspection event. -
DocumentType: string
Maximum Length:
50
Document type of the receiving inspection event. -
Draft: string
Maximum Length:
1
Contains one of the following values: Y or N. If Y, then the transactions are not finished. If N, then transactions are finished. This attribute does not have a default value.. -
EventDisposition: array
Event Dispositions
Title:
Event Dispositions
The Event Dispositions resource manages event dispositions. -
EventType: string
Maximum Length:
20
Type of event. Valid values are WIP, RCV, INV, RES, or AST. -
EventTypeLOV: string
List of values for the event type.
-
FromOrganizationId: integer
Value that uniquely identifies the source organization.
-
Inline: string
Maximum Length:
1
Contains one of the following values: Y or N. If Y, then the application collects results as part of a receipt or work order, and the application requires the transaction identifiers. If N, then the application collects results independent of the receipt or work order, and the application does not require the transaction identifiers. This attribute does not have a default value. -
InspectAllSamplesFlag: boolean
Maximum Length:
255
Contains one of the following values: true or false. If true, then all samples are created for inspection based on the document line quantity. If false, then the samples are created based on the sampling rate. This attribute does not have a default value. -
InspectedBy: string
Maximum Length:
64
Person who performs the inspection. -
InspectionDate: string
(date-time)
Date and time when the inspection event occurred.
-
InspectionLevelId: integer
(int64)
Value that uniquely identifies the inspection level.
-
InspectionLevelName: string
Name of the inspection level.
-
InspectionName: string
Name of the inspection event. This attribute is derived based on the EventSource.
-
InspectionPlanId: integer
(int64)
Value that uniquely identifies the inspection plan.
-
InspectionPlanType: string
Name of the type of inspection plan.
-
InspectionPlanVersion: string
Version of the inspection plan.
-
InspectionPlanVersionDescription: string
Description of the version of the inspection plan.
-
InspectionStatus: string
Maximum Length:
20
Inspection status. Valid values include PENDING or COMPLETE. -
InterfaceTransactionId: integer
(int64)
Value that uniquely identifies the interface transaction when inspecting a receipt. This attribute references the RCV_TRANSACTIONS_INTERFACE table.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the inventory item to inspect.
-
INVInspectionPlanName: string
Name of the inventory inspection plan.
-
IpCriteriaId: integer
(int64)
Value that uniquely identifies the inspection criteria record.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection event.
-
isSamplingEnabled: string
Value that indicates whether the application uses sampling.
-
isSkiplotEnabled: string
Value that indicates whether the application uses skip lots.
-
ItemDescription: string
Description of the item.
-
ItemNumber: string
Number that identifies the item.
-
ItemRevision: string
Revision of the item.
-
Locator: string
Maximum Length:
255
Value that uniquely identifies the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the subinventory locator of the item to inspect in this event.
-
LotNumber: string
Maximum Length:
80
Lot number inspected in this event. -
NonConformanceCount: number
Total number of non-conformities in an inspection event. This attribute is derived as one hundred times the number of nonconforming units divided by the total number of units of product.
-
NumofLots: integer
Number of lots.
-
NumofLotsInspect: integer
Number of lots to inspect.
-
OperationSequenceNumber: integer
Sequence number of the work order operation to use during manufacturing inspection.
-
OrganizationCode: string
Abbreviation that identifies the list of values for the organization.
-
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
OriginalDisposition: string
Maximum Length:
20
Original disposition of the items to inspect. -
PreAssignedLotNumber: string
Value that identifies the preassigned lot inspected in the event. This attribute should be used instead of LotNumber when a lot has been preassigned to a work order operation.
-
QuantityAccepted: number
Total quantity accepted in this event.
-
QuantityInspected: number
Total quantity inspected in this event.
-
QuantityRejected: number
Total quantity rejected in this event.
-
QuantityRequested: number
Requested inspection quantity received from the plant or from receiving.
-
RCVInspectionPlanName: string
Name of the receiving inspection plan.
-
ReceiptNumber: string
Maximum Length:
30
Receipt number that this inspection event inspects. -
RejectionNumber: number
Number that indicates the rejection associated with the sampling plan.
-
ResourceCode: string
Abbreviation that identifies the resource.
-
ResourceId: integer
(int64)
Identifies the resource to inspect.
-
ResourceInspectionPlanName: string
Name of the resource inspection plan.
-
RevisionId: integer
(int64)
If revisions control the item, then this value uniquely identifies the inspected item.
-
Sample: array
Samples
Title:
Samples
The Samples resource manages sample items. -
SampleSizeCode: string
Maximum Length:
3
Abbreviation that identifies the sample size associated with the inspection level. -
SamplingQuantity: number
Quantity from the sampling plan to inspect.
-
SamplingRate: number
Rate of the sampling.
-
SerialResultsEntryFlag: boolean
Contains one of the following values: true or false. If true, then serials are created for inspection. If false, then samples are created for inspection. This attribute does not have a default value.
-
ShipmentHeaderId: integer
(int64)
Value that uniquely identifies the shipment header of the item to inspect.
-
ShipmentLineId: integer
(int64)
Value that uniquely identifies the shipment line of the item to inspect.
-
SourceDocumentCode: string
Abbreviation that identifies the source document.
-
SourceLineQuantity: number
Total quantity on the source line. It measures the receiving transaction quantity or the completion quantity of a manufacturing operation.
-
SourceOrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the source organization. This attribute is required when EventType is Receiving and DocumentType is In-transit shipment or Transfer order. -
SourceOrgId: integer
(int64)
If the receiving transaction type is a transfer, then SourceOrgId identifies the source organization.
-
SubinventoryCode: string
Maximum Length:
10
Abbreviation that identifies the subinventory that stores the inspected item. -
SubinventoryId: integer
Value that uniquely identifies the subinventory.
-
Supplier: string
Name of the supplier. This attribute is required when EventType is Receiving and DocumentType is Purchase order.
-
SupplierId: integer
(int64)
Value that uniquely identifies the supplier of the item to inspect.
-
SupplierLotNumber: string
Maximum Length:
80
Number that identifies the shipment lot. -
SupplierSite: string
Name of the supplier site. This attribute is required when EventType is Receiving, DocumentType is Purchase order for the specified supplier.
-
SupplierSiteId: integer
(int64)
Value that uniquely identifies the supplier site.
-
TotalSampleQuantity: number
Total amount of material required for testing in the inspection quantity unit of measure.
-
TransactionType: string
Maximum Length:
25
Receiving transaction type. -
UOMCode: string
Maximum Length:
3
Unit of measurement for the quantity of items to inspect in this event. -
VendorId: integer
Value that uniquely identifies the vendor.
-
VendorSiteId: integer
Value that uniquely identifies the vendor site.
-
WIPInspectionPlanName: string
Name of the inspection plan for work in process.
-
WoOperationCode: string
Abbreviation that identifies the work order operation.
-
WoOperationId: integer
(int64)
Value that uniquely identifies the work order operation in a manufacturing inspection.
-
WoOperationName: string
Name of the work order operation associated with the inspection event.
-
WorkAreaId: integer
(int64)
Value that uniquely identifies the work area for a resource inspection.
-
WorkCenterCode: string
Abbreviation that identifies the work center.
-
WorkCenterId: integer
(int64)
Value that uniquely identifies the work center for a resource inspection.
-
WorkOrderId: integer
(int64)
Value that uniquely identifies the work order for a manufacturing inspection.
-
WorkOrderNumber: string
Number that identifies the list of values for the work order.
array
Result Attachments
array
Event Dispositions
array
Samples
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
An identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attached document. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path to the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfo
JSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error status. -
ErrorStatusMessage: string
Title:
Error Status Message
Error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Expiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) that locates the attached file. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) that locates the attachment.
object
-
Disposition: string
Maximum Length:
30
Disposition of the samples in the inspection event. Valid values include ACCEPT, REJECT, COMPLETE, or PENDING. -
InspectionPlanId: integer
(int64)
Value that uniquely identifies the inspection plan that this event uses for the inspection.
-
IpEventDispositionId: integer
(int64)
Value that uniquely identifies the primary key of the event disposition.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection event to use when recording the sample disposition.
-
Quantity: number
Quantity of samples inspected.
-
RcvTransactionId: integer
(int64)
Value that uniquely identifies the transaction when the source is RCV.
-
WoOperationTransactionId: integer
(int64)
Value that uniquely identifies the transaction when the source is MFG.
object
-
INVSerialNumber: string
List of values for the inventory serial number that is work in process.
-
IpEventId: integer
(int64)
Value that uniquely identifies the event that inspects this sample.
-
OriginalDisposition: string
Maximum Length:
20
Original disposition for the sample to inspect. -
Quantity: number
Sample quantity.
-
SampleDisposition: array
Sample Dispositions
Title:
Sample Dispositions
The Sample Dispositions resource manages sample item dispositions. -
SampleId: integer
(int64)
Value that uniquely identifies the sample to inspect.
-
SampleNumber: string
Maximum Length:
80
If the inspection inspects a nonserial item, then SampleNumber contains the sample number. -
SerialNumber: string
Maximum Length:
80
If the inspection inspects a nonserial item, then SerialNumber contains the serial number. -
UOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure to use for the sample to inspect. -
WIPSerialNumber: string
List of values for the serial number that is work in process.
-
WoOperationTransactionId: integer
(int64)
Value that uniquely identifies the transaction for the work order operation.
array
Sample Dispositions
object
-
Disposition: string
Maximum Length:
30
Result of the inspection disposition. Values include ACCEPT or REJECT. -
IpEventDispositionId: integer
(int64)
Value that uniquely identifies the inspection event disposition where this sample event occurred.
-
IpEventId(required): integer
(int64)
Value that uniquely identifies the inspection plan event.
-
Quantity: number
Sample quantity. If the inspection inspects a serial, then Quantity is 1.
-
SampleEventDispositionId: integer
(int64)
Value that uniquely identifies the event sample disposition.
-
SampleId(required): integer
(int64)
Value that uniquely identifies the sample that you are recording for the disposition.
-
SampleResult: array
Sample Results
Title:
Sample Results
The Sample Results resource manages the sample results for an item. -
Status: string
Maximum Length:
20
Sample status. Valid values include PENDING or COMPLETE.
array
Sample Results
object
-
Attachments: array
Result Attachments
Title:
Result Attachments
The Result Attachments resource manages the attachments for the sample results. -
CharacteristicId(required): integer
(int64)
Value that uniquely identifies the characteristic that this event is inspecting in the sample.
-
CharacteristicName: string
Name that identifies the characteristic that this event is inspecting in the sample.
-
Comments: string
Maximum Length:
4000
Comments that the user enters during inspection. -
DataType: string
Maximum Length:
255
Name of the type of data for the characteristic that the application is inspecting. -
Disposition: string
Inspection disposition result. Valid values include ACCEPT or REJECT.
-
Evaluation: string
Maximum Length:
80
Value that indicates whether the disposition evaluates the result. -
InSpecification: string
Describes whether the result remained within specifications.
-
InspectionDate(required): string
(date-time)
Date and time that this event collected this result.
-
IpEventId(required): integer
(int64)
Value that uniquely identifies the inspection event that collected the result.
-
OptionalFlag: boolean
Maximum Length:
1
Contains one of the following values: true or false. If true, then the entry of result value is optional during an inspection. If false, then the entry of result value is mandatory during an inspection. This attribute does not have a default value. -
Quantity: number
Quantity of samples that this event inspected.
-
ResultEvaluation: array
Result Evaluations
Title:
Result Evaluations
The Result Evaluations resource manages the evaluation results. -
ResultValueChar: string
Maximum Length:
80
Inspection result represented as a string. If this resource can represent this result as a string, then it uses ResultValueChar. -
ResultValueCharNonValidated: string
Maximum Length:
80
Value that identifies the results of the character data type that the application does not validate. -
ResultValueDate: string
(date-time)
Date when this event entered the sample inspection result.
-
ResultValueNumber: number
Inspection result represented as a number. If this resource can represent this result as a number, then it uses ResultValueNumber.
-
SampleId(required): integer
(int64)
Value that uniquely identifies the sample results that this event is entering.
-
SampleResultId: integer
(int64)
Value that uniquely identifies the result of the sample inspection.
-
UOMCode: string
Maximum Length:
3
Unit of measurement for the quantity of samples that this event inspects. -
UserSequence: integer
(int32)
User sequence.
array
Result Attachments
array
Result Evaluations
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
An identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attached document. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path to the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfo
JSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error status. -
ErrorStatusMessage: string
Title:
Error Status Message
Error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Expiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) that locates the attached file. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) that locates the attachment.
object
-
AdditionalChar: string
Maximum Length:
1
Value that indicates whether the inspection plan includes the characteristic. -
Evaluation: string
Maximum Length:
1
Value that indicates whether the disposition evaluates the result. -
InSpecification: string
Maximum Length:
1
Value that indicates whether the result meets the specifications. -
IpEventDispositionId: integer
(int64)
Value that uniquely identifies the inspection event disposition.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection event that entered the results.
-
ResultEvaluationId: integer
(int64)
Value that uniquely identifies the result evaluation.
-
SampleResultId: integer
(int64)
Value that uniquely identifies the sample result that this event uses to determine the evaluation.
Response
- application/json
Default Response
-
Metadata-Context(required):
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".
-
REST-Framework-Version(required):
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.
object
-
AcceptanceNumber: number
Number that indicates the acceptance associated with the sampling plan.
-
AssetId: integer
(int64)
Value that uniquely identifies the asset number to inspect if inspection type is Asset.
-
AssetInspectionPlanName: string
Maximum Length:
255
Name of the inspection plan for asset type inspection. -
AssetNumber: string
Maximum Length:
80
Alphanumeric value that identifies the asset number to inspect if inspection type is Asset. -
AssetSerialNumber: string
Maximum Length:
255
Number that identifies the serial number associated with asset number for an asset inspection. -
AssetWorkOrderId: integer
Value that uniquely identifies the maintenance work order for an asset inspection.
-
AssetWorkOrderNumber: string
Maximum Length:
255
Alphanumeric value that identifies the maintenance work order of an asset inspection. -
Attachments: array
Result Attachments
Title:
Result Attachments
The Result Attachments resource manages the attachments for the sample results. -
CategoryId: integer
(int64)
Value that uniquely identifies the category of the item to inspect.
-
CategorySetId: integer
(int64)
Value that uniquely identifies the catalog of the item to inspect.
-
CustomerId: integer
(int64)
Value that uniquely identifies the customer returning the item to inspect.
-
DispatchStatus: string
Maximum Length:
30
Dispatch status of the work order operation for the inspected item. -
DispositionDate: string
(date-time)
Disposition date of the work order operation for the inspected item.
-
DocumentLineNumber: number
Document line number of the receiving inspection event.
-
DocumentNumber: string
Maximum Length:
240
Document number of the receiving inspection event. -
DocumentScheduleNumber: string
Maximum Length:
50
Document schedule number of the receiving inspection event. -
DocumentType: string
Maximum Length:
50
Document type of the receiving inspection event. -
Draft: string
Maximum Length:
1
Contains one of the following values: Y or N. If Y, then the transactions are not finished. If N, then transactions are finished. This attribute does not have a default value.. -
EventDisposition: array
Event Dispositions
Title:
Event Dispositions
The Event Dispositions resource manages event dispositions. -
EventType: string
Maximum Length:
20
Type of event. Valid values are WIP, RCV, INV, RES, or AST. -
EventTypeLOV: string
List of values for the event type.
-
FromOrganizationId: integer
Value that uniquely identifies the source organization.
-
Inline: string
Maximum Length:
1
Contains one of the following values: Y or N. If Y, then the application collects results as part of a receipt or work order, and the application requires the transaction identifiers. If N, then the application collects results independent of the receipt or work order, and the application does not require the transaction identifiers. This attribute does not have a default value. -
InspectAllSamplesFlag: boolean
Maximum Length:
255
Contains one of the following values: true or false. If true, then all samples are created for inspection based on the document line quantity. If false, then the samples are created based on the sampling rate. This attribute does not have a default value. -
InspectedBy: string
Maximum Length:
64
Person who performs the inspection. -
InspectionDate: string
(date-time)
Date and time when the inspection event occurred.
-
InspectionLevelId: integer
(int64)
Value that uniquely identifies the inspection level.
-
InspectionLevelName: string
Name of the inspection level.
-
InspectionName: string
Name of the inspection event. This attribute is derived based on the EventSource.
-
InspectionPlanId: integer
(int64)
Value that uniquely identifies the inspection plan.
-
InspectionPlanType: string
Name of the type of inspection plan.
-
InspectionPlanVersion: string
Version of the inspection plan.
-
InspectionPlanVersionDescription: string
Description of the version of the inspection plan.
-
InspectionStatus: string
Maximum Length:
20
Inspection status. Valid values include PENDING or COMPLETE. -
InterfaceTransactionId: integer
(int64)
Value that uniquely identifies the interface transaction when inspecting a receipt. This attribute references the RCV_TRANSACTIONS_INTERFACE table.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the inventory item to inspect.
-
INVInspectionPlanName: string
Name of the inventory inspection plan.
-
IpCriteriaId: integer
(int64)
Value that uniquely identifies the inspection criteria record.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection event.
-
isSamplingEnabled: string
Value that indicates whether the application uses sampling.
-
isSkiplotEnabled: string
Value that indicates whether the application uses skip lots.
-
ItemDescription: string
Description of the item.
-
ItemNumber: string
Number that identifies the item.
-
ItemRevision: string
Revision of the item.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Locator: string
Maximum Length:
255
Value that uniquely identifies the locator. -
LocatorId: integer
(int64)
Value that uniquely identifies the subinventory locator of the item to inspect in this event.
-
LotNumber: string
Maximum Length:
80
Lot number inspected in this event. -
NonConformanceCount: number
Total number of non-conformities in an inspection event. This attribute is derived as one hundred times the number of nonconforming units divided by the total number of units of product.
-
NumofLots: integer
Number of lots.
-
NumofLotsInspect: integer
Number of lots to inspect.
-
ObjectVersionNumber: integer
(int32)
Read Only:
true
Object version number. You can use this attribute to lock the object. This resource increments this value every time it updates the row. It compares this number at the start and at the end of the transaction to determine whether another session updated the same row during the inspection. -
OperationSequenceNumber: integer
Sequence number of the work order operation to use during manufacturing inspection.
-
OrganizationCode: string
Abbreviation that identifies the list of values for the organization.
-
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
OriginalDisposition: string
Maximum Length:
20
Original disposition of the items to inspect. -
PreAssignedLotNumber: string
Value that identifies the preassigned lot inspected in the event. This attribute should be used instead of LotNumber when a lot has been preassigned to a work order operation.
-
QuantityAccepted: number
Total quantity accepted in this event.
-
QuantityInspected: number
Total quantity inspected in this event.
-
QuantityRejected: number
Total quantity rejected in this event.
-
QuantityRequested: number
Requested inspection quantity received from the plant or from receiving.
-
RCVInspectionPlanName: string
Name of the receiving inspection plan.
-
ReceiptNumber: string
Maximum Length:
30
Receipt number that this inspection event inspects. -
RejectionNumber: number
Number that indicates the rejection associated with the sampling plan.
-
ResourceCode: string
Abbreviation that identifies the resource.
-
ResourceId: integer
(int64)
Identifies the resource to inspect.
-
ResourceInspectionPlanName: string
Name of the resource inspection plan.
-
RevisionId: integer
(int64)
If revisions control the item, then this value uniquely identifies the inspected item.
-
Sample: array
Samples
Title:
Samples
The Samples resource manages sample items. -
SampleSizeCode: string
Maximum Length:
3
Abbreviation that identifies the sample size associated with the inspection level. -
SamplingQuantity: number
Quantity from the sampling plan to inspect.
-
SamplingRate: number
Rate of the sampling.
-
SerialResultsEntryFlag: boolean
Contains one of the following values: true or false. If true, then serials are created for inspection. If false, then samples are created for inspection. This attribute does not have a default value.
-
ShipmentHeaderId: integer
(int64)
Value that uniquely identifies the shipment header of the item to inspect.
-
ShipmentLineId: integer
(int64)
Value that uniquely identifies the shipment line of the item to inspect.
-
SourceDocumentCode: string
Abbreviation that identifies the source document.
-
SourceLineQuantity: number
Total quantity on the source line. It measures the receiving transaction quantity or the completion quantity of a manufacturing operation.
-
SourceOrganizationCode: string
Maximum Length:
255
Abbreviation that identifies the source organization. This attribute is required when EventType is Receiving and DocumentType is In-transit shipment or Transfer order. -
SourceOrgId: integer
(int64)
If the receiving transaction type is a transfer, then SourceOrgId identifies the source organization.
-
SubinventoryCode: string
Maximum Length:
10
Abbreviation that identifies the subinventory that stores the inspected item. -
SubinventoryId: integer
Value that uniquely identifies the subinventory.
-
Supplier: string
Name of the supplier. This attribute is required when EventType is Receiving and DocumentType is Purchase order.
-
SupplierId: integer
(int64)
Value that uniquely identifies the supplier of the item to inspect.
-
SupplierLotNumber: string
Maximum Length:
80
Number that identifies the shipment lot. -
SupplierSite: string
Name of the supplier site. This attribute is required when EventType is Receiving, DocumentType is Purchase order for the specified supplier.
-
SupplierSiteId: integer
(int64)
Value that uniquely identifies the supplier site.
-
TotalSampleQuantity: number
Total amount of material required for testing in the inspection quantity unit of measure.
-
TransactionType: string
Maximum Length:
25
Receiving transaction type. -
UOMCode: string
Maximum Length:
3
Unit of measurement for the quantity of items to inspect in this event. -
VendorId: integer
Value that uniquely identifies the vendor.
-
VendorSiteId: integer
Value that uniquely identifies the vendor site.
-
WIPInspectionPlanName: string
Name of the inspection plan for work in process.
-
WoOperationCode: string
Abbreviation that identifies the work order operation.
-
WoOperationId: integer
(int64)
Value that uniquely identifies the work order operation in a manufacturing inspection.
-
WoOperationName: string
Name of the work order operation associated with the inspection event.
-
WorkAreaId: integer
(int64)
Value that uniquely identifies the work area for a resource inspection.
-
WorkCenterCode: string
Abbreviation that identifies the work center.
-
WorkCenterId: integer
(int64)
Value that uniquely identifies the work center for a resource inspection.
-
WorkOrderId: integer
(int64)
Value that uniquely identifies the work order for a manufacturing inspection.
-
WorkOrderNumber: string
Number that identifies the list of values for the work order.
array
Result Attachments
array
Event Dispositions
array
Links
array
Samples
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
An identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attached document. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:255
User who created the attachment. -
CreatedByUserName: string
Title:
Created By User Name
Read Only:true
Login that the user used when creating the attachment. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date and time when the application created the attachment. -
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path to the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfo
JSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error status. -
ErrorStatusMessage: string
Title:
Error Status Message
Error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Expiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) that locates the attached file. -
FileWebImage: string
(byte)
Title:
File Web Image
Read Only:true
The base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Date and time when the user most recently updated the attachment. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:255
Login of the user who most recently updated the attachment. -
LastUpdatedByUserName: string
Title:
Last Updated By User
Read Only:true
Login that the user used when updating the attachment. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) that locates the attachment. -
UserName: string
Title:
User Name
Read Only:true
Maximum Length:255
Login that the user used when adding or modifying the attachment.
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
Disposition: string
Maximum Length:
30
Disposition of the samples in the inspection event. Valid values include ACCEPT, REJECT, COMPLETE, or PENDING. -
InspectionPlanId: integer
(int64)
Value that uniquely identifies the inspection plan that this event uses for the inspection.
-
IpEventDispositionId: integer
(int64)
Value that uniquely identifies the primary key of the event disposition.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection event to use when recording the sample disposition.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
Object version number. You can use this attribute to lock the object. This resource increments this value every time it updates the row. It compares this number at the start and at the end of the transaction to determine whether another session updated the same row during the inspection. -
Quantity: number
Quantity of samples inspected.
-
RcvTransactionId: integer
(int64)
Value that uniquely identifies the transaction when the source is RCV.
-
WoOperationTransactionId: integer
(int64)
Value that uniquely identifies the transaction when the source is MFG.
array
Links
object
-
INVSerialNumber: string
List of values for the inventory serial number that is work in process.
-
IpEventId: integer
(int64)
Value that uniquely identifies the event that inspects this sample.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
Object version number. You can use this attribute to lock the object. This resource increments this value every time it updates the row. It compares this number at the start and at the end of the transaction to determine whether another session updated the same row during the inspection. -
OriginalDisposition: string
Maximum Length:
20
Original disposition for the sample to inspect. -
Quantity: number
Sample quantity.
-
SampleDisposition: array
Sample Dispositions
Title:
Sample Dispositions
The Sample Dispositions resource manages sample item dispositions. -
SampleId: integer
(int64)
Value that uniquely identifies the sample to inspect.
-
SampleNumber: string
Maximum Length:
80
If the inspection inspects a nonserial item, then SampleNumber contains the sample number. -
SerialNumber: string
Maximum Length:
80
If the inspection inspects a nonserial item, then SerialNumber contains the serial number. -
UOMCode: string
Maximum Length:
3
Abbreviation that identifies the unit of measure to use for the sample to inspect. -
WIPSerialNumber: string
List of values for the serial number that is work in process.
-
WoOperationTransactionId: integer
(int64)
Value that uniquely identifies the transaction for the work order operation.
array
Links
array
Sample Dispositions
object
-
Disposition: string
Maximum Length:
30
Result of the inspection disposition. Values include ACCEPT or REJECT. -
IpEventDispositionId: integer
(int64)
Value that uniquely identifies the inspection event disposition where this sample event occurred.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection plan event.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
Object version number. You can use this attribute to lock the object. This resource increments this value every time it updates the row. It compares this number at the start and at the end of the transaction to determine whether another session updated the same row during the inspection. -
Quantity: number
Sample quantity. If the inspection inspects a serial, then Quantity is 1.
-
SampleEventDispositionId: integer
(int64)
Value that uniquely identifies the event sample disposition.
-
SampleId: integer
(int64)
Value that uniquely identifies the sample that you are recording for the disposition.
-
SampleResult: array
Sample Results
Title:
Sample Results
The Sample Results resource manages the sample results for an item. -
Status: string
Maximum Length:
20
Sample status. Valid values include PENDING or COMPLETE.
array
Links
array
Sample Results
object
-
Attachments: array
Result Attachments
Title:
Result Attachments
The Result Attachments resource manages the attachments for the sample results. -
CharacteristicId: integer
(int64)
Value that uniquely identifies the characteristic that this event is inspecting in the sample.
-
CharacteristicName: string
Name that identifies the characteristic that this event is inspecting in the sample.
-
Comments: string
Maximum Length:
4000
Comments that the user enters during inspection. -
DataType: string
Maximum Length:
255
Name of the type of data for the characteristic that the application is inspecting. -
Disposition: string
Inspection disposition result. Valid values include ACCEPT or REJECT.
-
Evaluation: string
Maximum Length:
80
Value that indicates whether the disposition evaluates the result. -
InSpecification: string
Describes whether the result remained within specifications.
-
InspectionDate: string
(date-time)
Date and time that this event collected this result.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection event that collected the result.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
Object version number. You can use this attribute to lock the object. This resource increments this value every time it updates the row. It compares this number at the start and at the end of the transaction to determine whether another session updated the same row during the inspection. -
OptionalFlag: boolean
Maximum Length:
1
Contains one of the following values: true or false. If true, then the entry of result value is optional during an inspection. If false, then the entry of result value is mandatory during an inspection. This attribute does not have a default value. -
Quantity: number
Quantity of samples that this event inspected.
-
ResultEvaluation: array
Result Evaluations
Title:
Result Evaluations
The Result Evaluations resource manages the evaluation results. -
ResultValueChar: string
Maximum Length:
80
Inspection result represented as a string. If this resource can represent this result as a string, then it uses ResultValueChar. -
ResultValueCharNonValidated: string
Maximum Length:
80
Value that identifies the results of the character data type that the application does not validate. -
ResultValueDate: string
(date-time)
Date when this event entered the sample inspection result.
-
ResultValueNumber: number
Inspection result represented as a number. If this resource can represent this result as a number, then it uses ResultValueNumber.
-
SampleId: integer
(int64)
Value that uniquely identifies the sample results that this event is entering.
-
SampleResultId: integer
(int64)
Value that uniquely identifies the result of the sample inspection.
-
UOMCode: string
Maximum Length:
3
Unit of measurement for the quantity of samples that this event inspects. -
UserSequence: integer
(int32)
User sequence.
array
Result Attachments
array
Links
array
Result Evaluations
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
An identifier used for tracking the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attached document. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:255
User who created the attachment. -
CreatedByUserName: string
Title:
Created By User Name
Read Only:true
Login that the user used when creating the attachment. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date and time when the application created the attachment. -
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path to the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfo
JSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error status. -
ErrorStatusMessage: string
Title:
Error Status Message
Error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Expiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) that locates the attached file. -
FileWebImage: string
(byte)
Title:
File Web Image
Read Only:true
The base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Date and time when the user most recently updated the attachment. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:255
Login of the user who most recently updated the attachment. -
LastUpdatedByUserName: string
Title:
Last Updated By User
Read Only:true
Login that the user used when updating the attachment. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) that locates the attachment. -
UserName: string
Title:
User Name
Read Only:true
Maximum Length:255
Login that the user used when adding or modifying the attachment.
array
Links
object
-
AdditionalChar: string
Maximum Length:
1
Value that indicates whether the inspection plan includes the characteristic. -
Evaluation: string
Maximum Length:
1
Value that indicates whether the disposition evaluates the result. -
InSpecification: string
Maximum Length:
1
Value that indicates whether the result meets the specifications. -
IpEventDispositionId: integer
(int64)
Value that uniquely identifies the inspection event disposition.
-
IpEventId: integer
(int64)
Value that uniquely identifies the inspection event that entered the results.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ObjectVersionNumber: integer
(int32)
Read Only:
true
Object version number. You can use this attribute to lock the object. This resource increments this value every time it updates the row. It compares this number at the start and at the end of the transaction to determine whether another session updated the same row during the inspection. -
ResultEvaluationId: integer
(int64)
Value that uniquely identifies the result evaluation.
-
SampleResultId: integer
(int64)
Value that uniquely identifies the sample result that this event uses to determine the evaluation.
array
Links
- Attachments
-
Parameters:
- IpEventId:
$request.path.IpEventId
The Result Attachments resource manages the attachments for the sample results. - IpEventId:
- EventDisposition
-
Parameters:
- IpEventId:
$request.path.IpEventId
The Event Dispositions resource manages event dispositions. - IpEventId:
- Sample
-
Parameters:
- IpEventId:
$request.path.IpEventId
The Samples resource manages sample items. - IpEventId:
Examples
This example describes how to create one inspection event.
Example cURL Command
Use the following cURL command to submit a request on the REST resource. This example creates one inspection event of type WIP for inspection plan 300100072194465:
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/inspectionEvents"
Example 1 Request Body
The following example includes the contents of the request body in JSON format to create an inspection event with a plan. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates. When an inspection plan identifier or an inspection plan name is available, do not include the sample section in the request payload. If you want to add the sample information, perform a POST action first without sample information and then perform a PATCH action to update the sample information.
{ "EventType":"WIP", "Inline":"N", "InspectedBy":"QUALITY_ENGINEER", "InspectionDate":"2018-10-21T09:24:56.409-07:00", "OrganizationCode":"M1", "WorkOrderNumber": 1001, "WoOperationCode": "OP10", "OperationSequenceNumber":"10", "QuantityRequested":2, "WIPInspectionPlanName":"QIM-WIP-IP-MultiplePlan101144", "InventoryItemId": "100100035462323" }
Example 1 Response Body
The following example includes the contents of the response body in JSON format:
{ "CategoryId": null, "CategorySetId": null, "CustomerId": null, "DispatchStatus": "Ready", "DispositionDate": null, "DocumentLineNumber": null, "DocumentNumber": null, "DocumentScheduleNumber": null, "DocumentType": null, "Draft": "N", "EventType": "WIP", "Inline": "N", "InspectedBy": "QUALITY_ENGINEER", "InspectionDate": "2018-10-21T16:24:56.409+00:00", "InspectionLevelId": 100, "InspectionPlanId": 300100174313171, "InspectionStatus": "PENDING", "InterfaceTransactionId": null, "InventoryItemId": 100100035462323, "IpCriteriaId": null, "IpEventId": 300100174376960, "LocatorId": null, "LotNumber": null, "ObjectVersionNumber": 4, "OperationSequenceNumber": 10, "OrganizationId": 207, "OriginalDisposition": "PENDING", "QuantityAccepted": 0, "QuantityInspected": 0, "QuantityRejected": 0, "QuantityRequested": 2, "ReceiptNumber": null, "ResourceId": null, "RevisionId": 300100043503144, "SamplingQuantity": 2, "ShipmentHeaderId": null, "ShipmentLineId": null, "SourceLineQuantity": null, "SourceOrgId": null, "SubinventoryCode": null, "SupplierId": null, "SupplierLotNumber": null, "SupplierSiteId": null, "TransactionType": null, "UOMCode": "Ea", "WoOperationId": 1060, "WorkAreaId": null, "WorkCenterId": null, "WorkOrderId": 1040, "OrganizationCode": "M1", "WorkOrderNumber": "1001", "ItemNumber": "DOS-BAT-Simple Make", "WIPInspectionPlanName": "QIM-WIP-IP-MultiplePlan101144", "ItemRevision": "A", "WoOperationCode": "OP10", "SubinventoryId": null, "Locator": null, "INVInspectionPlanName": null, "ResourceInspectionPlanName": null, "WorkCenterCode": null, "ResourceCode": null, "InspectionLevelName": "100%", "isSkiplotEnabled": "N", "SamplingRate": 100, "NumofLotsInspect": 0, "NumofLots": 0, "InspectionPlanType": "WORK_IN_PROCESS", "InspectionPlanVersion": "1", "InspectionPlanVersionDescription": null, "isSamplingEnabled": "N", "FromOrganizationId": null, "ItemDescription": null, "VendorId": null, "VendorSiteId": null, "SourceDocumentCode": null, "EventTypeLOV": null, "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960", "name": "inspectionEvents", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960", "name": "inspectionEvents", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/WorkCenterCodeLOV", "name": "WorkCenterCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/SubInventoryLOV", "name": "SubInventoryLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/InventoryItemLOV", "name": "InventoryItemLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/WorkOrderNumberLOV", "name": "WorkOrderNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/ItemRevisionLOV", "name": "ItemRevisionLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/ResourceCodeLOV", "name": "ResourceCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/ResourceInspPlanNameLOV", "name": "ResourceInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/WoOperationCodeLOV", "name": "WoOperationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/InspectedByLOV", "name": "InspectedByLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/WIPInspPlanNameLOV", "name": "WIPInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/LotNumberLOV", "name": "LotNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/LocatorLOV", "name": "LocatorLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/OrganizationCodeLOV", "name": "OrganizationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/InspectionTypeLOV", "name": "InspectionTypeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/lov/INVInspPlanNameLOV", "name": "INVInspPlanNameLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/child/Sample", "name": "Sample", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100174376960/child/EventDisposition", "name": "EventDisposition", "kind": "collection" }] }
Example 2 Request Body
The following example includes the contents of the request body in JSON format to create an inspection event without a plan. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates. When an inspection plan identifier or an inspection plan name is available, do not include the sample section in the request payload. If you want to add the sample information, perform a POST action first without sample information and then perform a PATCH action to update the sample information.
{ "EventType":"WIP", "Inline":"N", "InspectedBy":"QUALITY_ENGINEER", "InspectionDate":"2018-10-21T09:24:56.409-07:00", "OrganizationCode":"M1", "WorkOrderNumber": 1001, "WoOperationCode": "OP10", "OperationSequenceNumber":"10", "QuantityRequested":2, "DispatchStatus":"Ready", "InventoryItemId": "100100035462323", "Sample":[ { "SampleNumber":"1001-10-1", "SampleDisposition":[ { "SampleResult":[ { "UserSequence":10, "CharacteristicId":300100111990747, "ResultValueNumber" : 1, "InspectionDate":"2018-10-25T09:24:56.409-07:00" } ] } ] }, { "SampleNumber":"1001-10-2", "SampleDisposition":[ { "SampleResult":[ { "UserSequence":10, "CharacteristicId":300100123941131, "ResultValueChar" : "OK", "InspectionDate":"2018-10-25T09:24:56.409-07:00" } ] } ] } ] }
Example 2 Response Body
The following example includes the contents of the response body in JSON format:
{ "CategoryId": null, "CategorySetId": null, "CustomerId": null, "DispatchStatus": "Ready", "DispositionDate": "2018-10-11T10:11:55.086+00:00", "DocumentLineNumber": null, "DocumentNumber": null, "DocumentScheduleNumber": null, "DocumentType": null, "Draft": "N", "EventType": "WIP", "Inline": "N", "InspectedBy": "QUALITY_ENGINEER", "InspectionDate": "2018-10-21T16:24:56.409+00:00", "InspectionLevelId": null, "InspectionPlanId": null, "InspectionStatus": "COMPLETE", "InterfaceTransactionId": null, "InventoryItemId": 100100035462323, "IpCriteriaId": null, "IpEventId": 300100127710992, "LocatorId": null, "LotNumber": null, "ObjectVersionNumber": 4, "OperationSequenceNumber": 10, "OrganizationId": 207, "OriginalDisposition": "COMPLETE", "QuantityAccepted": 0, "QuantityInspected": 2, "QuantityRejected": 0, "QuantityRequested": 2, "ReceiptNumber": null, "ResourceId": null, "RevisionId": 300100043503144, "SamplingQuantity": 2, "ShipmentHeaderId": null, "ShipmentLineId": null, "SourceLineQuantity": null, "SourceOrgId": null, "SubinventoryCode": null, "SupplierId": null, "SupplierLotNumber": null, "SupplierSiteId": null, "TransactionType": null, "UOMCode": "Ea", "WoOperationId": 1060, "WorkAreaId": null, "WorkCenterId": null, "WorkOrderId": 1040, "OrganizationCode": "M1", "WorkOrderNumber": "1001", "ItemNumber": "DOS-BAT-Simple Make", "WIPInspectionPlanName": null, "ItemRevision": "A", "WoOperationCode": "OP10", "SubinventoryId": null, "Locator": null, "INVInspectionPlanName": null, "ResourceInspectionPlanName": null, "WorkCenterCode": null, "ResourceCode": null, "InspectionLevelName": null, "isSkiplotEnabled": null, "SamplingRate": null, "NumofLotsInspect": null, "NumofLots": null, "InspectionPlanType": null, "InspectionPlanVersion": null, "InspectionPlanVersionDescription": null, "isSamplingEnabled": null, "FromOrganizationId": null, "ItemDescription": null, "VendorId": null, "VendorSiteId": null, "SourceDocumentCode": null, "EventTypeLOV": null, "Sample": [{ "IpEventId": 300100127710992, "ObjectVersionNumber": 3, "OriginalDisposition": null, "Quantity": 1, "SampleId": 300100127710994, "SampleNumber": "1001-10-1", "SerialNumber": null, "UOMCode": null, "WoOperationTransactionId": null, "WIPSerialNumber": null, "INVSerialNumber": null, "SampleDisposition": [{ "Disposition": null, "IpEventDispositionId": 300100127710993, "IpEventId": 300100127710992, "ObjectVersionNumber": 2, "Quantity": 1, "SampleEventDispositionId": 300100127710995, "SampleId": 300100127710994, "Status": "COMPLETE", "SampleResult": [{ "CharacteristicId": 300100111990747, "Comments": null, "Disposition": null, "Evaluation": "N", "InSpecification": null, "InspectionDate": "2018-10-25T16:24:56.409+00:00", "IpEventId": 300100127710992, "ObjectVersionNumber": 1, "Quantity": null, "ResultValueChar": null, "ResultValueDate": null, "ResultValueNumber": 1, "SampleId": 300100127710994, "SampleResultId": 300100127710996, "UOMCode": null, "UserSequence": 10, "CharacteristicName": "QIM_BAT_NonItemInspChar", "DataType": "NUMBER", "ResultValueCharNonValidated": null, "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995/child/SampleResult/300100127710996", "name": "SampleResult", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995/child/SampleResult/300100127710996", "name": "SampleResult", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995", "name": "SampleDisposition", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995/child/SampleResult/300100127710996/lov/CharacteristicValueLOV", "name": "CharacteristicValueLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995/child/SampleResult/300100127710996/lov/CharacteristicNameLOV", "name": "CharacteristicNameLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995/child/SampleResult/300100127710996/child/Attachments", "name": "Attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995/child/SampleResult/300100127710996/child/ResultEvaluation", "name": "ResultEvaluation", "kind": "collection" }] }], "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995", "name": "SampleDisposition", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995", "name": "SampleDisposition", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994", "name": "Sample", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition/300100127710995/child/SampleResult", "name": "SampleResult", "kind": "collection" }] }], "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994", "name": "Sample", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994", "name": "Sample", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992", "name": "inspectionEvents", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/lov/INVSerialNumberLOV", "name": "INVSerialNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/lov/WIPSerialNumberLOV", "name": "WIPSerialNumberLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710994/child/SampleDisposition", "name": "SampleDisposition", "kind": "collection" }] }, { "IpEventId": 300100127710992, "ObjectVersionNumber": 3, "OriginalDisposition": null, "Quantity": 1, "SampleId": 300100127710998, "SampleNumber": "1001-10-2", "SerialNumber": null, "UOMCode": null, "WoOperationTransactionId": null, "WIPSerialNumber": null, "INVSerialNumber": null, "SampleDisposition": [{ "Disposition": null, "IpEventDispositionId": 300100127710993, "IpEventId": 300100127710992, "ObjectVersionNumber": 2, "Quantity": 1, "SampleEventDispositionId": 300100127712999, "SampleId": 300100127710998, "Status": "COMPLETE", "SampleResult": [{ "CharacteristicId": 300100123941131, "Comments": null, "Disposition": null, "Evaluation": "N", "InSpecification": null, "InspectionDate": "2018-10-25T16:24:56.409+00:00", "IpEventId": 300100127710992, "ObjectVersionNumber": 1, "Quantity": null, "ResultValueChar": "OK", "ResultValueDate": null, "ResultValueNumber": null, "SampleId": 300100127710998, "SampleResultId": 300100127713000, "UOMCode": null, "UserSequence": 10, "CharacteristicName": "LOG-CH", "DataType": "CHARACTER", "ResultValueCharNonValidated": "OK", "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999/child/SampleResult/300100127713000", "name": "SampleResult", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999/child/SampleResult/300100127713000", "name": "SampleResult", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999", "name": "SampleDisposition", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999/child/SampleResult/300100127713000/lov/CharacteristicValueLOV", "name": "CharacteristicValueLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999/child/SampleResult/300100127713000/lov/CharacteristicNameLOV", "name": "CharacteristicNameLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999/child/SampleResult/300100127713000/child/Attachments", "name": "Attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999/child/SampleResult/300100127713000/child/ResultEvaluation", "name": "ResultEvaluation", "kind": "collection" }] }], "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999", "name": "SampleDisposition", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999", "name": "SampleDisposition", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998", "name": "Sample", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition/300100127712999/child/SampleResult", "name": "SampleResult", "kind": "collection" }] }], "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998", "name": "Sample", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998", "name": "Sample", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992", "name": "inspectionEvents", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/lov/INVSerialNumberLOV", "name": "INVSerialNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/lov/WIPSerialNumberLOV", "name": "WIPSerialNumberLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample/300100127710998/child/SampleDisposition", "name": "SampleDisposition", "kind": "collection" }] }], "links": [{ "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992", "name": "inspectionEvents", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992", "name": "inspectionEvents", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/WorkCenterCodeLOV", "name": "WorkCenterCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/SubInventoryLOV", "name": "SubInventoryLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/InventoryItemLOV", "name": "InventoryItemLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/WorkOrderNumberLOV", "name": "WorkOrderNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/ItemRevisionLOV", "name": "ItemRevisionLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/ResourceCodeLOV", "name": "ResourceCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/ResourceInspPlanNameLOV", "name": "ResourceInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/WoOperationCodeLOV", "name": "WoOperationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/InspectedByLOV", "name": "InspectedByLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/WIPInspPlanNameLOV", "name": "WIPInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/LotNumberLOV", "name": "LotNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/LocatorLOV", "name": "LocatorLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/OrganizationCodeLOV", "name": "OrganizationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/InspectionTypeLOV", "name": "InspectionTypeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/lov/INVInspPlanNameLOV", "name": "INVInspPlanNameLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/Sample", "name": "Sample", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100127710992/child/EventDisposition", "name": "EventDisposition", "kind": "collection" }] }
Example 3 Request Body
{ "EventType":"AST", "Inline":"N", "InspectedBy":"COST_ACCT_ALL_COST_ORGS", "InspectionDate":"2022-08-07", "OrganizationCode":"V1", "QuantityRequested":1, "AssetId" : 300100118585699 }
Example 3 Response Body
{ "CategoryId": null, "CategorySetId": null, "CustomerId": null, "DispatchStatus": null, "DispositionDate": null, "DocumentLineNumber": null, "DocumentNumber": null, "DocumentScheduleNumber": null, "DocumentType": null, "Draft": "N", "EventType": "AST", "Inline": "N", "InspectedBy": "COST_ACCT_ALL_COST_ORGS", "InspectionDate": "2022-08-07T00:00:00+00:00", "InspectionLevelId": null, "InspectionPlanId": null, "InspectionStatus": "PENDING", "InterfaceTransactionId": null, "InventoryItemId": 300100118490680, "IpCriteriaId": null, "IpEventId": 300100580476063, "LocatorId": null, "LotNumber": null, "ObjectVersionNumber": 3, "OperationSequenceNumber": null, "OrganizationId": 204, "OriginalDisposition": "PENDING", "QuantityAccepted": 0, "QuantityInspected": 0, "QuantityRejected": 0, "QuantityRequested": 1, "ReceiptNumber": null, "ResourceId": null, "RevisionId": null, "SamplingQuantity": 1, "ShipmentHeaderId": null, "ShipmentLineId": null, "SourceLineQuantity": null, "SourceOrgId": null, "SubinventoryCode": null, "SupplierId": null, "SupplierLotNumber": null, "SupplierSiteId": null, "TransactionType": null, "UOMCode": null, "WoOperationId": null, "WorkAreaId": null, "WorkCenterId": null, "WorkOrderId": null, "OrganizationCode": "V1", "WorkOrderNumber": null, "ItemNumber": null, "WIPInspectionPlanName": null, "ItemRevision": null, "WoOperationCode": null, "SubinventoryId": null, "Locator": null, "INVInspectionPlanName": null, "ResourceInspectionPlanName": null, "WorkCenterCode": null, "ResourceCode": null, "InspectionLevelName": null, "isSkiplotEnabled": null, "SamplingRate": null, "NumofLotsInspect": null, "NumofLots": null, "InspectionPlanType": null, "InspectionPlanVersion": null, "InspectionPlanVersionDescription": null, "isSamplingEnabled": "Y", "FromOrganizationId": null, "ItemDescription": null, "VendorId": null, "VendorSiteId": null, "SourceDocumentCode": null, "EventTypeLOV": null, "InspectAllSamplesFlag": null, "SerialResultsEntryFlag": null, "SourceOrganizationCode": null, "Supplier": null, "SupplierSite": null, "InspectionName": "", "RCVInspectionPlanName": null, "WoOperationName": null, "AcceptanceNumber": null, "NonConformanceCount": null, "RejectionNumber": null, "SampleSizeCode": null, "TotalSampleQuantity": null, "PreAssignedLotNumber": null, "AssetId": 300100118585699, "AssetNumber": "zOKC_Auto_Asset", "AssetInspectionPlanName": null, "AssetWorkOrderId": null, "AssetWorkOrderNumber": null, "AssetSerialNumber": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063", "name": "inspectionEvents", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063", "name": "inspectionEvents", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/WorkOrderNumberLOV", "name": "WorkOrderNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/OrganizationCodeLOV", "name": "OrganizationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/ResourceInspPlanNameLOV", "name": "ResourceInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/INVInspPlanNameLOV", "name": "INVInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/WorkOrderProductLotLOV", "name": "WorkOrderProductLotLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/ItemRevisionLOV", "name": "ItemRevisionLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/InspectionTypeLOV", "name": "InspectionTypeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/LotNumberLOV", "name": "LotNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/LocatorLOV", "name": "LocatorLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/WorkCenterCodeLOV", "name": "WorkCenterCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/WIPInspPlanNameLOV", "name": "WIPInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/ResourceCodeLOV", "name": "ResourceCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/WoOperationCodeLOV", "name": "WoOperationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/AssetLOV", "name": "AssetLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/InventoryItemLOV", "name": "InventoryItemLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/InspectedByLOV", "name": "InspectedByLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/AssetInspPlanNameLOV", "name": "AssetInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/WorkOrderAssetInfoVVA", "name": "WorkOrderAssetInfoVVA", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/lov/SubInventoryLOV", "name": "SubInventoryLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/child/Attachments", "name": "Attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/child/EventDisposition", "name": "EventDisposition", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580476063/child/Sample", "name": "Sample", "kind": "collection" } ] }
Example 4 Request Body
{ "EventType":"AST", "Inline":"N", "InspectedBy":"QUALITY_ENGINEER", "InspectionDate":"2023-01-30", "OrganizationCode":"MNT1", "QuantityRequested":1, "AssetNumber" : "MFG_EQP_ASSET102", "AssetInspectionPlanName" : "MFG_EQP_ASSET102 Plan" }
Example 4 Response Body
{ "CategoryId": null, "CategorySetId": null, "CustomerId": null, "DispatchStatus": null, "DispositionDate": "2023-01-30T08:38:00.903+00:00", "DocumentLineNumber": null, "DocumentNumber": null, "DocumentScheduleNumber": null, "DocumentType": null, "Draft": "N", "EventType": "AST", "Inline": "N", "InspectedBy": "QUALITY_ENGINEER", "InspectionDate": "2023-01-30T00:00:00+00:00", "InspectionLevelId": 100, "InspectionPlanId": 300100580558561, "InspectionStatus": "COMPLETE", "InterfaceTransactionId": null, "InventoryItemId": 300100573456790, "IpCriteriaId": null, "IpEventId": 300100580555842, "LocatorId": null, "LotNumber": null, "ObjectVersionNumber": 4, "OperationSequenceNumber": null, "OrganizationId": 300100072174259, "OriginalDisposition": "COMPLETE", "QuantityAccepted": 1, "QuantityInspected": 1, "QuantityRejected": 0, "QuantityRequested": 1, "ReceiptNumber": null, "ResourceId": null, "RevisionId": null, "SamplingQuantity": 1, "ShipmentHeaderId": null, "ShipmentLineId": null, "SourceLineQuantity": null, "SourceOrgId": null, "SubinventoryCode": null, "SupplierId": null, "SupplierLotNumber": null, "SupplierSiteId": null, "TransactionType": null, "UOMCode": null, "WoOperationId": null, "WorkAreaId": null, "WorkCenterId": null, "WorkOrderId": null, "OrganizationCode": "MNT1", "WorkOrderNumber": null, "ItemNumber": null, "WIPInspectionPlanName": null, "ItemRevision": null, "WoOperationCode": null, "SubinventoryId": null, "Locator": null, "INVInspectionPlanName": null, "ResourceInspectionPlanName": null, "WorkCenterCode": null, "ResourceCode": null, "InspectionLevelName": "100%", "isSkiplotEnabled": "N", "SamplingRate": 100, "NumofLotsInspect": 0, "NumofLots": 0, "InspectionPlanType": "ASSET", "InspectionPlanVersion": "1", "InspectionPlanVersionDescription": "1st Version", "isSamplingEnabled": "N", "FromOrganizationId": null, "ItemDescription": null, "VendorId": null, "VendorSiteId": null, "SourceDocumentCode": null, "EventTypeLOV": null, "InspectAllSamplesFlag": null, "SerialResultsEntryFlag": null, "SourceOrganizationCode": null, "Supplier": null, "SupplierSite": null, "InspectionName": "", "RCVInspectionPlanName": null, "WoOperationName": null, "AcceptanceNumber": null, "NonConformanceCount": null, "RejectionNumber": null, "SampleSizeCode": null, "TotalSampleQuantity": null, "PreAssignedLotNumber": null, "AssetId": 300100573454069, "AssetNumber": "MFG_EQP_ASSET102", "AssetInspectionPlanName": "MFG_EQP_ASSET102 Plan", "AssetWorkOrderId": null, "AssetWorkOrderNumber": null, "AssetSerialNumber": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842", "name": "inspectionEvents", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842", "name": "inspectionEvents", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/WorkOrderNumberLOV", "name": "WorkOrderNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/OrganizationCodeLOV", "name": "OrganizationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/ResourceInspPlanNameLOV", "name": "ResourceInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/INVInspPlanNameLOV", "name": "INVInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/WorkOrderProductLotLOV", "name": "WorkOrderProductLotLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/ItemRevisionLOV", "name": "ItemRevisionLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/InspectionTypeLOV", "name": "InspectionTypeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/LotNumberLOV", "name": "LotNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/LocatorLOV", "name": "LocatorLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/WorkCenterCodeLOV", "name": "WorkCenterCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/WIPInspPlanNameLOV", "name": "WIPInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/ResourceCodeLOV", "name": "ResourceCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/WoOperationCodeLOV", "name": "WoOperationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/AssetLOV", "name": "AssetLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/InventoryItemLOV", "name": "InventoryItemLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/InspectedByLOV", "name": "InspectedByLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/AssetInspPlanNameLOV", "name": "AssetInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/WorkOrderAssetInfoVVA", "name": "WorkOrderAssetInfoVVA", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/lov/SubInventoryLOV", "name": "SubInventoryLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/child/Attachments", "name": "Attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/child/EventDisposition", "name": "EventDisposition", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580555842/child/Sample", "name": "Sample", "kind": "collection" } ] }
Example 5 Request Body
{ "EventType":"AST", "Inline":"N", "InspectedBy":"QUALITY_ENGINEER", "InspectionDate":"2023-01-30", "OrganizationCode":"MNT1", "QuantityRequested":1, "AssetWorkOrderNumber" : "MNT_QLFWO112814243", "OperationSequenceNumber" : 104, "AssetInspectionPlanName" : "SEL_INSPLAN_128135637" }
Example 5 Response Body
{ "CategoryId": null, "CategorySetId": null, "CustomerId": null, "DispatchStatus": "Complete", "DispositionDate": null, "DocumentLineNumber": null, "DocumentNumber": null, "DocumentScheduleNumber": null, "DocumentType": null, "Draft": "N", "EventType": "AST", "Inline": "N", "InspectedBy": "QUALITY_ENGINEER", "InspectionDate": "2023-01-30T00:00:00+00:00", "InspectionLevelId": 100, "InspectionPlanId": 300100579949532, "InspectionStatus": "PENDING", "InterfaceTransactionId": null, "InventoryItemId": 300100078987063, "IpCriteriaId": null, "IpEventId": 300100580560981, "LocatorId": null, "LotNumber": null, "ObjectVersionNumber": 4, "OperationSequenceNumber": 104, "OrganizationId": 300100072174259, "OriginalDisposition": "PENDING", "QuantityAccepted": 0, "QuantityInspected": 0, "QuantityRejected": 0, "QuantityRequested": 1, "ReceiptNumber": null, "ResourceId": null, "RevisionId": null, "SamplingQuantity": 1, "ShipmentHeaderId": null, "ShipmentLineId": null, "SourceLineQuantity": null, "SourceOrgId": null, "SubinventoryCode": null, "SupplierId": null, "SupplierLotNumber": null, "SupplierSiteId": null, "TransactionType": null, "UOMCode": null, "WoOperationId": 300100579950726, "WorkAreaId": null, "WorkCenterId": null, "WorkOrderId": 300100579950724, "OrganizationCode": "MNT1", "WorkOrderNumber": null, "ItemNumber": null, "WIPInspectionPlanName": null, "ItemRevision": null, "WoOperationCode": "SEL_MNT1_OP1_128135624", "SubinventoryId": null, "Locator": null, "INVInspectionPlanName": null, "ResourceInspectionPlanName": null, "WorkCenterCode": null, "ResourceCode": null, "InspectionLevelName": "100%", "isSkiplotEnabled": "N", "SamplingRate": 100, "NumofLotsInspect": 0, "NumofLots": 0, "InspectionPlanType": "ASSET", "InspectionPlanVersion": "1", "InspectionPlanVersionDescription": "1st Version", "isSamplingEnabled": "N", "FromOrganizationId": null, "ItemDescription": null, "VendorId": null, "VendorSiteId": null, "SourceDocumentCode": null, "EventTypeLOV": null, "InspectAllSamplesFlag": null, "SerialResultsEntryFlag": null, "SourceOrganizationCode": null, "Supplier": null, "SupplierSite": null, "InspectionName": "", "RCVInspectionPlanName": null, "WoOperationName": null, "AcceptanceNumber": null, "NonConformanceCount": null, "RejectionNumber": null, "SampleSizeCode": null, "TotalSampleQuantity": null, "PreAssignedLotNumber": null, "AssetId": 300100579949508, "AssetNumber": "SEL_MNT1_Asset1_12813564", "AssetInspectionPlanName": "SEL_INSPLAN_128135637", "AssetWorkOrderId": 300100579950724, "AssetWorkOrderNumber": "MNT_QLFWO112814243", "AssetSerialNumber": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981", "name": "inspectionEvents", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000478" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981", "name": "inspectionEvents", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/WorkOrderNumberLOV", "name": "WorkOrderNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/OrganizationCodeLOV", "name": "OrganizationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/ResourceInspPlanNameLOV", "name": "ResourceInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/INVInspPlanNameLOV", "name": "INVInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/WorkOrderProductLotLOV", "name": "WorkOrderProductLotLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/ItemRevisionLOV", "name": "ItemRevisionLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/InspectionTypeLOV", "name": "InspectionTypeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/LotNumberLOV", "name": "LotNumberLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/LocatorLOV", "name": "LocatorLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/WorkCenterCodeLOV", "name": "WorkCenterCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/WIPInspPlanNameLOV", "name": "WIPInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/ResourceCodeLOV", "name": "ResourceCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/WoOperationCodeLOV", "name": "WoOperationCodeLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/AssetLOV", "name": "AssetLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/InventoryItemLOV", "name": "InventoryItemLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/InspectedByLOV", "name": "InspectedByLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/AssetInspPlanNameLOV", "name": "AssetInspPlanNameLOV", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/WorkOrderAssetInfoVVA", "name": "WorkOrderAssetInfoVVA", "kind": "collection" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/lov/SubInventoryLOV", "name": "SubInventoryLOV", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/child/Attachments", "name": "Attachments", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/child/EventDisposition", "name": "EventDisposition", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/inspectionEvents/300100580560981/child/Sample", "name": "Sample", "kind": "collection" } ] }