Update an ownership type
patch
/fscmRestApi/resources/11.13.18.05/publicSectorOwnershipTypes/{publicSectorOwnershipTypesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorOwnershipTypesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and OwnershipType ---for the Ownership Types resource and used to uniquely identify an instance of Ownership Types. The client should not generate the hash key value. Instead, the client should query on the Ownership Types collection resource with a filter on the primary key values in order to navigate to a specific instance of Ownership Types.
For example: publicSectorOwnershipTypes?q=AgencyId=<value1>;OwnershipType=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorOwnershipTypes-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The unique identifier of the agency associated with the ownership type. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The date and time on which the ownership type was created. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The user who created the ownership type. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the ownership type. -
EnabledFlag(optional):
boolean
Title:
Enabled
Indicates whether the ownership type is available to be used. The default value is N. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date on which the ownership type was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the ownership type. -
links(optional):
array Items
Title:
Items
Link Relations -
OwnershipType(optional):
string
Title:
Ownership Type
Maximum Length:15
The name of the ownership type.
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.
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 : publicSectorOwnershipTypes-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The unique identifier of the agency associated with the ownership type. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The date and time on which the ownership type was created. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The user who created the ownership type. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the ownership type. -
EnabledFlag(optional):
boolean
Title:
Enabled
Indicates whether the ownership type is available to be used. The default value is N. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date on which the ownership type was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the ownership type. -
links(optional):
array Items
Title:
Items
Link Relations -
OwnershipType(optional):
string
Title:
Ownership Type
Maximum Length:15
The name of the ownership type.
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.