POST InvoiceApi/InvoiceAddWithWebSite

Request Information

URI Parameters

None.

Body Parameters

InvoiceAddWithWebSiteVM
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

IsPhoneInvoice

boolean

None.

Price

decimal number

None.

PaymentNote

string

None.

OtherInvoiceText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneNumber": "sample string 1",
  "IsPhoneInvoice": true,
  "Price": 3.0,
  "PaymentNote": "sample string 4",
  "OtherInvoiceText": "sample string 5"
}

application/xml, text/xml

Sample:
<InvoiceAddWithWebSiteVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RegexPoint.Models.Invoice">
  <IsPhoneInvoice>true</IsPhoneInvoice>
  <OtherInvoiceText>sample string 5</OtherInvoiceText>
  <PaymentNote>sample string 4</PaymentNote>
  <PhoneNumber>sample string 1</PhoneNumber>
  <Price>3</Price>
</InvoiceAddWithWebSiteVM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InvoiceAddWithWebSiteVM'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.