Update one conversion rule
patch
/fscmRestApi/resources/11.13.18.05/currencyConversionLists/{CurrencyConvListId}/child/conversions/{CurrencyConvDetailId}
Request
Path Parameters
-
CurrencyConvDetailId(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=
-
CurrencyConvListId(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=
Header Parameters
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AdjustmentType: string
Maximum Length:
255Abbreviation that indicates the adjustment type in the currency conversion. -
AdjustmentTypeCode: string
Title:
Adjustment TypeMaximum Length:30Abbreviation that indicates the adjustment type in the currency conversion. -
AdjustmentValue: number
Title:
Adjustment AmountValue of the adjustment in the currency conversion. -
ConversionRate: number
Title:
Conversion RateRate of the currency conversion. -
ConversionType: string
Maximum Length:
255Abbreviation that indicates the conversion type in the currency conversion. -
ConversionTypeCode: string
Title:
Conversion TypeMaximum Length:30Default Value:FIXEDAbbreviation that indicates the conversion type in the currency conversion. -
CurrencyConvDetailId: integer
(int64)
Value that uniquely identifies the currency conversion detail.
-
CurrencyConvListId: integer
(int64)
Value that uniquely identifies the currency conversion list.
-
detailsDFF: array
detailsDFF
-
EndDate: string
(date-time)
Title:
End DateDate when the currency conversion expires. -
GlConversionType: string
Maximum Length:
255Abbreviation that indicates the conversion type in general ledger in the conversion. -
GlConversionTypeCode: string
Title:
GL Conversion TypeMaximum Length:30Abbreviation that indicates the conversion type in general ledger in the conversion. -
StartDate: string
(date-time)
Title:
Start DateEffective date of the currency conversion.
Nested Schema : currencyConversionLists-conversions-detailsDFF-item-patch-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:150Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
CurrencyConvDetailId: integer
(int64)
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 : currencyConversionLists-conversions-item-response
Type:
Show Source
object-
AdjustmentType: string
Maximum Length:
255Abbreviation that indicates the adjustment type in the currency conversion. -
AdjustmentTypeCode: string
Title:
Adjustment TypeMaximum Length:30Abbreviation that indicates the adjustment type in the currency conversion. -
AdjustmentValue: number
Title:
Adjustment AmountValue of the adjustment in the currency conversion. -
ConversionRate: number
Title:
Conversion RateRate of the currency conversion. -
ConversionType: string
Maximum Length:
255Abbreviation that indicates the conversion type in the currency conversion. -
ConversionTypeCode: string
Title:
Conversion TypeMaximum Length:30Default Value:FIXEDAbbreviation that indicates the conversion type in the currency conversion. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
CurrencyConvDetailId: integer
(int64)
Value that uniquely identifies the currency conversion detail.
-
CurrencyConvListId: integer
(int64)
Value that uniquely identifies the currency conversion list.
-
detailsDFF: array
detailsDFF
-
EndDate: string
(date-time)
Title:
End DateDate when the currency conversion expires. -
FromCurrency: string
Maximum Length:
255Base currency in the conversion. -
FromCurrencyCode: string
Title:
Base CurrencyMaximum Length:15Abbreviation that indicates the base currency in the conversion. -
GlConversionType: string
Maximum Length:
255Abbreviation that indicates the conversion type in general ledger in the conversion. -
GlConversionTypeCode: string
Title:
GL Conversion TypeMaximum Length:30Abbreviation that indicates the conversion type in general ledger in the conversion. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
StartDate: string
(date-time)
Title:
Start DateEffective date of the currency conversion. -
ToCurrency: string
Maximum Length:
255Target currency of the conversion. -
ToCurrencyCode: string
Title:
To CurrencyMaximum Length:15Abbreviation that indicates the target currency of the conversion.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : currencyConversionLists-conversions-detailsDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:150Context Value -
__FLEX_Context_DisplayValue: string
Title:
Context ValueContext Value -
CurrencyConvDetailId: integer
(int64)
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
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.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- detailsDFF
-
Parameters:
- CurrencyConvDetailId:
$request.path.CurrencyConvDetailId - CurrencyConvListId:
$request.path.CurrencyConvListId
- CurrencyConvDetailId:
- validateDateOverlap
-
Parameters:
- CurrencyConvDetailId:
$request.path.CurrencyConvDetailId - CurrencyConvListId:
$request.path.CurrencyConvListId
Validates the date overlap for a currency conversion - CurrencyConvDetailId: