Create an agency language
post
/fscmRestApi/resources/11.13.18.05/publicSectorAgencies/{AgencyId}/child/AgencyLang
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.
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 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 the agency language was created.
-
Description(optional):
string
Maximum Length:
30The description of the language. -
LanguageCd(optional):
string
Title:
LanguageMaximum Length:4The 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:
64The user who last updated the agency language. -
links(optional):
array Items
Title:
ItemsLink Relations -
PrimaryFlag(optional):
string
Maximum Length:
1Indicates the language is the primary (base) language of the agency. -
ValidFromDate(optional):
string(date)
The first day the language may be used.
-
ValidToDate(optional):
string(date)
The last day 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 : publicSectorAgencies-AgencyLang-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 the agency language was created.
-
Description(optional):
string
Maximum Length:
30The description of the language. -
LanguageCd(optional):
string
Title:
LanguageMaximum Length:4The 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:
64The user who last updated the agency language. -
links(optional):
array Items
Title:
ItemsLink Relations -
PrimaryFlag(optional):
string
Maximum Length:
1Indicates the language is the primary (base) language of the agency. -
ValidFromDate(optional):
string(date)
The first day the language may be used.
-
ValidToDate(optional):
string(date)
The last day 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.