Update a charge related line
patch
/fscmRestApi/resources/11.13.18.05/tradeOperations/{TradeOperationId}/child/charges/{TradeOperationChargeId}/child/chargeRelatedLines/{TradeOperationChargeRelatedLineId}
Request
Path Parameters
-
TradeOperationChargeId(required): integer(int64)
Value that uniquely identifies the trade operation charge.
-
TradeOperationChargeRelatedLineId(required): integer(int64)
Value that uniquely identifies the trade operation charge related line.
-
TradeOperationId(required): integer(int64)
Value that uniquely identifies the trade operation.
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
ChargeLineNumber: integer
Title:
Related Charge Line Number
Value that uniquely identifies the charge line number for the charge entered as related in a charge line. -
IncludePurchaseValueFlag: boolean
Title:
Include item value
Contains one of the following values: true or false. If true, then the purchase value needs to be included for the purpose of deriving the charge amount. If false, then the purchase value is not included for the purpose of deriving the charge amount. The default value is false. -
PercentageOfItemValue: number
Title:
Percentage of Item Value
Percent of the purchase value. It is required only when Include Item Value Flag is set to yes. -
RelatedChargeLineId: integer
(int64)
Title:
Related Charge Line ID
Value that uniquely identifies the related charge line for a trade operation charge. -
RelatedChargeLinePercentage: number
Title:
Related Charge Line Percentage
Percent for each of the related charge line based on which the charge line amount will be derived.
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 : tradeOperations-charges-chargeRelatedLines-item-response
Type:
Show Source
object
-
ChargeBU: string
Title:
Charge BU
Read Only:true
Maximum Length:240
Value that indicates the requisitioning business unit that incurs the charge. -
ChargeLineNumber: integer
Title:
Related Charge Line Number
Value that uniquely identifies the charge line number for the charge entered as related in a charge line. -
ChargeLineStatus: string
Title:
Charge Line Status Meaning
Read Only:true
Maximum Length:80
Value that indicates the meaning of the charge line status. -
ChargeLineStatusCode: string
Title:
Charge Line Status
Read Only:true
Maximum Length:30
Abbreviation that uniquely identifies the status of the charge line. Values include Allocated, Allocated with Warning, Allocation in Error, Cancelled, Draft Allocation, Incomplete, New, Pending Association, Ready for Allocation, and Requires Reallocation. -
ChargeName: string
Title:
Related Charge Name
Read Only:true
Maximum Length:80
Name of the charge for the related charge line entered in a charge line. -
EnteredCurrencyCode: string
Title:
Charge Currency
Read Only:true
Maximum Length:15
Transaction currency in which the charge is entered. -
IncludePurchaseValueFlag: boolean
Title:
Include item value
Contains one of the following values: true or false. If true, then the purchase value needs to be included for the purpose of deriving the charge amount. If false, then the purchase value is not included for the purpose of deriving the charge amount. The default value is false. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PercentageOfItemValue: number
Title:
Percentage of Item Value
Percent of the purchase value. It is required only when Include Item Value Flag is set to yes. -
RelatedChargeLineId: integer
(int64)
Title:
Related Charge Line ID
Value that uniquely identifies the related charge line for a trade operation charge. -
RelatedChargeLinePercentage: number
Title:
Related Charge Line Percentage
Percent for each of the related charge line based on which the charge line amount will be derived. -
TotalAmount: number
Title:
Total Amount
Read Only:true
Estimated total amount on the charge line. -
TradeOperationChargeId: integer
(int64)
Title:
Trade Operation Charge ID
Value that uniquely identifies the trade operation charge. -
TradeOperationChargeRelatedLineId: integer
(int64)
Title:
Trade Operation Charge Related Line ID
Value that uniquely identifies the trade operation charge related line.
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.