POST api/Payments/payin
Request Information
URI Parameters
None.
Body Parameters
PayInModel| Name | Description | Type | Additional information |
|---|---|---|---|
| jobno | string |
None. |
|
| typecode | integer |
None. |
|
| currencytype | integer |
None. |
|
| countryid | integer |
None. |
|
| exchange | decimal number |
None. |
|
| payindate | string |
None. |
|
| paidamount | decimal number |
None. |
|
| amountofpaid | decimal number |
None. |
|
| amountbepaid | decimal number |
None. |
|
| paid | decimal number |
None. |
|
| chequedate | string |
None. |
|
| chequenumber | string |
None. |
|
| bankcode | string |
None. |
|
| branchcode | string |
None. |
|
| Issuerid | string |
None. |
|
| payinbankid | integer |
None. |
|
| transactiondate | string |
None. |
|
| appcode | string |
None. |
|
| accontpayintype | string |
None. |
|
| accontpayinbank | string |
None. |
|
| accontpayinno | string |
None. |
|
| remark | string |
None. |
|
| createdate | string |
None. |
|
| createby | string |
None. |
|
| updatedate | string |
None. |
|
| updateby | string |
None. |
|
| creditno | string |
None. |
|
| rating | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"jobno": "sample string 1",
"typecode": 2,
"currencytype": 3,
"countryid": 4,
"exchange": 5.1,
"payindate": "sample string 6",
"paidamount": 7.1,
"amountofpaid": 8.1,
"amountbepaid": 9.1,
"paid": 10.1,
"chequedate": "sample string 11",
"chequenumber": "sample string 12",
"bankcode": "sample string 13",
"branchcode": "sample string 14",
"Issuerid": "sample string 15",
"payinbankid": 16,
"transactiondate": "sample string 17",
"appcode": "sample string 18",
"accontpayintype": "sample string 19",
"accontpayinbank": "sample string 20",
"accontpayinno": "sample string 21",
"remark": "sample string 22",
"createdate": "sample string 23",
"createby": "sample string 24",
"updatedate": "sample string 25",
"updateby": "sample string 26",
"creditno": "sample string 27",
"rating": 28.1
}
application/xml, text/xml
Sample:
<PayInModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models.Mobile"> <Issuerid>sample string 15</Issuerid> <accontpayinbank>sample string 20</accontpayinbank> <accontpayinno>sample string 21</accontpayinno> <accontpayintype>sample string 19</accontpayintype> <amountbepaid>9.1</amountbepaid> <amountofpaid>8.1</amountofpaid> <appcode>sample string 18</appcode> <bankcode>sample string 13</bankcode> <branchcode>sample string 14</branchcode> <chequedate>sample string 11</chequedate> <chequenumber>sample string 12</chequenumber> <countryid>4</countryid> <createby>sample string 24</createby> <createdate>sample string 23</createdate> <creditno>sample string 27</creditno> <currencytype>3</currencytype> <exchange>5.1</exchange> <jobno>sample string 1</jobno> <paid>10.1</paid> <paidamount>7.1</paidamount> <payinbankid>16</payinbankid> <payindate>sample string 6</payindate> <rating>28.1</rating> <remark>sample string 22</remark> <transactiondate>sample string 17</transactiondate> <typecode>2</typecode> <updateby>sample string 26</updateby> <updatedate>sample string 25</updatedate> </PayInModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultWithModel| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| refcode | string |
None. |
|
| total | integer |
None. |
|
| datas | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"refcode": "sample string 3",
"total": 4,
"datas": {}
}
application/xml, text/xml
Sample:
<ResultWithModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models"> <datas /> <message>sample string 2</message> <refcode>sample string 3</refcode> <success>true</success> <total>4</total> </ResultWithModel>