Update a period attribute

patch

/fscmRestApi/resources/11.13.18.05/hedPeriodAttributes/{PeriodAttributeId}

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
  • Title: Active
    Maximum Length: 1
    Default Value: true
    Indicates whether the period attribute is active. The default value is true.
  • Title: Date Calculation Scheme Code
    Maximum Length: 30
    Indicates the date attribute calculation scheme code. The scheme identifies the pivot date that's used when the date attribute is calculated.
  • Title: Days Adjusted By
    Indicates the required number of days to adjustment before or after the pivot date. Before the date is a negative number and after is a positive.
  • Title: Date Rounding Code
    Maximum Length: 30
    Indicates the rounding preference when calculating the date attribute's value.
  • Title: Default Attribute Date
    Default date or date time value for the attribute.
  • Title: Second Default Attribute Date
    Second default date or date time value for the attribute. This is used to store the end date for a period attribute of range type.
  • Title: Period Attribute Name
    Maximum Length: 50
    The name of a period attribute.
  • Title: Date Type
    Maximum Length: 30
    Default Value: ORA_DATE
    The date type code of a period attribute, such as DATE, DTTM.
  • Title: Pivot Based
    Maximum Length: 1
    Default Value: false
    Indicates that this date time attribute is calculated based on the pivot date. The default value is false.
  • Period Attribute Tags
    Title: Period Attribute Tags
    The tag assignments resource is used to manage tag assignments of period attributes.
  • Title: Time Zone Code
    Maximum Length: 32
    Time zone code selected by a user when specifying a manual date time.
Nested Schema : Period Attribute Tags
Type: array
Title: Period Attribute Tags
The tag assignments resource is used to manage tag assignments of period attributes.
Show Source
Nested Schema : hedPeriodAttributes-tagAssignments-item-patch-request
Type: object
Show Source
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 : hedPeriodAttributes-item-response
Type: object
Show Source
Nested Schema : Period Attribute Tags
Type: array
Title: Period Attribute Tags
The tag assignments resource is used to manage tag assignments of period attributes.
Show Source
Nested Schema : hedPeriodAttributes-tagAssignments-item-response
Type: object
Show Source
Back to Top