POST api/Sync_DeleteLeave

Request Information

URI Parameters

None.

Body Parameters

tbl_PersonLeave
NameDescriptionTypeAdditional information
PersonLeave_Id

integer

None.

PersonLeave_Person_Id

integer

None.

PersonLeave_FromDate

string

None.

PersonLeave_TillDate

string

None.

PersonLeave_LeaveTypeId

integer

None.

PersonLeave_LeaveReasonTypeId

integer

None.

PersonLeave_Description

string

None.

PersonLeave_AddedBy

integer

None.

PersonLeave_Status

integer

None.

PersonLeave_Attachment

string

None.

PersonLeave_Attachment1

Collection of byte

None.

PersonLeave_LeaveType

string

None.

PersonLeave_LeaveReason

string

None.

PersonLeave_LeaveDay

string

None.

PersonLeave_CancelReason

string

None.

base64String

ImageBase64

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonLeave_Id": 1,
  "PersonLeave_Person_Id": 2,
  "PersonLeave_FromDate": "sample string 3",
  "PersonLeave_TillDate": "sample string 4",
  "PersonLeave_LeaveTypeId": 5,
  "PersonLeave_LeaveReasonTypeId": 6,
  "PersonLeave_Description": "sample string 7",
  "PersonLeave_AddedBy": 8,
  "PersonLeave_Status": 9,
  "PersonLeave_Attachment": "sample string 10",
  "PersonLeave_Attachment1": "QEA=",
  "PersonLeave_LeaveType": "sample string 11",
  "PersonLeave_LeaveReason": "sample string 12",
  "PersonLeave_LeaveDay": "sample string 13",
  "PersonLeave_CancelReason": "sample string 14",
  "base64String": {
    "base64String": "sample string 1",
    "ImageName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<tbl_PersonLeave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MIDAS_API.Models">
  <PersonLeave_AddedBy>8</PersonLeave_AddedBy>
  <PersonLeave_Attachment>sample string 10</PersonLeave_Attachment>
  <PersonLeave_Attachment1>QEA=</PersonLeave_Attachment1>
  <PersonLeave_CancelReason>sample string 14</PersonLeave_CancelReason>
  <PersonLeave_Description>sample string 7</PersonLeave_Description>
  <PersonLeave_FromDate>sample string 3</PersonLeave_FromDate>
  <PersonLeave_Id>1</PersonLeave_Id>
  <PersonLeave_LeaveDay>sample string 13</PersonLeave_LeaveDay>
  <PersonLeave_LeaveReason>sample string 12</PersonLeave_LeaveReason>
  <PersonLeave_LeaveReasonTypeId>6</PersonLeave_LeaveReasonTypeId>
  <PersonLeave_LeaveType>sample string 11</PersonLeave_LeaveType>
  <PersonLeave_LeaveTypeId>5</PersonLeave_LeaveTypeId>
  <PersonLeave_Person_Id>2</PersonLeave_Person_Id>
  <PersonLeave_Status>9</PersonLeave_Status>
  <PersonLeave_TillDate>sample string 4</PersonLeave_TillDate>
  <base64String>
    <ImageName>sample string 2</ImageName>
    <base64String>sample string 1</base64String>
  </base64String>
</tbl_PersonLeave>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.