POST InvoiceApi/InvoiceAdd
Request Information
URI Parameters
None.
Body Parameters
InvoiceAddVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PhoneID | integer |
None. |
|
| InvoiceTypeID | integer |
None. |
|
| Price | decimal number |
None. |
|
| PaymentNote | string |
None. |
|
| HostRefNum | string |
None. |
|
| IsPhoneInvoice | boolean |
None. |
|
| OtherInvoiceText | string |
None. |
|
| InvoiceDate | date |
None. |
|
| PhoneNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PhoneID": 2,
"InvoiceTypeID": 3,
"Price": 4.0,
"PaymentNote": "sample string 5",
"HostRefNum": "sample string 6",
"IsPhoneInvoice": true,
"OtherInvoiceText": "sample string 8",
"InvoiceDate": "2025-12-23T18:55:52.5450476+03:00",
"PhoneNumber": "sample string 10"
}
application/xml, text/xml
Sample:
<InvoiceAddVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RegexPoint.Models.Invoice"> <HostRefNum>sample string 6</HostRefNum> <ID>1</ID> <InvoiceDate>2025-12-23T18:55:52.5450476+03:00</InvoiceDate> <InvoiceTypeID>3</InvoiceTypeID> <IsPhoneInvoice>true</IsPhoneInvoice> <OtherInvoiceText>sample string 8</OtherInvoiceText> <PaymentNote>sample string 5</PaymentNote> <PhoneID>2</PhoneID> <PhoneNumber>sample string 10</PhoneNumber> <Price>4</Price> </InvoiceAddVM>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.