POST api/leavemanagement/create

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "leaveManagementId": "8b6c51c6-4bad-4f4d-968d-4bb50ec1c71e",
  "doctorId": "939aa129-751d-4f58-93c0-0574fd5bb9db",
  "leaveType": 64,
  "leaveDay": "sample string 4",
  "leaveDate": "2020-09-26T05:42:19.3265914+00:00",
  "leaveFrom": "2020-09-26T05:42:19.3265914+00:00",
  "leaveTo": "2020-09-26T05:42:19.3265914+00:00",
  "reason": "sample string 5",
  "companyId": 6,
  "userType": "sample string 7",
  "userId": "7b0ead30-f272-4a4f-8e7c-c7444664b1a5",
  "delFlg": true,
  "createdBy": "f355ec2c-ee84-455a-97d4-612157ce8386",
  "createdOn": "2020-09-26T05:42:19.3265914+00:00",
  "updatedOn": "2020-09-26T05:42:19.3265914+00:00",
  "updatedBy": "cf0538e5-a387-4596-b5b4-8e964381ab31",
  "status": "sample string 12",
  "message": "sample string 13",
  "leaveTypeName": "sample string 14"
}

application/xml, text/xml

Sample:
<LeaveManagementModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <companyId>6</companyId>
  <createdBy>f355ec2c-ee84-455a-97d4-612157ce8386</createdBy>
  <createdOn>2020-09-26T05:42:19.3265914+00:00</createdOn>
  <delFlg>true</delFlg>
  <doctorId>939aa129-751d-4f58-93c0-0574fd5bb9db</doctorId>
  <leaveDate>2020-09-26T05:42:19.3265914+00:00</leaveDate>
  <leaveDay>sample string 4</leaveDay>
  <leaveFrom>2020-09-26T05:42:19.3265914+00:00</leaveFrom>
  <leaveManagementId>8b6c51c6-4bad-4f4d-968d-4bb50ec1c71e</leaveManagementId>
  <leaveTo>2020-09-26T05:42:19.3265914+00:00</leaveTo>
  <leaveType>64</leaveType>
  <leaveTypeName>sample string 14</leaveTypeName>
  <message>sample string 13</message>
  <reason>sample string 5</reason>
  <status>sample string 12</status>
  <updatedBy>cf0538e5-a387-4596-b5b4-8e964381ab31</updatedBy>
  <updatedOn>2020-09-26T05:42:19.3265914+00:00</updatedOn>
  <userId>7b0ead30-f272-4a4f-8e7c-c7444664b1a5</userId>
  <userType>sample string 7</userType>
</LeaveManagementModel>

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 'LeaveManagementModel'.