POST paidSalaries/addPaidSalery

Request Information

URI Parameters

None.

Body Parameters

paidSalariesData
NameDescriptionTypeAdditional information
paidId

integer

None.

dateFrom

date

None.

dateTo

date

None.

dateAction

date

None.

timeAction

date

None.

salaryPaidTypeNameEn

string

None.

salaryPaidTypeNameAr

string

None.

salaryPaidTypeId

integer

None.

salaryExptionValue

decimal number

None.

salaryPaid

decimal number

None.

salaryRemaning

decimal number

None.

salaryPunishment

decimal number

None.

salaryBonus

decimal number

None.

totalWorkHourRemaning

decimal number

None.

totalWorkHour

decimal number

None.

employeeId

integer

None.

employeeIdMakeAction

integer

None.

employeeNameArMakeAction

string

None.

employeeNameEnMakeAction

string

None.

paidDeleteStatus

boolean

None.

language

string

None.

page

integer

None.

year

integer

None.

month

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "paidId": 1,
  "dateFrom": "2025-12-06T00:34:04.076316-05:00",
  "dateTo": "2025-12-06T00:34:04.076316-05:00",
  "dateAction": "2025-12-06T00:34:04.076316-05:00",
  "timeAction": "2025-12-06T00:34:04.076316-05:00",
  "salaryPaidTypeNameEn": "sample string 6",
  "salaryPaidTypeNameAr": "sample string 7",
  "salaryPaidTypeId": 8,
  "salaryExptionValue": 9.0,
  "salaryPaid": 10.0,
  "salaryRemaning": 11.0,
  "salaryPunishment": 12.0,
  "salaryBonus": 13.0,
  "totalWorkHourRemaning": 14.0,
  "totalWorkHour": 15.0,
  "employeeId": 16,
  "employeeIdMakeAction": 17,
  "employeeNameArMakeAction": "sample string 18",
  "employeeNameEnMakeAction": "sample string 19",
  "paidDeleteStatus": true,
  "language": "sample string 21",
  "page": 22,
  "year": 23,
  "month": 24
}

application/xml, text/xml

Sample:
<paidSalariesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/spor.Models.paidSalaries">
  <dateAction>2025-12-06T00:34:04.076316-05:00</dateAction>
  <dateFrom>2025-12-06T00:34:04.076316-05:00</dateFrom>
  <dateTo>2025-12-06T00:34:04.076316-05:00</dateTo>
  <employeeId>16</employeeId>
  <employeeIdMakeAction>17</employeeIdMakeAction>
  <employeeNameArMakeAction>sample string 18</employeeNameArMakeAction>
  <employeeNameEnMakeAction>sample string 19</employeeNameEnMakeAction>
  <language>sample string 21</language>
  <month>24</month>
  <page>22</page>
  <paidDeleteStatus>true</paidDeleteStatus>
  <paidId>1</paidId>
  <salaryBonus>13</salaryBonus>
  <salaryExptionValue>9</salaryExptionValue>
  <salaryPaid>10</salaryPaid>
  <salaryPaidTypeId>8</salaryPaidTypeId>
  <salaryPaidTypeNameAr>sample string 7</salaryPaidTypeNameAr>
  <salaryPaidTypeNameEn>sample string 6</salaryPaidTypeNameEn>
  <salaryPunishment>12</salaryPunishment>
  <salaryRemaning>11</salaryRemaning>
  <timeAction>2025-12-06T00:34:04.076316-05:00</timeAction>
  <totalWorkHour>15</totalWorkHour>
  <totalWorkHourRemaning>14</totalWorkHourRemaning>
  <year>23</year>
</paidSalariesData>

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

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.