Update a terms of use definition
patch
/fscmRestApi/resources/11.13.18.05/publicSectorTermsOfUses/{publicSectorTermsOfUsesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorTermsOfUsesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId, TermsUseId, EffectiveStartDate and EffectiveEndDate ---for the Terms Of Use Definitions resource and used to uniquely identify an instance of Terms Of Use Definitions. The client should not generate the hash key value. Instead, the client should query on the Terms Of Use Definitions collection resource with a filter on the primary key values in order to navigate to a specific instance of Terms Of Use Definitions.
For example: publicSectorTermsOfUses?q=AgencyId=<value1>;TermsUseId=<value2>;EffectiveStartDate=<value3>;EffectiveEndDate=<value4>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorTermsOfUses-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a terms of use definition.
-
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the terms of use definition. -
EffectiveEndDate(optional):
string(date)
Title:
Effective End DateThe effective end date of the terms of use definition. -
EffectiveStartDate(optional):
string(date)
Title:
Effective Start DateThe effective start date of the terms of use definition. -
links(optional):
array Items
Title:
ItemsLink Relations -
TermsContent(optional):
string
Title:
ContentThe detailed content of the terms of use. -
TermsUsage(optional):
array Terms Usages
Title:
Terms UsagesThe terms usages resource is used to view, add, delete and modify the transaction types that can use a terms of use definition. Terms of use content can be enabled or disabled for use by transactions such as user registration or a permit application. -
TermsUseId(optional):
string
Title:
Terms of Use IDMaximum Length:15The unique identifier for the terms of use definition.
Nested Schema : Terms Usages
Type:
arrayTitle:
Terms UsagesThe terms usages resource is used to view, add, delete and modify the transaction types that can use a terms of use definition. Terms of use content can be enabled or disabled for use by transactions such as user registration or a permit application.
Show Source
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Nested Schema : publicSectorTermsOfUses-TermsUsage-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a terms of use definition.
-
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the terms of use definition. -
EffectiveEndDate(optional):
string(date)
The effective end date of the terms of use definition.
-
EffectiveStartDate(optional):
string(date)
The effective start date of the terms of use definition.
-
EnabledFlag(optional):
string
Maximum Length:
1Indicates whether the terms of use definition is enabled for the transaction type. If the value is Y, terms of use definition is enabled. The default value is N. -
links(optional):
array Items
Title:
ItemsLink Relations -
Product(optional):
string
Maximum Length:
30The transaction type for which the terms content is enabled or disabled. -
TermsUseId(optional):
string
Maximum Length:
15The unique identifier for a terms of use definition.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorTermsOfUses-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a terms of use definition.
-
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the terms of use definition. -
EffectiveEndDate(optional):
string(date)
Title:
Effective End DateThe effective end date of the terms of use definition. -
EffectiveStartDate(optional):
string(date)
Title:
Effective Start DateThe effective start date of the terms of use definition. -
links(optional):
array Items
Title:
ItemsLink Relations -
TermsContent(optional):
string
Title:
ContentThe detailed content of the terms of use. -
TermsUsage(optional):
array Terms Usages
Title:
Terms UsagesThe terms usages resource is used to view, add, delete and modify the transaction types that can use a terms of use definition. Terms of use content can be enabled or disabled for use by transactions such as user registration or a permit application. -
TermsUseId(optional):
string
Title:
Terms of Use IDMaximum Length:15The unique identifier for the terms of use definition.
Nested Schema : Terms Usages
Type:
arrayTitle:
Terms UsagesThe terms usages resource is used to view, add, delete and modify the transaction types that can use a terms of use definition. Terms of use content can be enabled or disabled for use by transactions such as user registration or a permit application.
Show Source
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Nested Schema : publicSectorTermsOfUses-TermsUsage-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a terms of use definition.
-
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the terms of use definition. -
EffectiveEndDate(optional):
string(date)
The effective end date of the terms of use definition.
-
EffectiveStartDate(optional):
string(date)
The effective start date of the terms of use definition.
-
EnabledFlag(optional):
string
Maximum Length:
1Indicates whether the terms of use definition is enabled for the transaction type. If the value is Y, terms of use definition is enabled. The default value is N. -
links(optional):
array Items
Title:
ItemsLink Relations -
Product(optional):
string
Maximum Length:
30The transaction type for which the terms content is enabled or disabled. -
TermsUseId(optional):
string
Maximum Length:
15The unique identifier for a terms of use definition.