GET api/Visits/AddPayment?visit_code={visit_code}&sum={sum}&type={type}&emp_code={emp_code}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
visit_code | integer |
Required |
|
sum | decimal number |
Required |
|
type | integer |
Required |
|
emp_code | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MorePaymentToSurgName | Description | Type | Additional information |
---|---|---|---|
key_code | integer |
Required |
|
employee_code | integer |
Required |
|
typePayments | integer |
Required |
|
date_for_payment | date |
Required |
|
creation_date | date |
Required |
|
update_date | date |
Required |
|
employee_update | integer |
None. |
|
visit_code | integer |
None. |
|
sum | decimal number |
None. |
|
interface_code | string |
String length: inclusive between 0 and 10 |
|
old_code | integer |
None. |
|
AprrovedForPayment | date |
None. |
|
AprrovedEmp | integer |
None. |
|
paymentCertificates_code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "key_code": 1, "employee_code": 2, "typePayments": 3, "date_for_payment": "2024-05-02T19:51:48.5341047+03:00", "creation_date": "2024-05-02T19:51:48.5341047+03:00", "update_date": "2024-05-02T19:51:48.5341047+03:00", "employee_update": 1, "visit_code": 1, "sum": 7.0, "interface_code": "sample string 8", "old_code": 1, "AprrovedForPayment": "2024-05-02T19:51:48.5341047+03:00", "AprrovedEmp": 1, "paymentCertificates_code": 1 }
application/xml, text/xml
Sample:
<MorePaymentToSurg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog"> <AprrovedEmp>1</AprrovedEmp> <AprrovedForPayment>2024-05-02T19:51:48.5341047+03:00</AprrovedForPayment> <creation_date>2024-05-02T19:51:48.5341047+03:00</creation_date> <date_for_payment>2024-05-02T19:51:48.5341047+03:00</date_for_payment> <employee_code>2</employee_code> <employee_update>1</employee_update> <interface_code>sample string 8</interface_code> <key_code>1</key_code> <old_code>1</old_code> <paymentCertificates_code>1</paymentCertificates_code> <sum>7</sum> <typePayments>3</typePayments> <update_date>2024-05-02T19:51:48.5341047+03:00</update_date> <visit_code>1</visit_code> </MorePaymentToSurg>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.