Update a district type
patch
/fscmRestApi/resources/11.13.18.05/publicSectorDistrictTypes/{DistrictType}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
DistrictType: string
The unique identifier of the district type.
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorDistrictTypes-item
Type:
Show Source
object
-
CreatedBy(optional):
string
Maximum Length:
64
The user who created the district type. -
CreationDate(optional):
string(date-time)
The date and time the district type was created.
-
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the district type. -
DistrictCategory(optional):
string
Title:
District Type Category
Maximum Length:10
The category of the district type. -
DistrictType(optional):
string
Title:
District Type
Maximum Length:50
The unique identifier of the district type. -
EnabledFlag(optional):
boolean
Title:
Enabled
Indicates whether the district type is available to be used. The default value is N. -
GisDistrictIdAttr(optional):
string
Title:
District in GIS
Maximum Length:30
Field for selecting the map service attribute that provides a district identifier. -
GisDistrictRestURL(optional):
string
Title:
District Layer Service URL
Field for the URL of the GIS map service that plots district information for the specified district type. -
LastUpdateDate(optional):
string(date-time)
The date and time the district type was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the district type. -
links(optional):
array Items
Title:
Items
Link Relations -
Meaning(optional):
string
Maximum Length:
80
Indicates the category of the district type. -
UseGisFlag(optional):
string
Title:
GIS Layer Enabled
Maximum Length:1
Switch indicating whether to use GIS to identify districts based on a provided location.
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 : publicSectorDistrictTypes-item
Type:
Show Source
object
-
CreatedBy(optional):
string
Maximum Length:
64
The user who created the district type. -
CreationDate(optional):
string(date-time)
The date and time the district type was created.
-
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the district type. -
DistrictCategory(optional):
string
Title:
District Type Category
Maximum Length:10
The category of the district type. -
DistrictType(optional):
string
Title:
District Type
Maximum Length:50
The unique identifier of the district type. -
EnabledFlag(optional):
boolean
Title:
Enabled
Indicates whether the district type is available to be used. The default value is N. -
GisDistrictIdAttr(optional):
string
Title:
District in GIS
Maximum Length:30
Field for selecting the map service attribute that provides a district identifier. -
GisDistrictRestURL(optional):
string
Title:
District Layer Service URL
Field for the URL of the GIS map service that plots district information for the specified district type. -
LastUpdateDate(optional):
string(date-time)
The date and time the district type was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the district type. -
links(optional):
array Items
Title:
Items
Link Relations -
Meaning(optional):
string
Maximum Length:
80
Indicates the category of the district type. -
UseGisFlag(optional):
string
Title:
GIS Layer Enabled
Maximum Length:1
Switch indicating whether to use GIS to identify districts based on a provided location.
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.