POST api/EmployeeAdvance/AddAdvance

Request Information

URI Parameters

None.

Body Parameters

RequestEmployeeAdvanceCreate
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

AdvanceType

string

None.

AdvanceTypeId

integer

None.

RequestedAmount

decimal number

None.

Reason

string

None.

RequestedInstallments

integer

None.

RequestedRecoveryStartPeriodId

integer

None.

AttachmentPath

string

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "AdvanceType": "sample string 2",
  "AdvanceTypeId": 1,
  "RequestedAmount": 3.0,
  "Reason": "sample string 4",
  "RequestedInstallments": 5,
  "RequestedRecoveryStartPeriodId": 1,
  "AttachmentPath": "sample string 6",
  "CreatedBy": 7
}

application/xml, text/xml

Sample:
<RequestEmployeeAdvanceCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom">
  <AdvanceType>sample string 2</AdvanceType>
  <AdvanceTypeId>1</AdvanceTypeId>
  <AttachmentPath>sample string 6</AttachmentPath>
  <CreatedBy>7</CreatedBy>
  <EmployeeId>1</EmployeeId>
  <Reason>sample string 4</Reason>
  <RequestedAmount>3</RequestedAmount>
  <RequestedInstallments>5</RequestedInstallments>
  <RequestedRecoveryStartPeriodId>1</RequestedRecoveryStartPeriodId>
</RequestEmployeeAdvanceCreate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />