POST api/customerbalance/makePayment/{customerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

Body Parameters

CustomerPayment
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Amount

decimal number

None.

Description

string

None.

ReferenceNumber

string

None.

Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Amount": 2.0,
  "Description": "sample string 3",
  "ReferenceNumber": "sample string 4",
  "Date": "2024-12-21T05:38:57.2084219+00:00"
}

text/html

Sample:
{"CustomerId":1,"Amount":2.0,"Description":"sample string 3","ReferenceNumber":"sample string 4","Date":"2024-12-21T05:38:57.2084219+00:00"}

application/xml, text/xml

Sample:
<CustomerPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VetAPI.Models">
  <Amount>2</Amount>
  <CustomerId>1</CustomerId>
  <Date>2024-12-21T05:38:57.2084219+00:00</Date>
  <Description>sample string 3</Description>
  <ReferenceNumber>sample string 4</ReferenceNumber>
</CustomerPayment>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.