Creates a reference entity
post
/fscmRestApi/resources/11.13.18.05/publicSectorReferenceEntities
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
AgencyId: integer
(int32)
The agency ID of the reference entity.
-
ClosedDate: string
(date-time)
The closed date of a reference entity.
-
CreatedByUserName: string
Maximum Length:
30
The user who last updated the reference entity type. -
CurrentTransFlag: string
Maximum Length:
3
Indicates the current transaction for a reference entity. -
Description: string
Title:
Description
The description of a reference entity. -
DescriptionPlain: string
Title:
Description
The description in plain text. -
FeatureAttributes: string
(byte)
The GIS feature attributes of a reference entity.
-
FeatureGeometry: string
(byte)
The GIS feature geometry of a reference entity.
-
LastFeatureEditDate: string
(date-time)
The last update date of the feature of reference entity.
-
LastUpdatedByUserName: string
Maximum Length:
30
The user who last updated the reference entity type. -
LayoutVersion: string
Maximum Length:
30
The layout version of a reference entity. -
MigratedDataFlag: string
Maximum Length:
3
The migrated flag of the reference entity, indicating whether the reference entity was migrated. -
MobileFlag: string
Maximum Length:
1
The mobile flag of reference entity, indicating if it is application to mobile usage. -
ParentRecordKey: integer
(int64)
Title:
Parent
The parent ID of the reference entity. -
ProgramTypeId: string
Maximum Length:
50
The program type ID of reference entity. -
RecordId: string
Title:
ID
Maximum Length:50
The record ID of the reference entity. -
RecordKey: integer
(int64)
The unique ID for reference entity.
-
RecordName: string
Maximum Length:
80
The record name for a reference entity. -
RecordNumber: string
Maximum Length:
64
The record number for a reference entity. -
ReName: string
Title:
Name
Maximum Length:100
The name of a reference entity. -
RowType: string
Maximum Length:
30
The row type of a reference entity. -
Status: string
Title:
Status
Maximum Length:30
The status of the reference entity. -
SubmitDate: string
(date-time)
The submit date of a reference entity.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : publicSectorReferenceEntities-item-response
Type:
Show Source
object
-
Address1: string
Read Only:
true
Maximum Length:240
The address in which a reference entity is located. -
Address2: string
Read Only:
true
Maximum Length:240
The address line 2 in which a reference entity is located. -
AgencyId: integer
(int32)
The agency ID of the reference entity.
-
Category: string
Title:
Category
Read Only:true
Maximum Length:30
The category of a reference entity. -
CategoryMeaning: string
Read Only:
true
Maximum Length:255
The meaning of a category as defined for the lookup type. -
City: string
Read Only:
true
Maximum Length:60
The city in which a reference entity is located. -
Classification: string
Title:
Classification
Read Only:true
Maximum Length:10
The classification of the reference entity. -
ClosedDate: string
(date-time)
The closed date of a reference entity.
-
Country: string
Read Only:
true
Maximum Length:3
The country in which a reference entity is located. -
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the reference entity type. -
CreatedByUserName: string
Maximum Length:
30
The user who last updated the reference entity type. -
CreationDate: string
(date-time)
Read Only:
true
The date when the reference entity type was last updated. -
CreationDateLocation: string
(date-time)
Read Only:
true
The creation date of a location child object. -
CurrentTransFlag: string
Maximum Length:
3
Indicates the current transaction for a reference entity. -
Description: string
Title:
Description
The description of a reference entity. -
DescriptionPlain: string
Title:
Description
The description in plain text. -
FeatureAttributes: string
(byte)
The GIS feature attributes of a reference entity.
-
FeatureGeometry: string
(byte)
The GIS feature geometry of a reference entity.
-
LastFeatureEditDate: string
(date-time)
The last update date of the feature of reference entity.
-
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the reference entity type was created. -
LastUpdateDateLocation: string
(date-time)
Read Only:
true
The last update date of the GIS feature of the reference entity of a location. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who last updated the reference entity type. -
LastUpdatedByUserName: string
Maximum Length:
30
The user who last updated the reference entity type. -
Latitude: number
Read Only:
true
The lattitude of a reference entity location. -
LayoutVersion: string
Maximum Length:
30
The layout version of a reference entity. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Longitude: number
Read Only:
true
The longitude of a reference entity location. -
MigratedDataFlag: string
Maximum Length:
3
The migrated flag of the reference entity, indicating whether the reference entity was migrated. -
MobileFlag: string
Maximum Length:
1
The mobile flag of reference entity, indicating if it is application to mobile usage. -
ParentRecordKey: integer
(int64)
Title:
Parent
The parent ID of the reference entity. -
PostalCode: string
Read Only:
true
Maximum Length:60
The postal code in which a reference entity is located. -
ProgramTypeId: string
Maximum Length:
50
The program type ID of reference entity. -
RecordId: string
Title:
ID
Maximum Length:50
The record ID of the reference entity. -
RecordKey: integer
(int64)
The unique ID for reference entity.
-
RecordName: string
Maximum Length:
80
The record name for a reference entity. -
RecordNumber: string
Maximum Length:
64
The record number for a reference entity. -
RefEntityLocationId: string
Read Only:
true
Maximum Length:50
The location ID of a reference entity. -
RefEntityLocationKey: integer
(int64)
Read Only:
true
The location of a reference entity. -
ReName: string
Title:
Name
Maximum Length:100
The name of a reference entity. -
ReType: string
Title:
Reference Entity Type
Read Only:true
Maximum Length:100
The reference entity type for a reference entity. -
ReTypeCode: string
Title:
Reference Entity Type ID
Read Only:true
Maximum Length:40
The type code of a reference entity. -
ReTypeId: string
Title:
Reference Entity Type ID
Read Only:true
Maximum Length:50
The type ID of a reference entity. -
RowType: string
Maximum Length:
30
The row type of a reference entity. -
State: string
Read Only:
true
Maximum Length:60
The state in which a reference entity is located. -
Status: string
Title:
Status
Maximum Length:30
The status of the reference entity. -
StatusMeaning: string
Read Only:
true
Maximum Length:50
The meaning of a status as defined for the lookup type. -
Subcategory: string
Title:
Subcategory
Read Only:true
Maximum Length:30
The sub category of a reference entity. -
SubcategoryMeaning: string
Read Only:
true
Maximum Length:255
The meaning of a subcategory as defined for the lookup type. -
SubClassification: string
Title:
Subclassification
Read Only:true
Maximum Length:10
The sub classification of the reference entity. -
SubmitDate: string
(date-time)
The submit date of a reference entity.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.