POST api/invoicing/Create

Request Information

URI Parameters

None.

Body Parameters

CreateInvoiceModel
NameDescriptionTypeAdditional information
CustomerId

string

None.

LineItems

Collection of InvoiceLineItem

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "sample string 1",
  "LineItems": [
    {
      "ItemId": "sample string 1",
      "Quantity": 2
    },
    {
      "ItemId": "sample string 1",
      "Quantity": 2
    }
  ]
}

application/xml, text/xml

Sample:
<CreateInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TestAPI.Models.IntuitModels">
  <CustomerId>sample string 1</CustomerId>
  <LineItems>
    <InvoiceLineItem>
      <ItemId>sample string 1</ItemId>
      <Quantity>2</Quantity>
    </InvoiceLineItem>
    <InvoiceLineItem>
      <ItemId>sample string 1</ItemId>
      <Quantity>2</Quantity>
    </InvoiceLineItem>
  </LineItems>
</CreateInvoiceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.