POST api/Generalsale?cond={cond}&tillcond={tillcond}&bid={bid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cond

string

Required

tillcond

string

Required

bid

integer

Default value is 0

Body Parameters

recurring_current_list
NameDescriptionTypeAdditional information
id

integer

None.

item_code

integer

None.

item_name

string

None.

phone_no

string

None.

customer_name

string

None.

customer_address

string

None.

amount

integer

None.

days

integer

None.

tobeamount

integer

None.

paidamount

integer

None.

last_payment_date

string

None.

paymentcount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "item_code": 2,
  "item_name": "sample string 3",
  "phone_no": "sample string 4",
  "customer_name": "sample string 5",
  "customer_address": "sample string 6",
  "amount": 7,
  "days": 8,
  "tobeamount": 9,
  "paidamount": 10,
  "last_payment_date": "sample string 11",
  "paymentcount": 12
}

application/xml, text/xml

Sample:
<recurring_current_list xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Salonbilling">
  <amount>7</amount>
  <customer_address>sample string 6</customer_address>
  <customer_name>sample string 5</customer_name>
  <days>8</days>
  <id>1</id>
  <item_code>2</item_code>
  <item_name>sample string 3</item_name>
  <last_payment_date>sample string 11</last_payment_date>
  <paidamount>10</paidamount>
  <paymentcount>12</paymentcount>
  <phone_no>sample string 4</phone_no>
  <tobeamount>9</tobeamount>
</recurring_current_list>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.