Update an agency language
patch
/fscmRestApi/resources/11.13.18.05/publicSectorAgencyLanguages/{publicSectorAgencyLanguagesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorAgencyLanguagesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and LanguageCd ---for the Agency Languages resource and used to uniquely identify an instance of Agency Languages. The client should not generate the hash key value. Instead, the client should query on the Agency Languages collection resource with a filter on the primary key values in order to navigate to a specific instance of Agency Languages.
For example: publicSectorAgencyLanguages?q=AgencyId=<value1>;LanguageCd=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorAgencyLanguages-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency. Value is mandatory and is defined by the user during a create action. The identifier of the first agency defined must be 1. -
CreatedBy(optional):
string
Maximum Length:
64The user who created the agency language. -
CreationDate(optional):
string(date-time)
The date and time that the agency language was created.
-
Description(optional):
string
Title:
DescriptionMaximum Length:30The description of the language. -
LanguageCd(optional):
string
Title:
LanguageMaximum Length:4The unique identifier of the language that is supported by the agency. Value is mandatory and is defined by the user during a create action. -
LastUpdateDate(optional):
string(date-time)
The last date and time that the agency language was updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64The user who last updated the agency language. -
links(optional):
array Items
Title:
ItemsLink Relations -
PrimaryFlag(optional):
string
Title:
PrimaryMaximum Length:1Indicates that the language is the primary (base) language of the agency. -
ValidFromDate(optional):
string(date)
Title:
From DateThe first day that the language may be used. -
ValidToDate(optional):
string(date)
Title:
To DateThe last day that the language may be used.
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.
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 : publicSectorAgencyLanguages-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency. Value is mandatory and is defined by the user during a create action. The identifier of the first agency defined must be 1. -
CreatedBy(optional):
string
Maximum Length:
64The user who created the agency language. -
CreationDate(optional):
string(date-time)
The date and time that the agency language was created.
-
Description(optional):
string
Title:
DescriptionMaximum Length:30The description of the language. -
LanguageCd(optional):
string
Title:
LanguageMaximum Length:4The unique identifier of the language that is supported by the agency. Value is mandatory and is defined by the user during a create action. -
LastUpdateDate(optional):
string(date-time)
The last date and time that the agency language was updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64The user who last updated the agency language. -
links(optional):
array Items
Title:
ItemsLink Relations -
PrimaryFlag(optional):
string
Title:
PrimaryMaximum Length:1Indicates that the language is the primary (base) language of the agency. -
ValidFromDate(optional):
string(date)
Title:
From DateThe first day that the language may be used. -
ValidToDate(optional):
string(date)
Title:
To DateThe last day that the language may be used.
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.