POST Api/WBLearning/AddVoucher
Request Information
URI Parameters
None.
Body Parameters
VoucherInfoName | Description | Type | Additional information |
---|---|---|---|
Voucher_ID | decimal number |
None. |
|
Voucher_Source_ID | decimal number |
None. |
|
Voucher_Client_ID | decimal number |
None. |
|
Voucher_Staff_ID | decimal number |
None. |
|
Voucher_Start_Date | date |
None. |
|
Voucher_Expires | date |
None. |
|
Voucher_PO | string |
None. |
|
Voucher_Max_Hour_Amount | decimal number |
None. |
|
Voucher_Max_Dollar_Amount | decimal number |
None. |
|
Voucher_Hourly_Rate | decimal number |
None. |
|
Voucher_Billed | integer |
None. |
|
Voucher_Invoice_Number | string |
None. |
|
Voucher_Invoice_Date | date |
None. |
|
Voucher_Invoice_Amount | decimal number |
None. |
|
Voucher_Complete | string |
None. |
|
Voucher_Paid | integer |
None. |
|
Voucher_Paid_Amount | decimal number |
None. |
|
Voucher_Paid_Date | date |
None. |
|
Voucher_Notes | string |
None. |
|
Voucher_Waiver_Code | string |
None. |
|
Voucher_Contact_ID | decimal number |
None. |
|
Voucher_Employment_Goal | string |
None. |
|
Voucher_Outcome_Number | integer |
None. |
|
Voucher_Service_Number | integer |
None. |
|
Voucher_Max_Dollar_Amount_Monthly | decimal number |
None. |
|
CampusName | string |
None. |
|
UserID | string |
None. |
|
DeviceID | string |
None. |
|
DeviceOS | string |
None. |
|
Version | string |
None. |
|
accessToken | string |
Required Matching regular expression pattern: ^a4768b1a-b5c1-4561-86e7-324b8a368354$ |
Request Formats
application/json, text/json
Sample:
{ "Voucher_ID": 1.0, "Voucher_Source_ID": 2.0, "Voucher_Client_ID": 3.0, "Voucher_Staff_ID": 4.0, "Voucher_Start_Date": "2025-05-31T22:52:27.2347483-04:00", "Voucher_Expires": "2025-05-31T22:52:27.2347483-04:00", "Voucher_PO": "sample string 5", "Voucher_Max_Hour_Amount": 6.1, "Voucher_Max_Dollar_Amount": 7.0, "Voucher_Hourly_Rate": 8.0, "Voucher_Billed": 9, "Voucher_Invoice_Number": "sample string 10", "Voucher_Invoice_Date": "2025-05-31T22:52:27.2347483-04:00", "Voucher_Invoice_Amount": 1.0, "Voucher_Complete": "sample string 11", "Voucher_Paid": 12, "Voucher_Paid_Amount": 13.0, "Voucher_Paid_Date": "2025-05-31T22:52:27.2347483-04:00", "Voucher_Notes": "sample string 14", "Voucher_Waiver_Code": "sample string 15", "Voucher_Contact_ID": 16.0, "Voucher_Employment_Goal": "sample string 17", "Voucher_Outcome_Number": 18, "Voucher_Service_Number": 19, "Voucher_Max_Dollar_Amount_Monthly": 20.0, "CampusName": "sample string 21", "UserID": "sample string 22", "DeviceID": "sample string 23", "DeviceOS": "sample string 24", "Version": "sample string 25", "accessToken": "sample string 26" }
text/html
Sample:
{"Voucher_ID":1.0,"Voucher_Source_ID":2.0,"Voucher_Client_ID":3.0,"Voucher_Staff_ID":4.0,"Voucher_Start_Date":"2025-05-31T22:52:27.2347483-04:00","Voucher_Expires":"2025-05-31T22:52:27.2347483-04:00","Voucher_PO":"sample string 5","Voucher_Max_Hour_Amount":6.1,"Voucher_Max_Dollar_Amount":7.0,"Voucher_Hourly_Rate":8.0,"Voucher_Billed":9,"Voucher_Invoice_Number":"sample string 10","Voucher_Invoice_Date":"2025-05-31T22:52:27.2347483-04:00","Voucher_Invoice_Amount":1.0,"Voucher_Complete":"sample string 11","Voucher_Paid":12,"Voucher_Paid_Amount":13.0,"Voucher_Paid_Date":"2025-05-31T22:52:27.2347483-04:00","Voucher_Notes":"sample string 14","Voucher_Waiver_Code":"sample string 15","Voucher_Contact_ID":16.0,"Voucher_Employment_Goal":"sample string 17","Voucher_Outcome_Number":18,"Voucher_Service_Number":19,"Voucher_Max_Dollar_Amount_Monthly":20.0,"CampusName":"sample string 21","UserID":"sample string 22","DeviceID":"sample string 23","DeviceOS":"sample string 24","Version":"sample string 25","accessToken":"sample string 26"}
application/xml, text/xml
Sample:
<VoucherInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model"> <CampusName>sample string 21</CampusName> <DeviceID>sample string 23</DeviceID> <DeviceOS>sample string 24</DeviceOS> <UserID>sample string 22</UserID> <Version>sample string 25</Version> <accessToken>sample string 26</accessToken> <Voucher_Billed>9</Voucher_Billed> <Voucher_Client_ID>3</Voucher_Client_ID> <Voucher_Complete>sample string 11</Voucher_Complete> <Voucher_Contact_ID>16</Voucher_Contact_ID> <Voucher_Employment_Goal>sample string 17</Voucher_Employment_Goal> <Voucher_Expires>2025-05-31T22:52:27.2347483-04:00</Voucher_Expires> <Voucher_Hourly_Rate>8</Voucher_Hourly_Rate> <Voucher_ID>1</Voucher_ID> <Voucher_Invoice_Amount>1</Voucher_Invoice_Amount> <Voucher_Invoice_Date>2025-05-31T22:52:27.2347483-04:00</Voucher_Invoice_Date> <Voucher_Invoice_Number>sample string 10</Voucher_Invoice_Number> <Voucher_Max_Dollar_Amount>7</Voucher_Max_Dollar_Amount> <Voucher_Max_Dollar_Amount_Monthly>20</Voucher_Max_Dollar_Amount_Monthly> <Voucher_Max_Hour_Amount>6.1</Voucher_Max_Hour_Amount> <Voucher_Notes>sample string 14</Voucher_Notes> <Voucher_Outcome_Number>18</Voucher_Outcome_Number> <Voucher_PO>sample string 5</Voucher_PO> <Voucher_Paid>12</Voucher_Paid> <Voucher_Paid_Amount>13</Voucher_Paid_Amount> <Voucher_Paid_Date>2025-05-31T22:52:27.2347483-04:00</Voucher_Paid_Date> <Voucher_Service_Number>19</Voucher_Service_Number> <Voucher_Source_ID>2</Voucher_Source_ID> <Voucher_Staff_ID>4</Voucher_Staff_ID> <Voucher_Start_Date>2025-05-31T22:52:27.2347483-04:00</Voucher_Start_Date> <Voucher_Waiver_Code>sample string 15</Voucher_Waiver_Code> </VoucherInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />