GET api/service/GetAllPAyments?empCode={empCode}&DepCode={DepCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empCode

integer

Required

DepCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PaymentStaff
NameDescriptionTypeAdditional information
empcode

integer

None.

dep_code

integer

None.

typePayment

integer

None.

due_date

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "empcode": 1,
    "dep_code": 2,
    "typePayment": 1,
    "due_date": "2025-09-09T18:07:25.6549776+03:00"
  },
  {
    "empcode": 1,
    "dep_code": 2,
    "typePayment": 1,
    "due_date": "2025-09-09T18:07:25.6549776+03:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentStaff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Service">
  <PaymentStaff>
    <dep_code>2</dep_code>
    <due_date>2025-09-09T18:07:25.6549776+03:00</due_date>
    <empcode>1</empcode>
    <typePayment>1</typePayment>
  </PaymentStaff>
  <PaymentStaff>
    <dep_code>2</dep_code>
    <due_date>2025-09-09T18:07:25.6549776+03:00</due_date>
    <empcode>1</empcode>
    <typePayment>1</typePayment>
  </PaymentStaff>
</ArrayOfPaymentStaff>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.