POST api/AdvanceRequest/UpdateAdvance

Request Information

URI Parameters

None.

Body Parameters

UpdateAdvanceDTO
NameDescriptionTypeAdditional information
LeaveDetailsId

integer

Required

fromDate

date

Required

toDate

date

Required

Location

string

Required

LeaveType

integer

Required

Reason

string

Required

NoOfLeaves

decimal number

Required

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "LeaveDetailsId": 1,
  "fromDate": "2021-11-27T13:10:38.5682429+05:30",
  "toDate": "2021-11-27T13:10:38.5682429+05:30",
  "Location": "sample string 4",
  "LeaveType": 5,
  "Reason": "sample string 6",
  "NoOfLeaves": 7.0,
  "Domain": "sample string 8"
}

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

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}