POST api/{version}/PaymentHub/SavePaymentRequestItem

Used to save the payment request item

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

Collection of PaymentRequestInvoiceItem
NameDescriptionTypeAdditional information
StudentProductId

Gets or sets the StudentProductId

integer

None.

itemType

Gets or sets the itemType

string

None.

SponsorPaymentRequestItemId

Gets or sets the SponsorPaymentRequestId

integer

None.

ItemName

Gets or sets the ItemName

string

None.

Quantity

Gets or sets the quantity

integer

None.

UnitPrice

Gets or sets the unit price

decimal number

None.

DisplayUnitPrice

Gets or sets the Display UnitPrice

string

None.

ItemType

string

None.

SponsorPaymentRequestId

integer

None.

FinalAmount

decimal number

None.

DisplayFinalAmount

string

None.

ItemTaxAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StudentProductId": 1,
    "itemType": "sample string 2",
    "SponsorPaymentRequestItemId": 3,
    "ItemName": "sample string 4",
    "Quantity": 5,
    "UnitPrice": 6.1,
    "DisplayUnitPrice": "sample string 7",
    "ItemType": "sample string 8",
    "SponsorPaymentRequestId": 9,
    "FinalAmount": 10.1,
    "DisplayFinalAmount": "sample string 11",
    "ItemTaxAmount": 12.1
  },
  {
    "StudentProductId": 1,
    "itemType": "sample string 2",
    "SponsorPaymentRequestItemId": 3,
    "ItemName": "sample string 4",
    "Quantity": 5,
    "UnitPrice": 6.1,
    "DisplayUnitPrice": "sample string 7",
    "ItemType": "sample string 8",
    "SponsorPaymentRequestId": 9,
    "FinalAmount": 10.1,
    "DisplayFinalAmount": "sample string 11",
    "ItemTaxAmount": 12.1
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>