POST api/BankStatementApi/Post_BankStatement_for_save_update

Request Information

URI Parameters

None.

Body Parameters

BankStatement
NameDescriptionTypeAdditional information
BVNo

string

None.

BVType

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

finyear

string

None.

lst_statement

Collection of clsBankStatement

None.

lst_voucher

Collection of clsVoucher

None.

Request Formats

application/json, text/json

Sample:
{
  "BVNo": "sample string 1",
  "BVType": "sample string 2",
  "Database": "sample string 3",
  "Compcode": "sample string 4",
  "EventType": "sample string 5",
  "finyear": "sample string 6",
  "lst_statement": [
    {
      "BVno": "sample string 1",
      "Vdate": "sample string 2",
      "Vno": "sample string 3",
      "Vtype": "sample string 4",
      "Value_Date": "sample string 5",
      "BAccode": "sample string 6",
      "AcCode": "sample string 7",
      "debit": 8.0,
      "credit": 9.0,
      "Compcode": "sample string 10",
      "Narration": "sample string 11",
      "Paymode": "sample string 12",
      "finyear": "sample string 13",
      "CId": "sample string 14",
      "CdId": "sample string 15"
    },
    {
      "BVno": "sample string 1",
      "Vdate": "sample string 2",
      "Vno": "sample string 3",
      "Vtype": "sample string 4",
      "Value_Date": "sample string 5",
      "BAccode": "sample string 6",
      "AcCode": "sample string 7",
      "debit": 8.0,
      "credit": 9.0,
      "Compcode": "sample string 10",
      "Narration": "sample string 11",
      "Paymode": "sample string 12",
      "finyear": "sample string 13",
      "CId": "sample string 14",
      "CdId": "sample string 15"
    }
  ],
  "lst_voucher": [
    {
      "VType": "sample string 1",
      "VNo": "sample string 2",
      "VDate": "2024-11-15T08:11:32.8881886+05:30",
      "AcCode": "sample string 4",
      "AcDesc": "sample string 5",
      "AcContra": "sample string 6",
      "DrAmt": "sample string 7",
      "CrAmt": "sample string 8",
      "DrCr": "sample string 9",
      "Narration": "sample string 10",
      "BDate": "2024-11-15T08:11:32.8881886+05:30",
      "Database": "sample string 12",
      "Compcode": "sample string 13",
      "EventType": "sample string 14",
      "finyear": "sample string 15"
    },
    {
      "VType": "sample string 1",
      "VNo": "sample string 2",
      "VDate": "2024-11-15T08:11:32.8881886+05:30",
      "AcCode": "sample string 4",
      "AcDesc": "sample string 5",
      "AcContra": "sample string 6",
      "DrAmt": "sample string 7",
      "CrAmt": "sample string 8",
      "DrCr": "sample string 9",
      "Narration": "sample string 10",
      "BDate": "2024-11-15T08:11:32.8881886+05:30",
      "Database": "sample string 12",
      "Compcode": "sample string 13",
      "EventType": "sample string 14",
      "finyear": "sample string 15"
    }
  ]
}

application/xml, text/xml

Sample:
<BankStatement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <BVNo>sample string 1</BVNo>
  <BVType>sample string 2</BVType>
  <Compcode>sample string 4</Compcode>
  <Database>sample string 3</Database>
  <EventType>sample string 5</EventType>
  <finyear>sample string 6</finyear>
  <lst_statement>
    <clsBankStatement>
      <AcCode>sample string 7</AcCode>
      <BAccode>sample string 6</BAccode>
      <BVno>sample string 1</BVno>
      <CId>sample string 14</CId>
      <CdId>sample string 15</CdId>
      <Compcode>sample string 10</Compcode>
      <Narration>sample string 11</Narration>
      <Paymode>sample string 12</Paymode>
      <Value_Date>sample string 5</Value_Date>
      <Vdate>sample string 2</Vdate>
      <Vno>sample string 3</Vno>
      <Vtype>sample string 4</Vtype>
      <credit>9</credit>
      <debit>8</debit>
      <finyear>sample string 13</finyear>
    </clsBankStatement>
    <clsBankStatement>
      <AcCode>sample string 7</AcCode>
      <BAccode>sample string 6</BAccode>
      <BVno>sample string 1</BVno>
      <CId>sample string 14</CId>
      <CdId>sample string 15</CdId>
      <Compcode>sample string 10</Compcode>
      <Narration>sample string 11</Narration>
      <Paymode>sample string 12</Paymode>
      <Value_Date>sample string 5</Value_Date>
      <Vdate>sample string 2</Vdate>
      <Vno>sample string 3</Vno>
      <Vtype>sample string 4</Vtype>
      <credit>9</credit>
      <debit>8</debit>
      <finyear>sample string 13</finyear>
    </clsBankStatement>
  </lst_statement>
  <lst_voucher>
    <clsVoucher>
      <AcCode>sample string 4</AcCode>
      <AcContra>sample string 6</AcContra>
      <AcDesc>sample string 5</AcDesc>
      <BDate>2024-11-15T08:11:32.8881886+05:30</BDate>
      <Compcode>sample string 13</Compcode>
      <CrAmt>sample string 8</CrAmt>
      <Database>sample string 12</Database>
      <DrAmt>sample string 7</DrAmt>
      <DrCr>sample string 9</DrCr>
      <EventType>sample string 14</EventType>
      <Narration>sample string 10</Narration>
      <VDate>2024-11-15T08:11:32.8881886+05:30</VDate>
      <VNo>sample string 2</VNo>
      <VType>sample string 1</VType>
      <finyear>sample string 15</finyear>
    </clsVoucher>
    <clsVoucher>
      <AcCode>sample string 4</AcCode>
      <AcContra>sample string 6</AcContra>
      <AcDesc>sample string 5</AcDesc>
      <BDate>2024-11-15T08:11:32.8881886+05:30</BDate>
      <Compcode>sample string 13</Compcode>
      <CrAmt>sample string 8</CrAmt>
      <Database>sample string 12</Database>
      <DrAmt>sample string 7</DrAmt>
      <DrCr>sample string 9</DrCr>
      <EventType>sample string 14</EventType>
      <Narration>sample string 10</Narration>
      <VDate>2024-11-15T08:11:32.8881886+05:30</VDate>
      <VNo>sample string 2</VNo>
      <VType>sample string 1</VType>
      <finyear>sample string 15</finyear>
    </clsVoucher>
  </lst_voucher>
</BankStatement>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>