POST customer/receipt

By Customer Code, POST New Receipt

Request Information

URI Parameters

None.

Body Parameters

Interprise.Web.Services.Models.CustomerReceiptInput
NameDescriptionTypeAdditional information
CustomerCode

string

None.

ReceivedFrom

string

None.

PaymentType

string

None.

AmountPaid

decimal number

None.

CurrencyExchangeRate

decimal number

None.

Notes

string

None.

CheckNumber

string

None.

IsDeposit

If unset or not specified, the value will default to payment type setting

boolean

None.

BankAccount

string

None.

PayingInSlip

string

None.

CustomFields

Collection of all the custom fields in PaymentMethod table

Collection of Interprise.Web.Services.Models.CustomField

None.

Request Formats

{
  "customerCode": "sample string 1",
  "receivedFrom": "sample string 2",
  "paymentType": "sample string 3",
  "amountPaid": 4.0,
  "currencyExchangeRate": 1.0,
  "notes": "sample string 5",
  "checkNumber": "sample string 6",
  "isDeposit": true,
  "bankAccount": "sample string 7",
  "payingInSlip": "sample string 8",
  "customFields": [
    {
      "field": "sample string 1",
      "value": {}
    },
    {
      "field": "sample string 1",
      "value": {}
    }
  ]
}
<CustomerReceiptInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerCode>sample string 1</CustomerCode>
  <ReceivedFrom>sample string 2</ReceivedFrom>
  <PaymentType>sample string 3</PaymentType>
  <AmountPaid>4</AmountPaid>
  <CurrencyExchangeRate>1</CurrencyExchangeRate>
  <Notes>sample string 5</Notes>
  <CheckNumber>sample string 6</CheckNumber>
  <IsDeposit>true</IsDeposit>
  <BankAccount>sample string 7</BankAccount>
  <PayingInSlip>sample string 8</PayingInSlip>
  <CustomFields>
    <CustomField>
      <Field>sample string 1</Field>
      <Value />
    </CustomField>
    <CustomField>
      <Field>sample string 1</Field>
      <Value />
    </CustomField>
  </CustomFields>
</CustomerReceiptInput>

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerReceiptInput'.

Response Information

Resource Description

Interprise.Web.Services.Application.Response.DefaultResponse
NameDescriptionTypeAdditional information
Message

Gets or sets the response message

string

None.

Response Formats

Sample not available.