Create a fee instance
post
/fscmRestApi/resources/11.13.18.05/hedFeeInstances
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-
AllowDiscountFlag(required): boolean
Title:
Allow DiscountMaximum Length:1Flag to indicate if discount is allowed for the fee or not. If set to yes, discount is allowed. -
EndDate: string
(date)
Title:
Instance End DateEnd date of the fee instance. -
FeeCode(required): string
Title:
Fee CodeMaximum Length:30Code of fee instance. -
FeeDescription(required): string
Title:
DescriptionMaximum Length:240Description of the fee. -
FeeId(required): integer
(int64)
Title:
Fee IDUnique identifier of the fee. -
FeeInstanceCode: string
Title:
Instance CodeMaximum Length:30Code of the fees. -
FeeName: string
Title:
Fee NameMaximum Length:50Name of the fee. -
FeeTypeCode: string
Title:
Fee Type CodeMaximum Length:30Code of the fee type. -
FeeTypeId(required): integer
Title:
Fee TypeUnique identifier of the fee type. -
FlatAmount: number
Title:
AmountDefault Value:0The amount setup for the fee instance. -
StartDate(required): string
(date)
Title:
Instance Start DateStart date of the fee instance. -
tagAssignments: array
Tag Assignments
Title:
Tag AssignmentsTags provide a way to classify, group, or process fees as well as report on fee transactions.
Nested Schema : Tag Assignments
Type:
arrayTitle:
Tag AssignmentsTags provide a way to classify, group, or process fees as well as report on fee transactions.
Show Source
Nested Schema : hedFeeInstances-tagAssignments-item-post-request
Type:
Show Source
object-
TagCode: string
Title:
Tag CodeMaximum Length:30Code of a tag assigned to a fee. -
TagId: integer
(int64)
Title:
Tag IDUnique identifier of a tag assigned to the fee.
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 : hedFeeInstances-item-response
Type:
Show Source
object-
ActiveFlag: boolean
Title:
Active FlagRead Only:trueMaximum Length:1Flag to indicate if the fee is active or inactive. If yes, the fee is active, else it's inactive. -
AllowDiscountFlag: boolean
Title:
Allow DiscountMaximum Length:1Flag to indicate if discount is allowed for the fee or not. If set to yes, discount is allowed. -
CurrencyCode: string
Title:
CurrencyRead Only:trueMaximum Length:15The currency code associated with the fees. -
CurrencySymbol: string
Title:
Currency SymbolRead Only:trueMaximum Length:255The currency symbol associated with the fees. -
DeletableFlag: boolean
Title:
Delete FlagRead Only:trueMaximum Length:1Flag to indicate if the fee instance can be deleted. If set to yes, delete is allowed, else it's not allowed. -
EndDate: string
(date)
Title:
Instance End DateEnd date of the fee instance. -
FeeAtrrStatusCode: string
Title:
Status CodeRead Only:trueMaximum Length:255Fee instance status code. -
FeeAtrrStatusMeaning: string
Title:
Status MeaningRead Only:trueMaximum Length:255Fee instance status meaning. -
FeeCode: string
Title:
Fee CodeMaximum Length:30Code of fee instance. -
FeeDescription: string
Title:
DescriptionMaximum Length:240Description of the fee. -
FeeId: integer
(int64)
Title:
Fee IDUnique identifier of the fee. -
FeeInstanceCode: string
Title:
Instance CodeMaximum Length:30Code of the fees. -
FeeInstanceCodeLockFlag: boolean
Title:
Fee Instance Code Lock FlagRead Only:trueMaximum Length:1Lock flag to indicate if the instance code can be updated or not. If set to yes, it can't be updated by the user. -
FeeInstanceId: integer
(int64)
Title:
Fee Attribute IDRead Only:trueUnique identifier of the fee instance. -
FeeName: string
Title:
Fee NameMaximum Length:50Name of the fee. -
FeeTypeCode: string
Title:
Fee Type CodeMaximum Length:30Code of the fee type. -
FeeTypeId: integer
Title:
Fee TypeUnique identifier of the fee type. -
FeeTypeName: string
Title:
Fee Type NameRead Only:trueMaximum Length:50Name of the fee type. -
FlatAmount: number
Title:
AmountDefault Value:0The amount setup for the fee instance. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueLast updated date of the fee record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
StartDate: string
(date)
Title:
Instance Start DateStart date of the fee instance. -
tagAssignments: array
Tag Assignments
Title:
Tag AssignmentsTags provide a way to classify, group, or process fees as well as report on fee transactions.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Tag Assignments
Type:
arrayTitle:
Tag AssignmentsTags provide a way to classify, group, or process fees as well as report on fee transactions.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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.
Nested Schema : hedFeeInstances-tagAssignments-item-response
Type:
Show Source
object-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TagAssignmentId: integer
(int64)
Title:
Tag Assignment IDRead Only:trueUnique identifier of the assignment of a tag to the fee. -
TagCode: string
Title:
Tag CodeMaximum Length:30Code of a tag assigned to a fee. -
TagId: integer
(int64)
Title:
Tag IDUnique identifier of a tag assigned to the fee. -
TagName: string
Title:
Tag NameRead Only:trueMaximum Length:64Name of a tag assigned to a fee.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- feeTypesLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: FeeTypeCode; Target Attribute: FeeTypeCode
- Display Attribute: FeeTypeName
- tagAssignments
-
Parameters:
- FeeInstanceId:
$request.path.FeeInstanceId
Tags provide a way to classify, group, or process fees as well as report on fee transactions. - FeeInstanceId: