Create multiple tolerance rule
post
/fscmRestApi/resources/11.13.18.05/inboundFiscalDocumentToleranceRules
Request
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
Description: string
Title:
Description
Maximum Length:240
Stores the tolerance rule description for a specific row. -
InactiveFlag: boolean
Title:
Inactive
Maximum Length:1
Default Value:false
Flag identifying if the tolerance rule is inactive or not. -
InventoryItemId: integer
(int64)
Title:
Inventory Item ID
Indicates the item to which tolerance rule is applicable. -
InventoryOrganizationId: integer
(int64)
Title:
Inventory Organization ID
Indicates the inventory organization id to which tolerance rule is applicable. -
Name: string
Title:
Name
Maximum Length:80
Stores the tolerance rule name for a specific row -
PartyId: integer
(int64)
Title:
Party ID
Indicates the party id to which tolerance rule is applicable. -
ReceivedQuantityToleranceHigherLimit: number
Title:
Received Quantity Tolerance Higher Limit
Indicates the higher tolerance limit for the received quantity tolerance type . -
ReceivedQuantityToleranceHigherLimitAction: string
Title:
Received Quantity Tolerance Higher Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Higher limit action for received quantity tolerance. -
ReceivedQuantityToleranceLowerLimit: number
Title:
Received Quantity Tolerance Lower Limit
Indicates the lower tolerance limit for the received quantity tolerance type . -
ReceivedQuantityToleranceLowerLimitAction: string
Title:
Received Quantity Tolerance Lower Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Lower limit action for received quantity tolerance. -
SourceDocumentPriceToleranceHigherLimit: number
Title:
Source Document Price Tolerance Higher Limit
Indicates the higher tolerance limit for the source document price tolerance type. -
SourceDocumentPriceToleranceHigherLimitAction: string
Title:
Source Document Price Tolerance Higher Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Higher limit action for source document price tolerance. -
SourceDocumentPriceToleranceLowerLimit: number
Title:
Source Document Price Tolerance Lower Limit
Indicates the lower tolerance limit for the source document price tolerance type. -
SourceDocumentPriceToleranceLowerLimitAction: string
Title:
Source Document Price Tolerance Lower Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Lower limit action for source document price tolerance. -
SourceDocumentQuantityToleranceHigherLimit: number
Title:
Source Document Quantity Tolerance Higher Limit Action
Indicates the higher tolerance limit for the source document quantity tolerance type. -
SourceDocumentQuantityToleranceHigherLimitAction: string
Title:
Source Document Quantity Tolerance Higher Limit
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Higher limit action for source document quantity tolerance. -
SourceDocumentQuantityToleranceLowerLimit: number
Title:
Source Document Quantity Tolerance Lower Limit
Indicates the lower tolerance limit for the source document quantity tolerance type. -
SourceDocumentQuantityToleranceLowerLimitAction: string
Title:
Source Document Quantity Tolerance Lower Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Lower limit action for source document quantity tolerance. -
ToleranceRuleCode: string
Title:
Code
Maximum Length:30
Indicates the tolerance code of the tolerance. -
ToleranceRuleId: integer
(int64)
Title:
Tolerance Rule ID
Indicates identifier for tolerance rules.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : inboundFiscalDocumentToleranceRules-item-response
Type:
Show Source
object
-
Description: string
Title:
Description
Maximum Length:240
Stores the tolerance rule description for a specific row. -
InactiveFlag: boolean
Title:
Inactive
Maximum Length:1
Default Value:false
Flag identifying if the tolerance rule is inactive or not. -
InventoryItemId: integer
(int64)
Title:
Inventory Item ID
Indicates the item to which tolerance rule is applicable. -
InventoryItemNumber: string
Title:
Item
Read Only:true
Maximum Length:300
Indicates the item name to which tolerance rule is applicable. -
InventoryOrganizationId: integer
(int64)
Title:
Inventory Organization ID
Indicates the inventory organization id to which tolerance rule is applicable. -
InventoryOrganizationName: string
Title:
Inventory Organization
Read Only:true
Maximum Length:240
Indicates the inventory organization name to which tolerance rule is applicable. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Indicates the date and time of the last update of the row. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Name: string
Title:
Name
Maximum Length:80
Stores the tolerance rule name for a specific row -
PartyId: integer
(int64)
Title:
Party ID
Indicates the party id to which tolerance rule is applicable. -
PartyName: string
Title:
Party Name
Read Only:true
Maximum Length:360
Indicates the party name to which tolerance rule is applicable. -
ReceivedQuantityToleranceHigherLimit: number
Title:
Received Quantity Tolerance Higher Limit
Indicates the higher tolerance limit for the received quantity tolerance type . -
ReceivedQuantityToleranceHigherLimitAction: string
Title:
Received Quantity Tolerance Higher Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Higher limit action for received quantity tolerance. -
ReceivedQuantityToleranceLowerLimit: number
Title:
Received Quantity Tolerance Lower Limit
Indicates the lower tolerance limit for the received quantity tolerance type . -
ReceivedQuantityToleranceLowerLimitAction: string
Title:
Received Quantity Tolerance Lower Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Lower limit action for received quantity tolerance. -
SourceDocumentPriceToleranceHigherLimit: number
Title:
Source Document Price Tolerance Higher Limit
Indicates the higher tolerance limit for the source document price tolerance type. -
SourceDocumentPriceToleranceHigherLimitAction: string
Title:
Source Document Price Tolerance Higher Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Higher limit action for source document price tolerance. -
SourceDocumentPriceToleranceLowerLimit: number
Title:
Source Document Price Tolerance Lower Limit
Indicates the lower tolerance limit for the source document price tolerance type. -
SourceDocumentPriceToleranceLowerLimitAction: string
Title:
Source Document Price Tolerance Lower Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Lower limit action for source document price tolerance. -
SourceDocumentQuantityToleranceHigherLimit: number
Title:
Source Document Quantity Tolerance Higher Limit Action
Indicates the higher tolerance limit for the source document quantity tolerance type. -
SourceDocumentQuantityToleranceHigherLimitAction: string
Title:
Source Document Quantity Tolerance Higher Limit
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Higher limit action for source document quantity tolerance. -
SourceDocumentQuantityToleranceLowerLimit: number
Title:
Source Document Quantity Tolerance Lower Limit
Indicates the lower tolerance limit for the source document quantity tolerance type. -
SourceDocumentQuantityToleranceLowerLimitAction: string
Title:
Source Document Quantity Tolerance Lower Limit Action
Maximum Length:30
Default Value:ALLOW_DISCREPANCY
Lower limit action for source document quantity tolerance. -
Status: string
Title:
Status
Read Only:true
Maximum Length:80
Indicates the status of tolerance rule whether it is active or not -
ToleranceRuleCode: string
Title:
Code
Maximum Length:30
Indicates the tolerance code of the tolerance. -
ToleranceRuleId: integer
(int64)
Title:
Tolerance Rule ID
Indicates identifier for tolerance rules.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
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.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- InactiveFlagVA
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_CMF_TOLERANCE_STATUS
The following properties are defined on the LOV link relation:- Source Attribute: InactiveFlag; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- InvOrgVA
-
The following properties are defined on the LOV link relation:
- Source Attribute: InventoryOrganizationId; Target Attribute: OrganizationId
- Display Attribute: OrganizationName
- PartiesVA
-
The following properties are defined on the LOV link relation:
- Source Attribute: PartyId; Target Attribute: PartyId
- Display Attribute: PartyName