Update a asset charge

patch

/fscmRestApi/resources/11.13.18.05/installedBaseAssets/{AssetId}/child/charges/{chargesUniqID}

Request

Path Parameters
  • 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=
  • This is the hash key of the attributes which make up the composite key for the Charges resource and used to uniquely identify an instance of Charges. The client should not generate the hash key value. Instead, the client should query on the Charges collection resource in order to navigate to a specific instance of Charges to get the hash key.
Header Parameters
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Value that uniquely identifies the asset charge. The application creates this value when it creates the asset charge. This attribute is read-only.
  • Value that uniquely identifies the asset that the application charges. The application uses the asset that the charge references to determine the value for this attribute. This attribute is read-only.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the charge component represents the aggregated value of the rollup charge. If false, then the charge component doesn't represent this value. The default value is false.
  • Maximum Length: 30
    Abbreviation that identifies the definition for the pricing charge. This attribute is required to define the asset charge.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the pricing charge is a rollup charge. If false, then the pricing charge isn't a rollup charge. The default value is false.
  • Maximum Length: 15
    Abbreviation that uniquely identifies the currency that the pricing charge uses. This attribute is required to define the charge for asset pricing.
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure for the quantity that the application prices. This attribute is required to define the charge for asset pricing.
  • Maximum Length: 30
    Abbreviation that identifies the pricing element of the pricing charge. This attribute is required to define the asset charge.
  • Maximum Length: 30
    Abbreviation that indicates whether the unit price in the pricing element is the list price or the net price.
  • Maximum Length: 30
    Abbreviation that identifies the recurring time frame that the application uses to price the charge such as month or year.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the charge is a primary charge. If false, then the charge isn't a primary charge. The default value is false.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the asset price includes taxes. If false, then the asset price doesn't include taxes. The default value is false.
  • Unit price of the asset. This is the current price of the asset or price that the organization used when it sold the asset.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : installedBaseAssets-charges-item-response
Type: object
Show Source
  • Value that uniquely identifies the asset charge. The application creates this value when it creates the asset charge. This attribute is read-only.
  • Value that uniquely identifies the asset that the application charges. The application uses the asset that the charge references to determine the value for this attribute. This attribute is read-only.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the charge component represents the aggregated value of the rollup charge. If false, then the charge component doesn't represent this value. The default value is false.
  • Maximum Length: 30
    Abbreviation that identifies the definition for the pricing charge. This attribute is required to define the asset charge.
  • Read Only: true
    Maximum Length: 80
    Value indicates the name of the price charges defined.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the pricing charge is a rollup charge. If false, then the pricing charge isn't a rollup charge. The default value is false.
  • Maximum Length: 15
    Abbreviation that uniquely identifies the currency that the pricing charge uses. This attribute is required to define the charge for asset pricing.
  • Links
  • Maximum Length: 3
    Abbreviation that identifies the unit of measure for the quantity that the application prices. This attribute is required to define the charge for asset pricing.
  • Maximum Length: 30
    Abbreviation that identifies the pricing element of the pricing charge. This attribute is required to define the asset charge.
  • Title: Element Name
    Read Only: true
    Maximum Length: 80
    Value indicates the name of the price element.
  • Maximum Length: 30
    Abbreviation that indicates whether the unit price in the pricing element is the list price or the net price.
  • Read Only: true
    Maximum Length: 255
    Values indicates the usage name of the price element.
  • Maximum Length: 30
    Abbreviation that identifies the recurring time frame that the application uses to price the charge such as month or year.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the charge is a primary charge. If false, then the charge isn't a primary charge. The default value is false.
  • Maximum Length: 1
    Contains one of the following values: true or false. If true, then the asset price includes taxes. If false, then the asset price doesn't include taxes. The default value is false.
  • Title: UOM Name
    Read Only: true
    Maximum Length: 25
    Values indicates the unit of measure of the price charges.
  • Unit price of the asset. This is the current price of the asset or price that the organization used when it sold the asset.
Back to Top