POST api/v2/admin/payments/invoice/record

Request Information

URI Parameters

None.

Body Parameters

AdminInvoiceRecord
NameDescriptionTypeAdditional information
InvoiceReference

string

None.

ConfirmAccountId

integer

None.

ConfirmPaymentId

string

None.

InvoiceIssuedElsewhere

boolean

None.

ExpectedVersion

string

None.

RequestId

globally unique identifier

None.

Reason

string

None.

Preview

boolean

None.

Source

string

None.

PaymentId

string

None.

AccountId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceReference": "sample string 1",
  "ConfirmAccountId": 2,
  "ConfirmPaymentId": "sample string 3",
  "InvoiceIssuedElsewhere": true,
  "ExpectedVersion": "sample string 5",
  "RequestId": "9575183b-9c34-4224-a0b7-b7e88760514d",
  "Reason": "sample string 7",
  "Preview": true,
  "Source": "sample string 9",
  "PaymentId": "sample string 10",
  "AccountId": 11
}

application/xml, text/xml

Sample:
<AdminInvoiceRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SatisEntegrasyonWebApi.Controllers">
  <AccountId>11</AccountId>
  <PaymentId>sample string 10</PaymentId>
  <Source>sample string 9</Source>
  <ConfirmAccountId>2</ConfirmAccountId>
  <ConfirmPaymentId>sample string 3</ConfirmPaymentId>
  <ExpectedVersion>sample string 5</ExpectedVersion>
  <InvoiceIssuedElsewhere>true</InvoiceIssuedElsewhere>
  <InvoiceReference>sample string 1</InvoiceReference>
  <Preview>true</Preview>
  <Reason>sample string 7</Reason>
  <RequestId>9575183b-9c34-4224-a0b7-b7e88760514d</RequestId>
</AdminInvoiceRecord>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.