POST api/Deliverysheet/MakePayments

Request Information

URI Parameters

None.

Body Parameters

PayForUserViewModel
NameDescriptionTypeAdditional information
CustomerId

string

None.

DueAmount

decimal number

None.

PaymentMode

PaymentMode

None.

BankName

string

None.

Amount

decimal number

Required

ChequeNumber

string

None.

ChequeDate

date

None.

CardNumber

integer

None.

CustomerName

string

None.

OrderID

integer

None.

StatusID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "sample string 1",
  "DueAmount": 2.0,
  "PaymentMode": 0,
  "BankName": "sample string 3",
  "Amount": 4.0,
  "ChequeNumber": "sample string 5",
  "ChequeDate": "2026-04-16T05:49:31.8039449",
  "CardNumber": 1,
  "CustomerName": "sample string 7",
  "OrderID": 8,
  "StatusID": 9
}

application/xml, text/xml

Sample:
<PayForUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Coke.Models.HeadOffice.ViewModels.Payment">
  <Amount>4</Amount>
  <BankName>sample string 3</BankName>
  <CardNumber>1</CardNumber>
  <ChequeDate>2026-04-16T05:49:31.8039449</ChequeDate>
  <ChequeNumber>sample string 5</ChequeNumber>
  <CustomerId>sample string 1</CustomerId>
  <CustomerName>sample string 7</CustomerName>
  <DueAmount>2</DueAmount>
  <OrderID>8</OrderID>
  <PaymentMode>Online</PaymentMode>
  <StatusID>9</StatusID>
</PayForUserViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.