POST api/service/AddPayments
Request Information
URI Parameters
None.
Body Parameters
PaymentStaff| Name | Description | Type | Additional information |
|---|---|---|---|
| empcode | integer |
None. |
|
| dep_code | integer |
None. |
|
| typePayment | integer |
None. |
|
| due_date | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"empcode": 1,
"dep_code": 2,
"typePayment": 1,
"due_date": "2026-04-17T15:02:37.9707735+03:00"
}
application/xml, text/xml
Sample:
<PaymentStaff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Service"> <dep_code>2</dep_code> <due_date>2026-04-17T15:02:37.9707735+03:00</due_date> <empcode>1</empcode> <typePayment>1</typePayment> </PaymentStaff>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.