POST api/pod/billing/IssueInvoice

Request Information

URI Parameters

None.

Body Parameters

Collection of InvoiceItemBindingModel
NameDescriptionTypeAdditional information
EntityId

integer

None.

Quantity

integer

None.

Price

decimal number

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EntityId": 1,
    "Quantity": 2,
    "Price": 3.0,
    "Description": "sample string 4"
  },
  {
    "EntityId": 1,
    "Quantity": 2,
    "Price": 3.0,
    "Description": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoiceItemBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models">
  <InvoiceItemBindingModel>
    <Description>sample string 4</Description>
    <EntityId>1</EntityId>
    <Price>3</Price>
    <Quantity>2</Quantity>
  </InvoiceItemBindingModel>
  <InvoiceItemBindingModel>
    <Description>sample string 4</Description>
    <EntityId>1</EntityId>
    <Price>3</Price>
    <Quantity>2</Quantity>
  </InvoiceItemBindingModel>
</ArrayOfInvoiceItemBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InvoiceViewModel
NameDescriptionTypeAdditional information
InvoiceId

integer

None.

PaymentLink

string

None.

Result

string

None.

HasErrors

boolean

None.

Message

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "InvoiceId": 1,
  "PaymentLink": "sample string 2",
  "Result": "sample string 3",
  "HasErrors": false,
  "Message": []
}

application/xml, text/xml

Sample:
<InvoiceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models">
  <Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <Result>sample string 3</Result>
  <InvoiceId>1</InvoiceId>
  <PaymentLink>sample string 2</PaymentLink>
</InvoiceViewModel>