Create payment plan enrollments
post
/fscmRestApi/resources/11.13.18.05/paymentPlanEnrollments
Request
Header Parameters
-
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.
-
Upsert-Mode:
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-
invoices: array
Invoices
Title:
InvoicesInvoices included in the payment plan. -
PartyId: integer
(int64)
Title:
Party IDThe party ID of the student enrolled in the payment plan. -
PaymentPlanCode(required): string
Title:
Payment Plan CodeMaximum Length:30Code for the payment plan. -
PaymentPlanId(required): integer
(int64)
Title:
Payment Plan IDUnique identifier of the payment plan. -
PlanStatusCode(required): string
Title:
Plan Status CodeMaximum Length:30Payment plan status code, for example enrolled, paid, or past due. A list of accepted values is defined in the lookup type ORA_HES_PAYMENT_PLAN_STATUS. -
schedules: array
Schedules
Title:
SchedulesSchedule of required payments for the payment plan. -
StatusCode(required): string
Title:
Status CodeMaximum Length:30Payment plan version status code, for example, published, unpublished, or draft. A list of accepted values is defined in the lookup type ORA_HEY_VERSION_STATUS.
Nested Schema : Invoices
Type:
arrayTitle:
InvoicesInvoices included in the payment plan.
Show Source
Nested Schema : Schedules
Type:
arrayTitle:
SchedulesSchedule of required payments for the payment plan.
Show Source
Nested Schema : paymentPlanEnrollments-invoices-item-post-request
Type:
Show Source
object-
invoiceDetails: array
Details
Title:
DetailsDetails about invoices in the payment plan. -
InvoiceId(required): integer
(int64)
Title:
Invoice IDUnique identifier of the invoice included in the payment plan.
Nested Schema : Details
Type:
arrayTitle:
DetailsDetails about invoices in the payment plan.
Show Source
Nested Schema : paymentPlanEnrollments-invoices-invoiceDetails-item-post-request
Type:
Show Source
objectResponse
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 : paymentPlanEnrollments-item-response
Type:
Show Source
object-
CustomerAccountNumbers: string
Title:
Customer Account NumbersRead Only:trueMaximum Length:255Customer account number for the transactions included in the payment plan. -
EmailAddress: string
Title:
Email AddressRead Only:trueMaximum Length:255Email address for the student enrolled in the payment plan. -
EnrollmentDate: string
(date)
Title:
Enrollment DateRead Only:trueDate the student enrolled in the payment plan. -
invoices: array
Invoices
Title:
InvoicesInvoices included in the payment plan. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartyId: integer
(int64)
Title:
Party IDThe party ID of the student enrolled in the payment plan. -
PartyName: string
Title:
Party NameRead Only:trueMaximum Length:255The name of the student enrolled in the payment plan. -
PaymentPlanCode: string
Title:
Payment Plan CodeMaximum Length:30Code for the payment plan. -
PaymentPlanId: integer
(int64)
Title:
Payment Plan IDUnique identifier of the payment plan. -
PaymentPlanName: string
Title:
Payment Plan NameRead Only:trueMaximum Length:50Name of the payment plan. -
PlanEnrollmentId: integer
(int64)
Title:
Plan Enrollment IDRead Only:trueUnique identifier of the payment plan enrollment. -
PlanStatusCode: string
Title:
Plan Status CodeMaximum Length:30Payment plan status code, for example enrolled, paid, or past due. A list of accepted values is defined in the lookup type ORA_HES_PAYMENT_PLAN_STATUS. -
PlanStatusMeaning: string
Title:
Plan StatusRead Only:trueMaximum Length:80The meaning of the current payment plan status code. A list of accepted values is defined in the lookup type ORA_HES_PAYMENT_PLAN_STATUS. -
schedules: array
Schedules
Title:
SchedulesSchedule of required payments for the payment plan. -
StatusCode: string
Title:
Status CodeMaximum Length:30Payment plan version status code, for example, published, unpublished, or draft. A list of accepted values is defined in the lookup type ORA_HEY_VERSION_STATUS. -
StatusMeaning: string
Title:
StatusRead Only:trueMaximum Length:80The meaning of the current payment plan version status code. A list of accepted values is defined in the lookup type ORA_HEY_VERSION_STATUS.
Nested Schema : Invoices
Type:
arrayTitle:
InvoicesInvoices included in the payment plan.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Schedules
Type:
arrayTitle:
SchedulesSchedule of required payments for the payment plan.
Show Source
Nested Schema : paymentPlanEnrollments-invoices-item-response
Type:
Show Source
object-
Amount: number
Title:
AmountRead Only:trueDefault Value:0Amount of the invoice included in the plan. The amount can be less than the overall invoice amount. -
invoiceDetails: array
Details
Title:
DetailsDetails about invoices in the payment plan. -
InvoiceId: integer
(int64)
Title:
Invoice IDUnique identifier of the invoice included in the payment plan. -
InvoiceNumber: string
Title:
Invoice NumberRead Only:trueMaximum Length:255Invoice number associated with the invoice in the payment plan. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PlanInvoiceId: integer
(int64)
Title:
Plan Invoice IDRead Only:trueUnique identifier for the header of an invoice in the payment plan.
Nested Schema : Details
Type:
arrayTitle:
DetailsDetails about invoices in the payment plan.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : paymentPlanEnrollments-invoices-invoiceDetails-item-response
Type:
Show Source
object-
Amount: number
Title:
AmountRead Only:trueAmount of the invoice expected to be paid on the due date. -
DueDate: string
(date)
Title:
Due DateRead Only:trueDue date for an invoice in the payment plan. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PaidFlag: boolean
Title:
Paid FlagRead Only:trueMaximum Length:1Indicates whether the invoice in the payment plan is paid. When an invoice is unpaid, students can see that a payment is due on their Enrolled Plans page and can receive reminder communications. -
PlanInvoiceDetailId: integer
(int64)
Title:
Plan Invoice Detail IDRead Only:trueUnique identifier for the payment plan invoice detail.
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.
Nested Schema : paymentPlanEnrollments-schedules-item-response
Type:
Show Source
object-
Amount: number
Title:
AmountRead Only:trueAmount in the payment plan that's expected to be paid on the due date. -
DueDate: string
(date)
Title:
Due DateRead Only:trueThe scheduled due date for a payment plan payment. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PaidFlag: boolean
Title:
Paid FlagRead Only:trueMaximum Length:1Indicates whether the payment plan has been paid. When a plan isn't paid, it can be adjusted to include new charges, and enrollment in the plan can be canceled. -
PlanEnrollmentScheduleId: integer
(int64)
Title:
Plan Enrollment Schedule IDRead Only:trueUnique identifier of the payment schedule for the payment plan enrollment.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- invoices
-
Operation: /fscmRestApi/resources/11.13.18.05/paymentPlanEnrollments/{PlanEnrollmentId}/child/invoicesParameters:
- PlanEnrollmentId:
$request.path.PlanEnrollmentId
Invoices included in the payment plan. - PlanEnrollmentId:
- paymentPlanCodesLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: PaymentPlanCode; Target Attribute: PaymentPlanCode
- Display Attribute: Name
- schedules
-
Operation: /fscmRestApi/resources/11.13.18.05/paymentPlanEnrollments/{PlanEnrollmentId}/child/schedulesParameters:
- PlanEnrollmentId:
$request.path.PlanEnrollmentId
Schedule of required payments for the payment plan. - PlanEnrollmentId: