POST V3/savevouchergl/{COMcode}/{Category}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
COMcode | string |
Required |
|
Category | string |
Required |
Body Parameters
GLvoucherPostV3Name | Description | Type | Additional information |
---|---|---|---|
hrows | GLHVoucherHeadingDataModel |
None. |
|
lrows | Collection of GLLVoucherListingDataModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "hrows": { "GH_no": 1, "GH_date": "2025-07-18T05:57:31.8091804+07:00", "GH_book": 3, "GH_vnumber": "sample string 4", "GH_Process": 5, "GH_cancel": 6, "GH_lock": 7, "GH_total": 8.0, "GH_noDr": 9, "GH_noCr": 10, "GH_des": "sample string 11", "GH_memo": "sample string 12", "GH_cur": 13, "GH_noItems": 14, "GH_noChq": 15, "GH_status": 16, "GH_source": "sample string 17", "GH_taxPDate": "2025-07-18T05:57:31.8091804+07:00", "GH_taxNo": "sample string 19", "GH_taxSDate": "2025-07-18T05:57:31.8091804+07:00", "GH_cnect": 21, "GH_editDT": "2025-07-18T05:57:31.8091804+07:00", "GH_editUSR": "sample string 23" }, "lrows": [ { "GL_no": 1, "GL_ghid": 2, "GL_date": "2025-07-18T05:57:31.8091804+07:00", "GL_book": 4, "GL_vnumber": "sample string 5", "GL_Process": 6, "GL_cancel": 7, "GL_item": 8, "GL_acc": "sample string 9", "GL_dep": "sample string 10", "GL_job": "sample string 11", "GL_per": "sample string 12", "GL_deb": "sample string 13", "GL_cre": "sample string 14", "GL_doc": "sample string 15", "GL_mec": "sample string 16", "GL_des": "sample string 17", "GL_sum": 18.0, "GL_debit": 19, "GL_docNo": "sample string 20", "GL_vatNo": "sample string 21", "GL_taxDate": "2025-07-18T05:57:31.8091804+07:00", "GL_taxCOG": 23.0, "GL_cur": 24, "GL_exchgRate": 25.1, "GL_taxCond": 26, "GL_taxOK": 27, "GL_taxRate": 28.1, "GL_taxAmount": 29.0, "GL_taxAvg": 30.0, "GL_taxRunNo": "sample string 31", "GL_price": 32.0, "GL_taxNumber": "sample string 33" }, { "GL_no": 1, "GL_ghid": 2, "GL_date": "2025-07-18T05:57:31.8091804+07:00", "GL_book": 4, "GL_vnumber": "sample string 5", "GL_Process": 6, "GL_cancel": 7, "GL_item": 8, "GL_acc": "sample string 9", "GL_dep": "sample string 10", "GL_job": "sample string 11", "GL_per": "sample string 12", "GL_deb": "sample string 13", "GL_cre": "sample string 14", "GL_doc": "sample string 15", "GL_mec": "sample string 16", "GL_des": "sample string 17", "GL_sum": 18.0, "GL_debit": 19, "GL_docNo": "sample string 20", "GL_vatNo": "sample string 21", "GL_taxDate": "2025-07-18T05:57:31.8091804+07:00", "GL_taxCOG": 23.0, "GL_cur": 24, "GL_exchgRate": 25.1, "GL_taxCond": 26, "GL_taxOK": 27, "GL_taxRate": 28.1, "GL_taxAmount": 29.0, "GL_taxAvg": 30.0, "GL_taxRunNo": "sample string 31", "GL_price": 32.0, "GL_taxNumber": "sample string 33" } ] }
application/xml, text/xml
Sample:
<GLvoucherPostV3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M5L_WebAPI.Models"> <hrows> <GH_Process>5</GH_Process> <GH_book>3</GH_book> <GH_cancel>6</GH_cancel> <GH_cnect>21</GH_cnect> <GH_cur>13</GH_cur> <GH_date>2025-07-18T05:57:31.8091804+07:00</GH_date> <GH_des>sample string 11</GH_des> <GH_editDT>2025-07-18T05:57:31.8091804+07:00</GH_editDT> <GH_editUSR>sample string 23</GH_editUSR> <GH_lock>7</GH_lock> <GH_memo>sample string 12</GH_memo> <GH_no>1</GH_no> <GH_noChq>15</GH_noChq> <GH_noCr>10</GH_noCr> <GH_noDr>9</GH_noDr> <GH_noItems>14</GH_noItems> <GH_source>sample string 17</GH_source> <GH_status>16</GH_status> <GH_taxNo>sample string 19</GH_taxNo> <GH_taxPDate>2025-07-18T05:57:31.8091804+07:00</GH_taxPDate> <GH_taxSDate>2025-07-18T05:57:31.8091804+07:00</GH_taxSDate> <GH_total>8</GH_total> <GH_vnumber>sample string 4</GH_vnumber> </hrows> <lrows> <GLLVoucherListingDataModel> <GL_Process>6</GL_Process> <GL_acc>sample string 9</GL_acc> <GL_book>4</GL_book> <GL_cancel>7</GL_cancel> <GL_cre>sample string 14</GL_cre> <GL_cur>24</GL_cur> <GL_date>2025-07-18T05:57:31.8091804+07:00</GL_date> <GL_deb>sample string 13</GL_deb> <GL_debit>19</GL_debit> <GL_dep>sample string 10</GL_dep> <GL_des>sample string 17</GL_des> <GL_doc>sample string 15</GL_doc> <GL_docNo>sample string 20</GL_docNo> <GL_exchgRate>25.1</GL_exchgRate> <GL_ghid>2</GL_ghid> <GL_item>8</GL_item> <GL_job>sample string 11</GL_job> <GL_mec>sample string 16</GL_mec> <GL_no>1</GL_no> <GL_per>sample string 12</GL_per> <GL_price>32</GL_price> <GL_sum>18</GL_sum> <GL_taxAmount>29</GL_taxAmount> <GL_taxAvg>30</GL_taxAvg> <GL_taxCOG>23</GL_taxCOG> <GL_taxCond>26</GL_taxCond> <GL_taxDate>2025-07-18T05:57:31.8091804+07:00</GL_taxDate> <GL_taxNumber>sample string 33</GL_taxNumber> <GL_taxOK>27</GL_taxOK> <GL_taxRate>28.1</GL_taxRate> <GL_taxRunNo>sample string 31</GL_taxRunNo> <GL_vatNo>sample string 21</GL_vatNo> <GL_vnumber>sample string 5</GL_vnumber> </GLLVoucherListingDataModel> <GLLVoucherListingDataModel> <GL_Process>6</GL_Process> <GL_acc>sample string 9</GL_acc> <GL_book>4</GL_book> <GL_cancel>7</GL_cancel> <GL_cre>sample string 14</GL_cre> <GL_cur>24</GL_cur> <GL_date>2025-07-18T05:57:31.8091804+07:00</GL_date> <GL_deb>sample string 13</GL_deb> <GL_debit>19</GL_debit> <GL_dep>sample string 10</GL_dep> <GL_des>sample string 17</GL_des> <GL_doc>sample string 15</GL_doc> <GL_docNo>sample string 20</GL_docNo> <GL_exchgRate>25.1</GL_exchgRate> <GL_ghid>2</GL_ghid> <GL_item>8</GL_item> <GL_job>sample string 11</GL_job> <GL_mec>sample string 16</GL_mec> <GL_no>1</GL_no> <GL_per>sample string 12</GL_per> <GL_price>32</GL_price> <GL_sum>18</GL_sum> <GL_taxAmount>29</GL_taxAmount> <GL_taxAvg>30</GL_taxAvg> <GL_taxCOG>23</GL_taxCOG> <GL_taxCond>26</GL_taxCond> <GL_taxDate>2025-07-18T05:57:31.8091804+07:00</GL_taxDate> <GL_taxNumber>sample string 33</GL_taxNumber> <GL_taxOK>27</GL_taxOK> <GL_taxRate>28.1</GL_taxRate> <GL_taxRunNo>sample string 31</GL_taxRunNo> <GL_vatNo>sample string 21</GL_vatNo> <GL_vnumber>sample string 5</GL_vnumber> </GLLVoucherListingDataModel> </lrows> </GLvoucherPostV3>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.