Create one specification
/fscmRestApi/resources/11.13.18.05/inspectionPlans/{InspectionPlanId}/child/specifications
Request
-
InspectionPlanId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
Metadata-Context: string
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: string
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: string
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-
AiSuggestion: string
Maximum Length:
1Indicates that the characteristic has been created from a generative AI suggestion. -
attachments: array
Attachments in Inspection Plan Specifications
Title:
Attachments in Inspection Plan SpecificationsThe Attachments in Inspection Plans resource displays attachment details of an inspection plan. -
CharacteristicId(required): integer
(int64)
Title:
Characteristic IDValue that uniquely identifies the inspection characteristic against which the specification is being defined. -
CharacteristicName: string
Name of the inspection characteristic.
-
DefaultValueFlag: boolean
Maximum Length:
1Contains one of the following values: Yes or No. If Yes, then the result value should be defaulted from the target value associated to the specification line during an inspection. If No, then the result value isn't defaulted from the target value associated to the specification line during an inspection. This attribute doesn't have a default value. -
GaugeAssetGroup: string
Maximum Length:
255Alphanumeric value that identifies the gauge asset group used to collect the inspection result value. -
GaugeAssetGroupId: integer
(int64)
Value that uniquely identifies the gauge asset group used to collect the inspection result value.
-
GaugeResource: string
Maximum Length:
255Alphanumeric value that identifies the gauge resource used to collect the inspection result value. -
GaugeResourceId: integer
(int64)
Value that uniquely identifies the gauge resource used to collect the inspection result value.
-
InspectionPlanId(required): integer
(int64)
Value that uniquely identifies the inspection plan.
-
ItemTargetValue: string
Title:
Item Based Target ValueMaximum Length:80Optimal value for an item. -
MaximumValueDate: string
(date-time)
Upper limit of the acceptable date range for an inspection characteristic.
-
MaximumValueNumber: number
Upper limit of the acceptable numeric range for an inspection characteristic.
-
MinimumValueDate: string
(date-time)
Lower limit of the acceptable date range for an inspection characteristic.
-
MinimumValueNumber: number
Lower limit of the acceptable numeric range for an inspection characteristic.
-
NonItemTargetValue: string
Maximum Length:
255Target value of the inspection characteristic. -
OptionalFlag: boolean
Maximum Length:
1Contains one of the following values: Yes or No. If Yes, then the entry of result value is optional during an inspection. If No, then the entry of result value mandatory during an inspection. This attribute doesn't have a default value. -
SpecificationCharacteristicName: string
Maximum Length:
255Name of the inspection characteristic. -
SpecificationId: integer
(int64)
Value that uniquely identifies the specification for the inspection plan.
-
TargetValue: string
Title:
Target Value CharacterMaximum Length:80Target value of the inspection characteristic. -
TargetValueDate: string
(date-time)
Optimal date value for the inspection characteristic.
-
TargetValueNumber: number
Optimal numeric value for the inspection characteristic.
-
UOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measurement for the quantity that this event inspects. -
UserSequence(required): integer
(int32)
Sequence to use when associating the inspection characteristic with the inspection plan.
arrayAttachments in Inspection Plan Specificationsobject-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdValue that uniquely identifies the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attachment. -
CategoryName: string
Title:
CategoryMaximum Length:30Name of the category for the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type of the file. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents of the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048Name of the file. -
FileUrl: string
Title:
File UrlURL of the attached file. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000Uniform Resource Identifier (URI) of the attachment. -
Url: string
Title:
UrlMaximum Length:4000URL of the attachment.
Response
- application/json
Default Response
-
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.
object-
AiSuggestion: string
Maximum Length:
1Indicates that the characteristic has been created from a generative AI suggestion. -
attachments: array
Attachments in Inspection Plan Specifications
Title:
Attachments in Inspection Plan SpecificationsThe Attachments in Inspection Plans resource displays attachment details of an inspection plan. -
CharacteristicId: integer
(int64)
Title:
Characteristic IDValue that uniquely identifies the inspection characteristic against which the specification is being defined. -
CharacteristicName: string
Name of the inspection characteristic.
-
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the inspection specification. -
CreationDate: string
(date-time)
Read Only:
trueDate when the user created the inspection specification. -
DefaultValueFlag: boolean
Maximum Length:
1Contains one of the following values: Yes or No. If Yes, then the result value should be defaulted from the target value associated to the specification line during an inspection. If No, then the result value isn't defaulted from the target value associated to the specification line during an inspection. This attribute doesn't have a default value. -
GaugeAssetGroup: string
Maximum Length:
255Alphanumeric value that identifies the gauge asset group used to collect the inspection result value. -
GaugeAssetGroupId: integer
(int64)
Value that uniquely identifies the gauge asset group used to collect the inspection result value.
-
GaugeResource: string
Maximum Length:
255Alphanumeric value that identifies the gauge resource used to collect the inspection result value. -
GaugeResourceId: integer
(int64)
Value that uniquely identifies the gauge resource used to collect the inspection result value.
-
InspectionPlanId: integer
(int64)
Value that uniquely identifies the inspection plan.
-
ItemTargetValue: string
Title:
Item Based Target ValueMaximum Length:80Optimal value for an item. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the inspection specification. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the inspection specification. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MaximumValueDate: string
(date-time)
Upper limit of the acceptable date range for an inspection characteristic.
-
MaximumValueNumber: number
Upper limit of the acceptable numeric range for an inspection characteristic.
-
MinimumValueDate: string
(date-time)
Lower limit of the acceptable date range for an inspection characteristic.
-
MinimumValueNumber: number
Lower limit of the acceptable numeric range for an inspection characteristic.
-
NonItemTargetValue: string
Maximum Length:
255Target value of the inspection characteristic. -
OptionalFlag: boolean
Maximum Length:
1Contains one of the following values: Yes or No. If Yes, then the entry of result value is optional during an inspection. If No, then the entry of result value mandatory during an inspection. This attribute doesn't have a default value. -
SpecificationCharacteristicName: string
Maximum Length:
255Name of the inspection characteristic. -
SpecificationId: integer
(int64)
Value that uniquely identifies the specification for the inspection plan.
-
TargetValue: string
Title:
Target Value CharacterMaximum Length:80Target value of the inspection characteristic. -
TargetValueDate: string
(date-time)
Optimal date value for the inspection characteristic.
-
TargetValueNumber: number
Optimal numeric value for the inspection characteristic.
-
UOMCode: string
Maximum Length:
3Abbreviation that identifies the unit of measurement for the quantity that this event inspects. -
UOMMeaning: string
Read Only:
trueMaximum Length:80Value that identifies the unit of measurement for the quantity that this event inspects. -
UserSequence: integer
(int32)
Sequence to use when associating the inspection characteristic with the inspection plan.
arrayAttachments in Inspection Plan SpecificationsarrayLinksobject-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdValue that uniquely identifies the uploaded files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdValue that uniquely identifies the attachment. -
CategoryName: string
Title:
CategoryMaximum Length:30Name of the category for the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255User who created the attachment. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueLogin that the user used when creating the attachment. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate when the user created the attachment record. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEAbbreviation that identifies the data type of the file. -
Description: string
Title:
DescriptionMaximum Length:255Description of the attachment. -
DmDocumentId: string
Maximum Length:
255Value that uniquely identifies the attached document. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255Number that identifies the version of the attached document. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeAbbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageText of the error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateDate when the contents of the attachment expires. -
FileContents: string
(byte)
Title:
File ContentsContents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048Name of the file. -
FileUrl: string
Title:
File UrlURL of the attached file. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueThe Base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate and time when the user most recently updated the attachment. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255User who most recently updated the attachment. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueLogin that the user used when updating the attachment. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleTitle of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeContent type of the attachment. -
UploadedFileLength: integer
Title:
File SizeLength of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameName of the attachment file. -
UploadedText: string
Title:
Uploaded TextText of the attachment. -
Uri: string
Title:
UriMaximum Length:4000Uniform Resource Identifier (URI) of the attachment. -
Url: string
Title:
UrlMaximum Length:4000URL of the attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255Login that the user used when adding or modifying the attachment.
arrayLinksobject-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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.
- GaugeAssetGroupVA
-
The following properties are defined on the LOV link relation:
- Source Attribute: GaugeAssetGroup; Target Attribute: GroupName
- Display Attribute: GroupName
- GaugeResourceVA
-
The following properties are defined on the LOV link relation:
- Source Attribute: GaugeResource; Target Attribute: ResourceName
- Display Attribute: ResourceName
- attachments
-
Parameters:
- InspectionPlanId:
$request.path.InspectionPlanId - SpecificationId:
$request.path.SpecificationId
The attachments in specifications child resource displays attachment details of an inspection plan specification. - InspectionPlanId:
Examples
This example describes how to create one specification.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/inspectionPlans/InspectionPlanId/child/specifications"
Example 1 Request Body
The following example includes the contents of the request body in JSON format. 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.
{
"UserSequence" : 20,
"CharacteristicName": "QIM_BAT_NonValItemInspChar"
}
Example 1 Response Body
The following example includes the contents of the response body in JSON format:
{
"SpecificationId": 300100152744380,
"ObjectVersionNumber": 1,
"InspectionPlanId": 300100152744368,
"UserSequence": 20,
"CharacteristicId": 300100122347610,
"UOMCode": null,
"TargetValue": null,
"CreatedBy": "QUALITY_ENGINEER",
"CreationDate": "2018-07-02T07:56:44+00:00",
"LastUpdatedBy": "QUALITY_ENGINEER",
"LastUpdateDate": "2018-07-02T07:56:44.027+00:00",
"LastUpdateLogin": "6FFF203DFC3A7766E05368BFF20A59EB",
"MaximumValueDate": null,
"MinimumValueDate": null,
"TargetValueDate": null,
"CharacteristicName": "QIM_BAT_NonValItemInspChar",
"MaximumValueNumber": null,
"MinimumValueNumber": null,
"TargetValueNumber": null,
"ItemTargetValue": null,
"links": [{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368/child/specifications/300100152744380",
"name": "specifications",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
}, {
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368/child/specifications/300100152744380",
"name": "specifications",
"kind": "item"
}, {
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368",
"name": "inspectionPlans",
"kind": "item"
}, {
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368/child/specifications/300100152744380/lov/CharacteristicValueLOV",
"name": "CharacteristicValueLOV",
"kind": "collection"
}, {
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368/child/specifications/300100152744380/lov/CharacteristicNameLOV",
"name": "CharacteristicNameLOV",
"kind": "collection"
}, {
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368/child/specifications/300100152744380/lov/UnitOfMeasureLOV",
"name": "UnitOfMeasureLOV",
"kind": "collection"
}, {
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100152744368/child/specifications/300100152744380/child/specificationAttachments",
"name": "specificationAttachments",
"kind": "collection"
}]
}
Example 2 Request Body
In this example, the gauge profile option is disabled.
The following example includes the contents of the request body in JSON format. 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.
{
"UserSequence" : 10,
"CharacteristicName" : "QIM-NonItemNum-5",
"OptionalFlag" : "N",
"DefaultValueFlag" : "N"
}
Example 2 Response Body
The following example includes the contents of the response body in JSON format:
{
"SpecificationId": 300100634403065,
"InspectionPlanId": 300100634391675,
"UserSequence": 10,
"CharacteristicId": 300100151162609,
"UOMCode": "BX5",
"TargetValue": null,
"CreatedBy": "SCMOPERATIONS",
"CreationDate": "2025-04-29T05:52:53+00:00",
"LastUpdatedBy": "SCMOPERATIONS",
"LastUpdateDate": "2025-04-29T05:52:53.152+00:00",
"MaximumValueDate": null,
"MinimumValueDate": null,
"TargetValueDate": null,
"CharacteristicName": "QIM-NonItemNum-5",
"MaximumValueNumber": 18.455,
"MinimumValueNumber": 2.660,
"TargetValueNumber": 9.134,
"ItemTargetValue": null,
"OptionalFlag": false,
"DefaultValueFlag": false,
"AiSuggestion": "N",
"UOMMeaning": null,
"SpecificationCharacteristicName": null,
"NonItemTargetValue": null,
"GaugeAssetGroupId": null,
"GaugeResourceId": null,
"GaugeAssetGroup": null,
"GaugeResource": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065",
"name": "specifications",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065",
"name": "specifications",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675",
"name": "inspectionPlans",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065/lov/UnitOfMeasureLOV",
"name": "UnitOfMeasureLOV",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065/lov/CharacteristicValueLOV",
"name": "CharacteristicValueLOV",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065/lov/GaugeResourceVA",
"name": "GaugeResourceVA",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065/lov/CharacteristicNameLOV",
"name": "CharacteristicNameLOV",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065/lov/GaugeAssetGroupVA",
"name": "GaugeAssetGroupVA",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100634391675/child/specifications/300100634403065/child/attachments",
"name": "attachments",
"kind": "collection"
}
]
}
Example 3 Request Body
In this example, the gauge profile option is set to gauge asset type.
The following example includes the contents of the request body in JSON format. 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.
{
"UserSequence" : 30,
"CharacteristicName" : "QIM-Correct Part",
"GaugeAssetGroup" : "Digital Pressure Gauges",
"OptionalFlag" : "N",
"DefaultValueFlag" : "N"
}
Example 3 Response Body
The following example includes the contents of the response body in JSON format:
{
"SpecificationId": "300100624355670",
"InspectionPlanId": "300100624356697",
"UserSequence": 30,
"CharacteristicId": "300100151162620",
"UOMCode": null,
"TargetValue": "Yes",
"CreatedBy": "SCMOPERATIONS",
"CreationDate": "2024-12-05T10:10:48+00:00",
"LastUpdatedBy": "SCMOPERATIONS",
"LastUpdateDate": "2024-12-05T10:10:48.496+00:00",
"MaximumValueDate": null,
"MinimumValueDate": null,
"TargetValueDate": null,
"CharacteristicName": "QIM-Correct Part",
"MaximumValueNumber": null,
"MinimumValueNumber": null,
"TargetValueNumber": null,
"ItemTargetValue": null,
"OptionalFlag": false,
"DefaultValueFlag": false,
"AiSuggestion": "N",
"UOMMeaning": null,
"SpecificationCharacteristicName": null,
"NonItemTargetValue": null,
"GaugeAssetGroupId": "300100621126623",
"GaugeResourceId": null,
"GaugeAssetGroup": "Digital Pressure Gauges",
"GaugeResource": null,
"@context": {
"key": "300100624355670",
"headers": {
"ETag": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
},
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624356697/child/specifications/300100624355670",
"name": "specifications",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624356697/child/specifications/300100624355670",
"name": "specifications",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624356697",
"name": "inspectionPlans",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624356697/child/specifications/300100624355670/child/attachments",
"name": "attachments",
"kind": "collection"
}
]
}
}
Example 4 Request Body
In this example, the gauge profile option is set to gauge resource type.
The following example includes the contents of the request body in JSON format. 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.
{
"UserSequence" : 10,
"CharacteristicName" : "QIM-NonItemNum-5",
"GaugeResource" : "Welding Torch",
"OptionalFlag" : "N",
"DefaultValueFlag" : "N"
}
Example 4 Response Body
The following example includes the contents of the response body in JSON format:
{
"SpecificationId": "300100624434667",
"InspectionPlanId": "300100624430813",
"UserSequence": 10,
"CharacteristicId": "300100151162609",
"UOMCode": "BX5",
"TargetValue": null,
"CreatedBy": "SCMOPERATIONS",
"CreationDate": "2024-12-05T13:36:41+00:00",
"LastUpdatedBy": "SCMOPERATIONS",
"LastUpdateDate": "2024-12-05T13:36:42.637+00:00",
"MaximumValueDate": null,
"MinimumValueDate": null,
"TargetValueDate": null,
"CharacteristicName": "QIM-NonItemNum-5",
"MaximumValueNumber": "18.455",
"MinimumValueNumber": "2.660",
"TargetValueNumber": "9.134",
"ItemTargetValue": null,
"OptionalFlag": false,
"DefaultValueFlag": false,
"AiSuggestion": "N",
"UOMMeaning": null,
"SpecificationCharacteristicName": null,
"NonItemTargetValue": null,
"GaugeAssetGroupId": null,
"GaugeResourceId": "300100081228472",
"GaugeAssetGroup": null,
"GaugeResource": "Welding Torch",
"@context": {
"key": "300100624434667",
"headers": {
"ETag": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
},
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624430813/child/specifications/300100624434667",
"name": "specifications",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624430813/child/specifications/300100624434667",
"name": "specifications",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624430813",
"name": "inspectionPlans",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/inspectionPlans/300100624430813/child/specifications/300100624434667/child/attachments",
"name": "attachments",
"kind": "collection"
}
]
}
}