POST api/Erp/SavePaymentErp
Ödemeyi ERP ye aktarır.
Request Information
URI Parameters
None.
Body Parameters
payment_detail_field| Name | Description | Type | Additional information |
|---|---|---|---|
| transaction_d_id | integer |
None. |
|
| Note | string |
None. |
|
| web_erp_field | payment_detail_web_erp_field |
None. |
Request Formats
application/json, text/json
Sample:
{
"transaction_d_id": 1,
"Note": "sample string 2",
"web_erp_field": {
"contractCode": "sample string 1",
"coCode": "sample string 2",
"branchCode": "sample string 3",
"receiptTypeCode": "sample string 4",
"DueDate": "sample string 5"
}
}
application/xml, text/xml
Sample:
<payment_detail_field xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.ERP">
<Note>sample string 2</Note>
<transaction_d_id>1</transaction_d_id>
<web_erp_field>
<DueDate>sample string 5</DueDate>
<branchCode>sample string 3</branchCode>
<coCode>sample string 2</coCode>
<contractCode>sample string 1</contractCode>
<receiptTypeCode>sample string 4</receiptTypeCode>
</web_erp_field>
</payment_detail_field>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
entity_result| Name | Description | Type | Additional information |
|---|---|---|---|
| status_code | string |
None. |
|
| status | boolean |
None. |
|
| title | string |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status_code": "sample string 1",
"status": true,
"title": "sample string 3",
"message": "sample string 4",
"data": {}
}
application/xml, text/xml
Sample:
<entity_result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.RESULT_MODELS"> <data /> <message>sample string 4</message> <status>true</status> <status_code>sample string 1</status_code> <title>sample string 3</title> </entity_result>