POST api/PoctLogin/expensesubmit
Request Information
URI Parameters
None.
Body Parameters
expense| Name | Description | Type | Additional information |
|---|---|---|---|
| pladate | date |
None. |
|
| Year | integer |
None. |
|
| Month | integer |
None. |
|
| empcode | string |
None. |
|
| CopId | integer |
None. |
|
| txtMobileAllow | integer |
None. |
|
| txtInternetAllow | integer |
None. |
|
| txtMobileBillNo | integer |
None. |
|
| txtFood | integer |
None. |
|
| txtFare | integer |
None. |
|
| txtMisc | integer |
None. |
|
| txtPostage | integer |
None. |
|
| tollcharge | integer |
None. |
|
| taxi | integer |
None. |
|
| food | integer |
None. |
|
| hotel | integer |
None. |
|
| totalamount | decimal number |
None. |
|
| txtholtelfile | string |
None. |
|
| txtFoodfile | string |
None. |
|
| txtFarefile | string |
None. |
|
| txtMiscfile | string |
None. |
|
| txtPostagefile | string |
None. |
|
| tollchargefile | string |
None. |
|
| taxifile | string |
None. |
|
| foodfile | string |
None. |
|
| source | string |
None. |
|
| destination | string |
None. |
|
| placetype | string |
None. |
|
| travelmode | string |
None. |
|
| remarks | string |
None. |
|
| Ta | integer |
None. |
|
| txttollfile | string |
None. |
|
| claimeddistance | integer |
None. |
|
| systemdistance | integer |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"pladate": "2025-10-25T23:56:31.3954951+05:30",
"Year": 2,
"Month": 3,
"empcode": "sample string 4",
"CopId": 5,
"txtMobileAllow": 6,
"txtInternetAllow": 7,
"txtMobileBillNo": 8,
"txtFood": 9,
"txtFare": 10,
"txtMisc": 11,
"txtPostage": 12,
"tollcharge": 13,
"taxi": 14,
"food": 15,
"hotel": 16,
"totalamount": 17.0,
"txtholtelfile": "sample string 18",
"txtFoodfile": "sample string 19",
"txtFarefile": "sample string 20",
"txtMiscfile": "sample string 21",
"txtPostagefile": "sample string 22",
"tollchargefile": "sample string 23",
"taxifile": "sample string 24",
"foodfile": "sample string 25",
"source": "sample string 26",
"destination": "sample string 27",
"placetype": "sample string 28",
"travelmode": "sample string 29",
"remarks": "sample string 30",
"Ta": 31,
"txttollfile": "sample string 32",
"claimeddistance": 33,
"systemdistance": 34
}
application/xml, text/xml
Sample:
<Login.expense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models"> <CopId>5</CopId> <Month>3</Month> <Ta>31</Ta> <Year>2</Year> <claimeddistance>33</claimeddistance> <destination>sample string 27</destination> <empcode>sample string 4</empcode> <food>15</food> <foodfile>sample string 25</foodfile> <hotel>16</hotel> <placetype>sample string 28</placetype> <pladate>2025-10-25T23:56:31.3954951+05:30</pladate> <remarks>sample string 30</remarks> <source>sample string 26</source> <systemdistance>34</systemdistance> <taxi>14</taxi> <taxifile>sample string 24</taxifile> <tollcharge>13</tollcharge> <tollchargefile>sample string 23</tollchargefile> <totalamount>17</totalamount> <travelmode>sample string 29</travelmode> <txtFare>10</txtFare> <txtFarefile>sample string 20</txtFarefile> <txtFood>9</txtFood> <txtFoodfile>sample string 19</txtFoodfile> <txtInternetAllow>7</txtInternetAllow> <txtMisc>11</txtMisc> <txtMiscfile>sample string 21</txtMiscfile> <txtMobileAllow>6</txtMobileAllow> <txtMobileBillNo>8</txtMobileBillNo> <txtPostage>12</txtPostage> <txtPostagefile>sample string 22</txtPostagefile> <txtholtelfile>sample string 18</txtholtelfile> <txttollfile>sample string 32</txttollfile> </Login.expense>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.