POST api/PrepaidVouchers
Request Information
URI Parameters
None.
Body Parameters
PrepaidVoucherSell| Name | Description | Type | Additional information |
|---|---|---|---|
| PayerId | integer |
None. |
|
| PayerAlias | string |
None. |
|
| PayerEmail | string |
None. |
|
| PayerPhone | string |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerAlias | string |
None. |
|
| CustomerEmail | string |
None. |
|
| CustomerPhone | string |
None. |
|
| PaymentTypeId | integer |
None. |
|
| PaymentTypeDescription | string |
None. |
|
| AmountPaid | decimal number |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PayerId": 1,
"PayerAlias": "sample string 2",
"PayerEmail": "sample string 3",
"PayerPhone": "sample string 4",
"CustomerId": 5,
"CustomerAlias": "sample string 6",
"CustomerEmail": "sample string 7",
"CustomerPhone": "sample string 8",
"PaymentTypeId": 9,
"PaymentTypeDescription": "sample string 10",
"AmountPaid": 11.1,
"Notes": "sample string 12"
}
application/xml, text/xml
Sample:
<PrepaidVoucherSell xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <AmountPaid>11.1</AmountPaid> <CustomerAlias>sample string 6</CustomerAlias> <CustomerEmail>sample string 7</CustomerEmail> <CustomerId>5</CustomerId> <CustomerPhone>sample string 8</CustomerPhone> <Notes>sample string 12</Notes> <PayerAlias>sample string 2</PayerAlias> <PayerEmail>sample string 3</PayerEmail> <PayerId>1</PayerId> <PayerPhone>sample string 4</PayerPhone> <PaymentTypeDescription>sample string 10</PaymentTypeDescription> <PaymentTypeId>9</PaymentTypeId> </PrepaidVoucherSell>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PrepaidVoucher| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| PayerId | integer |
None. |
|
| PayerAlias | string |
None. |
|
| PayDate | date |
None. |
|
| ChrgId | integer |
None. |
|
| AmountPaid | decimal number |
None. |
|
| AmountConsumed | decimal number |
None. |
|
| IssueDate | date |
None. |
|
| Notes | string |
None. |
|
| State | PrepaidVoucherStates |
None. |
|
| ExpirationDate | date |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.