POST api/pod/VirtualAccount/IssueCreditInvoice

Request Information

URI Parameters

None.

Body Parameters

IssueCreditInvoiceBindingModel
NameDescriptionTypeAdditional information
Amount

integer

None.

UserId

integer

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1,
  "UserId": 2,
  "Description": "sample string 3"
}

application/xml, text/xml

Sample:
<IssueCreditInvoiceBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Amount>1</Amount>
  <Description>sample string 3</Description>
  <UserId>2</UserId>
</IssueCreditInvoiceBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreditViewMode
NameDescriptionTypeAdditional information
Link

string

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Link": "sample string 1",
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<CreditViewMode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models" />
  <Link>sample string 1</Link>
</CreditViewMode>