POST api/Values/ClaimReplacementLeaveInsert

Request Information

URI Parameters

None.

Body Parameters

claimreplacementInsert
NameDescriptionTypeAdditional information
FromDate

string

None.

ToDate

string

None.

NoOfDays

decimal number

None.

Reason

string

None.

UserID

integer

None.

FullName

string

None.

Email

string

None.

Token

string

None.

LeaveSession

string

None.

ReplacementDate

string

None.

ReplacementID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromDate": "sample string 1",
  "ToDate": "sample string 2",
  "NoOfDays": 3.1,
  "Reason": "sample string 4",
  "UserID": 5,
  "FullName": "sample string 6",
  "Email": "sample string 7",
  "Token": "sample string 8",
  "LeaveSession": "sample string 9",
  "ReplacementDate": "sample string 10",
  "ReplacementID": 11
}

text/html

Sample:
{"FromDate":"sample string 1","ToDate":"sample string 2","NoOfDays":3.1,"Reason":"sample string 4","UserID":5,"FullName":"sample string 6","Email":"sample string 7","Token":"sample string 8","LeaveSession":"sample string 9","ReplacementDate":"sample string 10","ReplacementID":11}

application/xml, text/xml

Sample:
<ValuesController.claimreplacementInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Email>sample string 7</Email>
  <FromDate>sample string 1</FromDate>
  <FullName>sample string 6</FullName>
  <LeaveSession>sample string 9</LeaveSession>
  <NoOfDays>3.1</NoOfDays>
  <Reason>sample string 4</Reason>
  <ReplacementDate>sample string 10</ReplacementDate>
  <ReplacementID>11</ReplacementID>
  <ToDate>sample string 2</ToDate>
  <Token>sample string 8</Token>
  <UserID>5</UserID>
</ValuesController.claimreplacementInsert>

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

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>