POST InvoicesAPI/AddInvoiceForLibraryLoan
Request Information
URI Parameters
None.
Body Parameters
InvoicesName | Description | Type | Additional information |
---|---|---|---|
InvoiceID | integer |
None. |
|
AmountDue | decimal number |
None. |
|
AmountDueOtherFees | decimal number |
None. |
|
AmountPaidOtherFees | decimal number |
None. |
|
AmountPaid | decimal number |
None. |
|
DiscountsApplied | string |
None. |
|
TheInvoiceDate | date |
None. |
|
TheInvoiceDateStr | string |
None. |
|
InvoiceType | string |
None. |
|
InvoiceDescription | string |
None. |
|
Notes | string |
None. |
|
OtherFeesDescription | string |
None. |
|
PeopleIDSchoolRep | integer |
None. |
|
PeopleIDStudent | integer |
None. |
|
PeoplePayerName | string |
None. |
|
PeopleSchoolRepName | string |
None. |
|
PeopleStudentName | string |
None. |
|
pkSemesterID | integer |
None. |
|
SemesterID | string |
None. |
|
SendTheMail | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceID": 1, "AmountDue": 2.0, "AmountDueOtherFees": 3.0, "AmountPaidOtherFees": 4.0, "AmountPaid": 5.0, "DiscountsApplied": "sample string 6", "TheInvoiceDate": "2021-01-28T01:31:56.6204383+00:00", "TheInvoiceDateStr": "sample string 8", "InvoiceType": "sample string 9", "InvoiceDescription": "sample string 10", "Notes": "sample string 11", "OtherFeesDescription": "sample string 12", "PeopleIDSchoolRep": 13, "PeopleIDStudent": 14, "PeoplePayerName": "sample string 15", "PeopleSchoolRepName": "sample string 16", "PeopleStudentName": "sample string 17", "pkSemesterID": 18, "SemesterID": "sample string 19", "SendTheMail": "sample string 20" }
application/xml, text/xml
Sample:
<Invoices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models"> <AmountDue>2</AmountDue> <AmountDueOtherFees>3</AmountDueOtherFees> <AmountPaid>5</AmountPaid> <AmountPaidOtherFees>4</AmountPaidOtherFees> <DiscountsApplied>sample string 6</DiscountsApplied> <InvoiceDescription>sample string 10</InvoiceDescription> <InvoiceID>1</InvoiceID> <InvoiceType>sample string 9</InvoiceType> <Notes>sample string 11</Notes> <OtherFeesDescription>sample string 12</OtherFeesDescription> <PeopleIDSchoolRep>13</PeopleIDSchoolRep> <PeopleIDStudent>14</PeopleIDStudent> <PeoplePayerName>sample string 15</PeoplePayerName> <PeopleSchoolRepName>sample string 16</PeopleSchoolRepName> <PeopleStudentName>sample string 17</PeopleStudentName> <SemesterID>sample string 19</SemesterID> <SendTheMail>sample string 20</SendTheMail> <TheInvoiceDate>2021-01-28T01:31:56.6204383+00:00</TheInvoiceDate> <TheInvoiceDateStr>sample string 8</TheInvoiceDateStr> <pkSemesterID>18</pkSemesterID> </Invoices>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>