Update a federal attribute supplemental rule

patch

/fscmRestApi/resources/11.13.18.05/fedAttributeSupplementalRules/{SupplRuleHeaderId}

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=
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
Nested Schema : Federal Attribute Supplemental Rule Lines
Type: array
Title: Federal Attribute Supplemental Rule Lines
The federal attribute supplemental rule lines enable users to manage attribute supplemental rule with lines.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Federal Attribute Supplemental Rule Allocations
Type: array
Title: Federal Attribute Supplemental Rule Allocations
The federal attribute supplemental rule allocations enables users to manage supplemental rule allocations.
Show Source
Nested Schema : Federal Attribute Supplemental Rule Exception Messages
Type: array
Title: Federal Attribute Supplemental Rule Exception Messages
The federal attribute supplemental rule exception messages enables users to manage supplemental rule exception messages.
Show Source
Nested Schema : Federal Attribute Supplemental Rule Line Filters
Type: array
Title: Federal Attribute Supplemental Rule Line Filters
The federal attribute supplemental rule filters enables user to define and manage the federal attribute supplemental rule filters.
Show Source
Nested Schema : fedAttributeSupplementalRules-fedAttributeSupplementalRuleLines-fedAttributeSupplementalRuleAllocations-item-patch-request
Type: object
Show Source
  • Title: Percentage
    Percentage associated with the federal attribute supplemental rule allocation.
  • Title: Reporting Code
    Maximum Length: 255
    Value associated with the federal attribute supplemental rule allocation.
Nested Schema : fedAttributeSupplementalRules-fedAttributeSupplementalRuleLines-fedAttributeSupplementalRuleExceptionMessages-item-patch-request
Type: object
Show Source
Nested Schema : fedAttributeSupplementalRules-fedAttributeSupplementalRuleLines-fedAttributeSupplementalRuleFilters-item-patch-request
Type: object
Show Source
  • Title: Accounting Segment
    Maximum Length: 255
    Accounting segment of the federal attribute supplemental rule filter.
  • Title: High Value
    Maximum Length: 25
    High Value of the filter range of the federal attribute supplemental rule filter. The high value should be greater than or equal to the low value.
  • Title: Low Value
    Maximum Length: 25
    Low value of the filter range of the federal attribute supplemental rule filter. The low value should be less than or equal to the high value.
  • Title: Operator
    Maximum Length: 255
    Operator of the federal attribute supplemental rule filter.
  • Title: Value
    Maximum Length: 25
    Value of the federal attribute supplemental rule filter. This attribute is enabled when the operator is Equal To or Not Equal To.
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 : fedAttributeSupplementalRules-item-response
Type: object
Show Source
Nested Schema : Federal Attribute Supplemental Rule Lines
Type: array
Title: Federal Attribute Supplemental Rule Lines
The federal attribute supplemental rule lines enable users to manage attribute supplemental rule with lines.
Show Source
Nested Schema : fedAttributeSupplementalRules-fedAttributeSupplementalRuleLines-item-response
Type: object
Show Source
Nested Schema : Federal Attribute Supplemental Rule Allocations
Type: array
Title: Federal Attribute Supplemental Rule Allocations
The federal attribute supplemental rule allocations enables users to manage supplemental rule allocations.
Show Source
Nested Schema : Federal Attribute Supplemental Rule Exception Messages
Type: array
Title: Federal Attribute Supplemental Rule Exception Messages
The federal attribute supplemental rule exception messages enables users to manage supplemental rule exception messages.
Show Source
Nested Schema : Federal Attribute Supplemental Rule Line Filters
Type: array
Title: Federal Attribute Supplemental Rule Line Filters
The federal attribute supplemental rule filters enables user to define and manage the federal attribute supplemental rule filters.
Show Source
Nested Schema : fedAttributeSupplementalRules-fedAttributeSupplementalRuleLines-fedAttributeSupplementalRuleAllocations-item-response
Type: object
Show Source
Nested Schema : fedAttributeSupplementalRules-fedAttributeSupplementalRuleLines-fedAttributeSupplementalRuleExceptionMessages-item-response
Type: object
Show Source
  • Title: Exception Code
    Maximum Length: 30
    Code of the federal attribute supplemental rule exception message.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Title: Creation Date
    Read Only: true
    The date when the record was created.
  • Title: Exception Text
    Maximum Length: 4000
    Description of the federal attribute supplemental rule exception message.
  • Title: Exception Unique Id
    The unique identifier of the federal attribute supplemental rule exception message.
  • Title: Job Id
    The unique identifier of the job associated with the federal attribute supplemental rule exception message.
  • Title: Last Update Date
    Read Only: true
    The date when the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Links
  • Title: Parent Table Unique Id
    The unique identifier of the parent table associated with the federal attribute supplemental rule exception message.
  • Title: Process Name
    Maximum Length: 150
    Name of the process associated with the federal attribute supplemental rule exception message.
Nested Schema : fedAttributeSupplementalRules-fedAttributeSupplementalRuleLines-fedAttributeSupplementalRuleFilters-item-response
Type: object
Show Source
  • Title: Accounting Segment
    Maximum Length: 255
    Accounting segment of the federal attribute supplemental rule filter.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Title: Creation Date
    Read Only: true
    The date when the record was created.
  • Title: High Value
    Maximum Length: 25
    High Value of the filter range of the federal attribute supplemental rule filter. The high value should be greater than or equal to the low value.
  • Title: Last Update Date
    Read Only: true
    The date when the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The date when the record was last updated.
  • Links
  • Title: Low Value
    Maximum Length: 25
    Low value of the filter range of the federal attribute supplemental rule filter. The low value should be less than or equal to the high value.
  • Title: Operator
    Maximum Length: 255
    Operator of the federal attribute supplemental rule filter.
  • Title: Supplemental Rule Filter ID
    The unique identifier of the federal attribute supplemental rule filter.
  • Title: Value
    Maximum Length: 25
    Value of the federal attribute supplemental rule filter. This attribute is enabled when the operator is Equal To or Not Equal To.
Back to Top

Examples

The following example shows how to update a federal attribute supplemental rule by submitting a PATCH request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedAttributeSupplementalRules/{SupplRuleHeaderId}

Request Body Example

The following shows an example of the request body in JSON format.

{
  "TreasuryAccountSymbol": "75180118"
}

Response Body Example

The following shows an example of the response body in JSON format.

{
    "SupplRuleHeaderId": "300100588674432",
    "LedgerName": "USFed1 US",
    "FederalAttributeName": "Apportionment Category Code",
    "TreasuryAccountSymbol": "75180118",
    "CreationDate": "2024-03-11T11:29:01+00:00",
    "CreatedBy": "username",
    "LastUpdatedBy": "username",
    "LastUpdateDate": "2024-03-12T08:49:07+00:00",
    "@context": {
        "key": "300100588674432",
        "headers": {
            "ETag": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
        },
        "links": [
            {
                "rel": "self",
                "href": "https:// servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedAttributeSupplementalRules/300100588674432",
                "name": "fedAttributeSupplementalRules",
                "kind": "item"
            },
            {
                "rel": "canonical",
                "href": "https:// servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedAttributeSupplementalRules/300100588674432",
                "name": "fedAttributeSupplementalRules",
                "kind": "item"
            },
            {
                "rel": "child",
                "href": "https:// servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedAttributeSupplementalRules/300100588674432/child/fedAttributeSupplementalRuleLines",
                "name": "fedAttributeSupplementalRuleLines",
                "kind": "collection"
            }
        ]
    }
}
Back to Top