POST api/NumberPayment

Request Information

URI Parameters

None.

Body Parameters

NumberPayment
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

DueDateStart

date

None.

DueDateEnd

date

None.

Percentage

integer

None.

FixedAmount

integer

None.

PaymentModeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "dueDateStart": "2024-09-20T01:54:42.95778+08:00",
  "dueDateEnd": "2024-09-20T01:54:42.95778+08:00",
  "percentage": 5,
  "fixedAmount": 6,
  "paymentModeId": 7
}

text/html

Sample:
{"id":1,"description":"sample string 2","dueDateStart":"2024-09-20T01:54:42.95778+08:00","dueDateEnd":"2024-09-20T01:54:42.95778+08:00","percentage":5,"fixedAmount":6,"paymentModeId":7}

application/xml, text/xml

Sample:
<NumberPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
  <Description>sample string 2</Description>
  <DueDateEnd>2024-09-20T01:54:42.95778+08:00</DueDateEnd>
  <DueDateStart>2024-09-20T01:54:42.95778+08:00</DueDateStart>
  <FixedAmount>6</FixedAmount>
  <Id>1</Id>
  <PaymentModeId>7</PaymentModeId>
  <Percentage>5</Percentage>
</NumberPayment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.