POST api/OpeningApi/Post_opening_for_save_update

Request Information

URI Parameters

None.

Body Parameters

opening
NameDescriptionTypeAdditional information
ledgetlist

Collection of ledger

None.

ledgetdetialslist

Collection of ledgerdetials

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

vno

string

None.

vtype

string

None.

finyear

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ledgetlist": [
    {
      "id": "sample string 1",
      "vtype": "sample string 2",
      "vno": "sample string 3",
      "vdate": "sample string 4",
      "compcode": "sample string 5",
      "finyear": "sample string 6",
      "itemid": "sample string 7",
      "mrp": "sample string 8",
      "shade": "sample string 9",
      "qty": "sample string 10",
      "frqty": "sample string 11",
      "rate": "sample string 12",
      "discper1": "sample string 13",
      "discper2": "sample string 14",
      "discamt": "sample string 15",
      "netdiscount": "sample string 16",
      "cgstper": "sample string 17",
      "cgstamt": "sample string 18",
      "sgstper": "sample string 19",
      "sgstamt": "sample string 20",
      "netamount": "sample string 21",
      "iscancelled": "sample string 22",
      "batchno": "sample string 23",
      "mrpdiscper": "sample string 24",
      "deal": "sample string 25",
      "nop": "sample string 26",
      "cessper1": "sample string 27",
      "cessamt1": "sample string 28",
      "cessper2": "sample string 29",
      "cessamt2": "sample string 30",
      "godowinid": "sample string 31",
      "discper3": "sample string 32"
    },
    {
      "id": "sample string 1",
      "vtype": "sample string 2",
      "vno": "sample string 3",
      "vdate": "sample string 4",
      "compcode": "sample string 5",
      "finyear": "sample string 6",
      "itemid": "sample string 7",
      "mrp": "sample string 8",
      "shade": "sample string 9",
      "qty": "sample string 10",
      "frqty": "sample string 11",
      "rate": "sample string 12",
      "discper1": "sample string 13",
      "discper2": "sample string 14",
      "discamt": "sample string 15",
      "netdiscount": "sample string 16",
      "cgstper": "sample string 17",
      "cgstamt": "sample string 18",
      "sgstper": "sample string 19",
      "sgstamt": "sample string 20",
      "netamount": "sample string 21",
      "iscancelled": "sample string 22",
      "batchno": "sample string 23",
      "mrpdiscper": "sample string 24",
      "deal": "sample string 25",
      "nop": "sample string 26",
      "cessper1": "sample string 27",
      "cessamt1": "sample string 28",
      "cessper2": "sample string 29",
      "cessamt2": "sample string 30",
      "godowinid": "sample string 31",
      "discper3": "sample string 32"
    }
  ],
  "ledgetdetialslist": [
    {
      "id": "sample string 1",
      "itemid": "sample string 2",
      "serialno1": "sample string 3",
      "serialno2": "sample string 4",
      "serialno3": "sample string 5",
      "serialno4": "sample string 6",
      "compcode": "sample string 7",
      "finyear": "sample string 8",
      "vtype": "sample string 9",
      "vno": "sample string 10",
      "vdate": "sample string 11",
      "mrp": "sample string 12"
    },
    {
      "id": "sample string 1",
      "itemid": "sample string 2",
      "serialno1": "sample string 3",
      "serialno2": "sample string 4",
      "serialno3": "sample string 5",
      "serialno4": "sample string 6",
      "compcode": "sample string 7",
      "finyear": "sample string 8",
      "vtype": "sample string 9",
      "vno": "sample string 10",
      "vdate": "sample string 11",
      "mrp": "sample string 12"
    }
  ],
  "Database": "sample string 1",
  "Compcode": "sample string 2",
  "EventType": "sample string 3",
  "vno": "sample string 4",
  "vtype": "sample string 5",
  "finyear": "sample string 6"
}

application/xml, text/xml

Sample:
<opening xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <Compcode>sample string 2</Compcode>
  <Database>sample string 1</Database>
  <EventType>sample string 3</EventType>
  <finyear>sample string 6</finyear>
  <ledgetdetialslist>
    <ledgerdetials>
      <compcode>sample string 7</compcode>
      <finyear>sample string 8</finyear>
      <id>sample string 1</id>
      <itemid>sample string 2</itemid>
      <mrp>sample string 12</mrp>
      <serialno1>sample string 3</serialno1>
      <serialno2>sample string 4</serialno2>
      <serialno3>sample string 5</serialno3>
      <serialno4>sample string 6</serialno4>
      <vdate>sample string 11</vdate>
      <vno>sample string 10</vno>
      <vtype>sample string 9</vtype>
    </ledgerdetials>
    <ledgerdetials>
      <compcode>sample string 7</compcode>
      <finyear>sample string 8</finyear>
      <id>sample string 1</id>
      <itemid>sample string 2</itemid>
      <mrp>sample string 12</mrp>
      <serialno1>sample string 3</serialno1>
      <serialno2>sample string 4</serialno2>
      <serialno3>sample string 5</serialno3>
      <serialno4>sample string 6</serialno4>
      <vdate>sample string 11</vdate>
      <vno>sample string 10</vno>
      <vtype>sample string 9</vtype>
    </ledgerdetials>
  </ledgetdetialslist>
  <ledgetlist>
    <ledger>
      <batchno>sample string 23</batchno>
      <cessamt1>sample string 28</cessamt1>
      <cessamt2>sample string 30</cessamt2>
      <cessper1>sample string 27</cessper1>
      <cessper2>sample string 29</cessper2>
      <cgstamt>sample string 18</cgstamt>
      <cgstper>sample string 17</cgstper>
      <compcode>sample string 5</compcode>
      <deal>sample string 25</deal>
      <discamt>sample string 15</discamt>
      <discper1>sample string 13</discper1>
      <discper2>sample string 14</discper2>
      <discper3>sample string 32</discper3>
      <finyear>sample string 6</finyear>
      <frqty>sample string 11</frqty>
      <godowinid>sample string 31</godowinid>
      <id>sample string 1</id>
      <iscancelled>sample string 22</iscancelled>
      <itemid>sample string 7</itemid>
      <mrp>sample string 8</mrp>
      <mrpdiscper>sample string 24</mrpdiscper>
      <netamount>sample string 21</netamount>
      <netdiscount>sample string 16</netdiscount>
      <nop>sample string 26</nop>
      <qty>sample string 10</qty>
      <rate>sample string 12</rate>
      <sgstamt>sample string 20</sgstamt>
      <sgstper>sample string 19</sgstper>
      <shade>sample string 9</shade>
      <vdate>sample string 4</vdate>
      <vno>sample string 3</vno>
      <vtype>sample string 2</vtype>
    </ledger>
    <ledger>
      <batchno>sample string 23</batchno>
      <cessamt1>sample string 28</cessamt1>
      <cessamt2>sample string 30</cessamt2>
      <cessper1>sample string 27</cessper1>
      <cessper2>sample string 29</cessper2>
      <cgstamt>sample string 18</cgstamt>
      <cgstper>sample string 17</cgstper>
      <compcode>sample string 5</compcode>
      <deal>sample string 25</deal>
      <discamt>sample string 15</discamt>
      <discper1>sample string 13</discper1>
      <discper2>sample string 14</discper2>
      <discper3>sample string 32</discper3>
      <finyear>sample string 6</finyear>
      <frqty>sample string 11</frqty>
      <godowinid>sample string 31</godowinid>
      <id>sample string 1</id>
      <iscancelled>sample string 22</iscancelled>
      <itemid>sample string 7</itemid>
      <mrp>sample string 8</mrp>
      <mrpdiscper>sample string 24</mrpdiscper>
      <netamount>sample string 21</netamount>
      <netdiscount>sample string 16</netdiscount>
      <nop>sample string 26</nop>
      <qty>sample string 10</qty>
      <rate>sample string 12</rate>
      <sgstamt>sample string 20</sgstamt>
      <sgstper>sample string 19</sgstper>
      <shade>sample string 9</shade>
      <vdate>sample string 4</vdate>
      <vno>sample string 3</vno>
      <vtype>sample string 2</vtype>
    </ledger>
  </ledgetlist>
  <vno>sample string 4</vno>
  <vtype>sample string 5</vtype>
</opening>

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.