POST api/VoucherApi/Receipt_BillWise

Request Information

URI Parameters

None.

Body Parameters

Receipt
NameDescriptionTypeAdditional information
recid

integer

None.

vtype

string

None.

vdate

string

None.

compcode

integer

None.

finyear

string

None.

salesmancode

integer

None.

beatid

integer

None.

accode

integer

None.

acdesc

string

None.

totalcollectedamt

decimal number

None.

databasename

string

None.

mreceipt_status

boolean

None.

offlinevno

string

None.

ReceiptLedgers

Collection of ReceiptLedger

None.

Request Formats

application/json, text/json

Sample:
{
  "recid": 1,
  "vtype": "sample string 2",
  "vdate": "sample string 3",
  "compcode": 4,
  "finyear": "sample string 5",
  "salesmancode": 6,
  "beatid": 7,
  "accode": 8,
  "acdesc": "sample string 9",
  "totalcollectedamt": 10.0,
  "databasename": "sample string 11",
  "mreceipt_status": true,
  "offlinevno": "sample string 13",
  "ReceiptLedgers": [
    {
      "recid": 1,
      "vtype": "sample string 2",
      "compcode": 3,
      "finyear": "sample string 4",
      "svno": "sample string 5",
      "svtype": "sample string 6",
      "billno": "sample string 7",
      "accode": 8,
      "bill_amt": 9.0,
      "paydiscamt": 10.0,
      "collectedamt": 11.0,
      "paymode": "sample string 12",
      "chequeno": "sample string 13",
      "chequedate": "sample string 14",
      "bankname": "sample string 15",
      "narration": "sample string 16"
    },
    {
      "recid": 1,
      "vtype": "sample string 2",
      "compcode": 3,
      "finyear": "sample string 4",
      "svno": "sample string 5",
      "svtype": "sample string 6",
      "billno": "sample string 7",
      "accode": 8,
      "bill_amt": 9.0,
      "paydiscamt": 10.0,
      "collectedamt": 11.0,
      "paymode": "sample string 12",
      "chequeno": "sample string 13",
      "chequedate": "sample string 14",
      "bankname": "sample string 15",
      "narration": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<Receipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <ReceiptLedgers>
    <ReceiptLedger>
      <accode>8</accode>
      <bankname>sample string 15</bankname>
      <bill_amt>9</bill_amt>
      <billno>sample string 7</billno>
      <chequedate>sample string 14</chequedate>
      <chequeno>sample string 13</chequeno>
      <collectedamt>11</collectedamt>
      <compcode>3</compcode>
      <finyear>sample string 4</finyear>
      <narration>sample string 16</narration>
      <paydiscamt>10</paydiscamt>
      <paymode>sample string 12</paymode>
      <recid>1</recid>
      <svno>sample string 5</svno>
      <svtype>sample string 6</svtype>
      <vtype>sample string 2</vtype>
    </ReceiptLedger>
    <ReceiptLedger>
      <accode>8</accode>
      <bankname>sample string 15</bankname>
      <bill_amt>9</bill_amt>
      <billno>sample string 7</billno>
      <chequedate>sample string 14</chequedate>
      <chequeno>sample string 13</chequeno>
      <collectedamt>11</collectedamt>
      <compcode>3</compcode>
      <finyear>sample string 4</finyear>
      <narration>sample string 16</narration>
      <paydiscamt>10</paydiscamt>
      <paymode>sample string 12</paymode>
      <recid>1</recid>
      <svno>sample string 5</svno>
      <svtype>sample string 6</svtype>
      <vtype>sample string 2</vtype>
    </ReceiptLedger>
  </ReceiptLedgers>
  <accode>8</accode>
  <acdesc>sample string 9</acdesc>
  <beatid>7</beatid>
  <compcode>4</compcode>
  <databasename>sample string 11</databasename>
  <finyear>sample string 5</finyear>
  <mreceipt_status>true</mreceipt_status>
  <offlinevno>sample string 13</offlinevno>
  <recid>1</recid>
  <salesmancode>6</salesmancode>
  <totalcollectedamt>10</totalcollectedamt>
  <vdate>sample string 3</vdate>
  <vtype>sample string 2</vtype>
</Receipt>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.