Update an agency language
patch
/fscmRestApi/resources/11.13.18.05/publicSectorAgencies/{AgencyId}/child/AgencyLang/{AgencyLangUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
AgencyId: integer
The 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.
-
AgencyLangUniqID: 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: AgencyLang?q=AgencyId=<value1>;LanguageCd=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorAgencies-AgencyLang-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The 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:
64
The user who created the agency language. -
CreationDate(optional):
string(date-time)
The date and time the agency language was created.
-
Description(optional):
string
Title:
Description
Maximum Length:30
The description of the language. -
LanguageCd(optional):
string
Title:
Language
Maximum Length:4
The unique identifier of a 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 the agency language was updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the agency language. -
links(optional):
array Items
Title:
Items
Link Relations -
PrimaryFlag(optional):
string
Title:
Primary
Maximum Length:1
Indicates the language is the primary (base) language of the agency. -
ValidFromDate(optional):
string(date)
Title:
From Date
The first day the language may be used. -
ValidToDate(optional):
string(date)
Title:
To Date
The last day the language may be used.
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 : publicSectorAgencies-AgencyLang-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The 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:
64
The user who created the agency language. -
CreationDate(optional):
string(date-time)
The date and time the agency language was created.
-
Description(optional):
string
Title:
Description
Maximum Length:30
The description of the language. -
LanguageCd(optional):
string
Title:
Language
Maximum Length:4
The unique identifier of a 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 the agency language was updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the agency language. -
links(optional):
array Items
Title:
Items
Link Relations -
PrimaryFlag(optional):
string
Title:
Primary
Maximum Length:1
Indicates the language is the primary (base) language of the agency. -
ValidFromDate(optional):
string(date)
Title:
From Date
The first day the language may be used. -
ValidToDate(optional):
string(date)
Title:
To Date
The last day the language may be used.
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.