POST api/PayInvoices

Request Information

URI Parameters

None.

Body Parameters

PayInvoiceModel
NameDescriptionTypeAdditional information
ShopInstallationID

integer

None.

CustomerID

integer

None.

Amount

decimal number

None.

ConfirmCode

integer

None.

SenderConfirmCode

integer

None.

invDesc

string

None.

InvoiceURL

string

None.

VoucherNo

integer

None.

LangID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ShopInstallationID": 1,
  "CustomerID": 2,
  "Amount": 3.1,
  "ConfirmCode": 4,
  "SenderConfirmCode": 5,
  "invDesc": "sample string 6",
  "InvoiceURL": "sample string 7",
  "VoucherNo": 8,
  "LangID": 9
}

text/xml

Sample:
<PayInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCashAPI.Models">
  <Amount>3.1</Amount>
  <ConfirmCode>4</ConfirmCode>
  <CustomerID>2</CustomerID>
  <InvoiceURL>sample string 7</InvoiceURL>
  <LangID>9</LangID>
  <SenderConfirmCode>5</SenderConfirmCode>
  <ShopInstallationID>1</ShopInstallationID>
  <VoucherNo>8</VoucherNo>
  <invDesc>sample string 6</invDesc>
</PayInvoiceModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.