Update a country
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCountries/{CountryCode}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
CountryCode: string
The unique country code.
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorCountries-item
Type:
Show Source
object
-
CountryCode(optional):
string
Title:
Country Code
Maximum Length:3
The unique country code. -
CountryName(optional):
string
Title:
Country Name
Maximum Length:60
The name of the country. -
CountryThreeCharacterCode(optional):
string
Title:
ISO Numeric 3 Code
Maximum Length:3
A three-digit numeric code for the country according to the ISO 3166-1 standard. -
CountryTwoCharacterCode(optional):
string
Title:
ISO Alpha 2 Code
Maximum Length:2
A two-character code for the country according to the ISO 3166-1 standard.he two character code of country. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the country. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the country was created. -
DeletedFlag(optional):
boolean
Indicates whether the seed data is logically deleted. If the value is Y, the seed data has been deleted. The default value is N.
-
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The last date and time that the country was updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the country. -
links(optional):
array Items
Title:
Items
Link Relations -
SeedDataLock(optional):
integer(int32)
Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated.
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 : publicSectorCountries-item
Type:
Show Source
object
-
CountryCode(optional):
string
Title:
Country Code
Maximum Length:3
The unique country code. -
CountryName(optional):
string
Title:
Country Name
Maximum Length:60
The name of the country. -
CountryThreeCharacterCode(optional):
string
Title:
ISO Numeric 3 Code
Maximum Length:3
A three-digit numeric code for the country according to the ISO 3166-1 standard. -
CountryTwoCharacterCode(optional):
string
Title:
ISO Alpha 2 Code
Maximum Length:2
A two-character code for the country according to the ISO 3166-1 standard.he two character code of country. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the country. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the country was created. -
DeletedFlag(optional):
boolean
Indicates whether the seed data is logically deleted. If the value is Y, the seed data has been deleted. The default value is N.
-
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The last date and time that the country was updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the country. -
links(optional):
array Items
Title:
Items
Link Relations -
SeedDataLock(optional):
integer(int32)
Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated.
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.