Create multiple bill calendar records
post
/hcmRestApi/resources/11.13.18.05/benefitBillCalendars
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-
benefitBillPeriods: array
Benefit Bill Periods
Title:
Benefit Bill PeriodsThe benefitBillPeriods resource provides details of bill periods within the bill calendars. -
BillCycleId: integer
(int64)
Title:
Benefits Bill Cycle IDUnique identifier of the bill calendar record. -
BillingFrequency(required): string
Title:
Billing FrequencyMaximum Length:200Frequency at which billing needs to be generated. -
CalendarName(required): string
Title:
Calendar NameMaximum Length:240Name of the bill calendar. -
DaysOverdue(required): integer
(int64)
Title:
Days OverdueNumber of days after the due date. -
Description: string
Title:
DescriptionMaximum Length:400Description of the bill calendar. -
PaymentDueDay(required): integer
(int64)
Title:
Payment Due DayPayment due date. -
PeriodType: string
Title:
Period TypeMaximum Length:30Type of the bill calendar.
Nested Schema : Benefit Bill Periods
Type:
arrayTitle:
Benefit Bill PeriodsThe benefitBillPeriods resource provides details of bill periods within the bill calendars.
Show Source
Nested Schema : benefitBillCalendars-benefitBillPeriods-item-post-request
Type:
Show Source
object-
BillCalendarId: integer
(int64)
Title:
Benefits Bill Calendar IDUnique identifier of the bill period. -
BillCycleId: integer
(int64)
Title:
Benefits Bill Cycle IDUnique identifier of the bill calendar. -
BillingPeriod: string
Title:
Billing PeriodMaximum Length:200Name of the billing period. -
BillYear: string
Title:
Year PeriodMaximum Length:200Year in which bill period is created. -
Comments: string
Title:
CommentsMaximum Length:4000Comment for the billing period. -
PaymentDueDate: string
(date)
Title:
Payment Due DatePayment due date. -
PaymentOverdueDate: string
(date)
Title:
Payment Overdue DatePayment over due date. -
PeriodEndDate: string
(date)
Bill period end date.
-
PeriodStartDate: string
(date)
Title:
Period Start DateBill period start date.
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 : benefitBillCalendars-item-response
Type:
Show Source
object-
benefitBillPeriods: array
Benefit Bill Periods
Title:
Benefit Bill PeriodsThe benefitBillPeriods resource provides details of bill periods within the bill calendars. -
BillCycleId: integer
(int64)
Title:
Benefits Bill Cycle IDUnique identifier of the bill calendar record. -
BillingFrequency: string
Title:
Billing FrequencyMaximum Length:200Frequency at which billing needs to be generated. -
BillingFrequencyMeaning: string
Read Only:
trueMaximum Length:255Frequency at which billing needs to be generated. -
CalendarName: string
Title:
Calendar NameMaximum Length:240Name of the bill calendar. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the bill calendar record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate and time when the bill calendar was created. -
DaysOverdue: integer
(int64)
Title:
Days OverdueNumber of days after the due date. -
Description: string
Title:
DescriptionMaximum Length:400Description of the bill calendar. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate and time when the bill calendar record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who last updated the bill calendar record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PaymentDueDay: integer
(int64)
Title:
Payment Due DayPayment due date. -
PeriodType: string
Title:
Period TypeMaximum Length:30Type of the bill calendar. -
PeriodTypeMeaning: string
Read Only:
trueMaximum Length:255Type of the bill calendar.
Nested Schema : Benefit Bill Periods
Type:
arrayTitle:
Benefit Bill PeriodsThe benefitBillPeriods resource provides details of bill periods within the bill calendars.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : benefitBillCalendars-benefitBillPeriods-item-response
Type:
Show Source
object-
BillCalendarId: integer
(int64)
Title:
Benefits Bill Calendar IDUnique identifier of the bill period. -
BillCycleId: integer
(int64)
Title:
Benefits Bill Cycle IDUnique identifier of the bill calendar. -
BillingPeriod: string
Title:
Billing PeriodMaximum Length:200Name of the billing period. -
BillYear: string
Title:
Year PeriodMaximum Length:200Year in which bill period is created. -
Comments: string
Title:
CommentsMaximum Length:4000Comment for the billing period. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64User who created the bill period record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueDate and time when the bill period was created. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueDate and time when the bill period record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64User who last updated the bill period record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PaymentDueDate: string
(date)
Title:
Payment Due DatePayment due date. -
PaymentOverdueDate: string
(date)
Title:
Payment Overdue DatePayment over due date. -
PeriodEndDate: string
(date)
Bill period end date.
-
PeriodStartDate: string
(date)
Title:
Period Start DateBill period start date.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
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.
Links
- benefitBillPeriods
-
Operation: /hcmRestApi/resources/11.13.18.05/benefitBillCalendars/{BillCycleId}/child/benefitBillPeriodsParameters:
- BillCycleId:
$request.path.BillCycleId
The benefitBillPeriods resource provides details of bill periods within the bill calendars. - BillCycleId: