POST api/service/ChangePayLestest

Request Information

URI Parameters

None.

Body Parameters

PaymentStaff
NameDescriptionTypeAdditional 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-17T14:37:42.405548+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-17T14:37:42.405548+03:00</due_date>
  <empcode>1</empcode>
  <typePayment>1</typePayment>
</PaymentStaff>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PaymentStaff'.

application/bson

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

Response Information

Resource Description

boolean

Response 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.