Update a date range for a classification
patch
/fscmRestApi/resources/11.13.18.05/publicSectorGlobalAttributes/{publicSectorGlobalAttributesUniqID}
Request
Path Parameters
-
publicSectorGlobalAttributesUniqID(required): string
This is the hash key of the attributes which make up the composite key--- AgencyId, Classification, EffectiveEndDate and EffectiveStartDate ---for the Global Attributes Date Range Details resource and used to uniquely identify an instance of Global Attributes Date Range Details. The client should not generate the hash key value. Instead, the client should query on the Global Attributes Date Range Details collection resource with a filter on the primary key values in order to navigate to a specific instance of Global Attributes Date Range Details.
For example: publicSectorGlobalAttributes?q=AgencyId=<value1>;Classification=<value2>;EffectiveEndDate=<value3>;EffectiveStartDate=<value4>
Header Parameters
-
Effective-Of: string
This header accepts a string value. The string is a semi-colon separated list of
= . It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers. -
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-
Description: string
Maximum Length:
1000Description of the classification date range. -
EffectiveEndDate: string
(date)
Effective end date for the classification date range.
-
GlobalAttributeLines: array
Global Attributes Details
Title:
Global Attributes DetailsThe Global Attribute Line resource is used to manage global attributes for a given classification.
Nested Schema : Global Attributes Details
Type:
arrayTitle:
Global Attributes DetailsThe Global Attribute Line resource is used to manage global attributes for a given classification.
Show Source
Nested Schema : publicSectorGlobalAttributes-GlobalAttributeLines-item-patch-request
Type:
Show Source
object-
AttributeName: string
Title:
Attribute NameMaximum Length:300Global attribute name. -
AttributeValue: number
Title:
Attribute ValueGlobal attribute value. -
Description: string
Maximum Length:
1000Global attribute description. -
EffectiveEndDate: string
(date)
Effective end date for the global attribute.
-
EnabledFlag: string
Maximum Length:
1Default Value:YFlag indicating whether the attribute is enabled.
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 : publicSectorGlobalAttributes-item-response
Type:
Show Source
object-
AgencyId: integer
(int32)
Default Value:
1Agency ID for the classification date range. -
Classification: string
Maximum Length:
30Default Value:ORA_GBLClassification for the date range. -
Description: string
Maximum Length:
1000Description of the classification date range. -
EffectiveEndDate: string
(date)
Effective end date for the classification date range.
-
EffectiveStartDate: string
(date)
Effective start date for the classification date range.
-
GlobalAttributeLines: array
Global Attributes Details
Title:
Global Attributes DetailsThe Global Attribute Line resource is used to manage global attributes for a given classification. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Global Attributes Details
Type:
arrayTitle:
Global Attributes DetailsThe Global Attribute Line resource is used to manage global attributes for a given classification.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : publicSectorGlobalAttributes-GlobalAttributeLines-item-response
Type:
Show Source
object-
AgencyId: integer
Default Value:
1Agency ID for the global attribute. -
AttributeName: string
Title:
Attribute NameMaximum Length:300Global attribute name. -
AttributeValue: number
Title:
Attribute ValueGlobal attribute value. -
Classification: string
Maximum Length:
30Default Value:ORA_GBLClassification for the global attribute. -
Description: string
Maximum Length:
1000Global attribute description. -
EffectiveEndDate: string
(date)
Effective end date for the global attribute.
-
EffectiveStartDate: string
(date)
Effective start date for the global attribute.
-
EnabledFlag: string
Maximum Length:
1Default Value:YFlag indicating whether the attribute is enabled. -
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
- GlobalAttributeLines
-
Parameters:
- publicSectorGlobalAttributesUniqID:
$request.path.publicSectorGlobalAttributesUniqID
The Global Attribute Line resource is used to manage global attributes for a given classification. - publicSectorGlobalAttributesUniqID: