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:
Description
Maximum Length:100
The description of the terms of use definition. -
EffectiveEndDate(optional):
string(date)
Title:
Effective End Date
The effective end date of the terms of use definition. -
EffectiveStartDate(optional):
string(date)
Title:
Effective Start Date
The effective start date of the terms of use definition. -
links(optional):
array Items
Title:
Items
Link Relations -
TermsContent(optional):
string
Title:
Content
The detailed content of the terms of use. -
TermsUsage(optional):
array Terms Usages
Title:
Terms Usages
The 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 ID
Maximum Length:15
The unique identifier for the terms of use definition.
Nested Schema : Terms Usages
Type:
array
Title:
Terms Usages
The 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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:
Description
Maximum Length:100
The 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:
1
Indicates 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:
Items
Link Relations -
Product(optional):
string
Maximum Length:
30
The transaction type for which the terms content is enabled or disabled. -
TermsUseId(optional):
string
Maximum Length:
15
The 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:
Description
Maximum Length:100
The description of the terms of use definition. -
EffectiveEndDate(optional):
string(date)
Title:
Effective End Date
The effective end date of the terms of use definition. -
EffectiveStartDate(optional):
string(date)
Title:
Effective Start Date
The effective start date of the terms of use definition. -
links(optional):
array Items
Title:
Items
Link Relations -
TermsContent(optional):
string
Title:
Content
The detailed content of the terms of use. -
TermsUsage(optional):
array Terms Usages
Title:
Terms Usages
The 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 ID
Maximum Length:15
The unique identifier for the terms of use definition.
Nested Schema : Terms Usages
Type:
array
Title:
Terms Usages
The 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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:
Description
Maximum Length:100
The 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:
1
Indicates 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:
Items
Link Relations -
Product(optional):
string
Maximum Length:
30
The transaction type for which the terms content is enabled or disabled. -
TermsUseId(optional):
string
Maximum Length:
15
The unique identifier for a terms of use definition.