POST api/Invoice/SaveParcelOrderInvoice

Request Information

URI Parameters

None.

Body Parameters

ParcelOrderInvoiceEntity
NameDescriptionTypeAdditional information
Flag

string

None.

Name

string

None.

Address

string

None.

PhoneNumber

string

None.

OrderFrom

string

None.

InvoiceId

integer

None.

ProfileId

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Flag": "sample string 1",
  "Name": "sample string 2",
  "Address": "sample string 3",
  "PhoneNumber": "sample string 4",
  "OrderFrom": "sample string 5",
  "InvoiceId": 6,
  "ProfileId": 7,
  "UserId": 8
}

application/xml, text/xml

Sample:
<ParcelOrderInvoiceEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VCINT_API.Models">
  <Address>sample string 3</Address>
  <Flag>sample string 1</Flag>
  <InvoiceId>6</InvoiceId>
  <Name>sample string 2</Name>
  <OrderFrom>sample string 5</OrderFrom>
  <PhoneNumber>sample string 4</PhoneNumber>
  <ProfileId>7</ProfileId>
  <UserId>8</UserId>
</ParcelOrderInvoiceEntity>

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 'ParcelOrderInvoiceEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.