POST api/farmWorkerSalary/InsertWorkerSalaries
Request Information
URI Parameters
None.
Body Parameters
Collection of Farm_Worker_Salary| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| WorkerId | integer |
Required |
|
| Department | string |
Required |
|
| Salary | decimal number |
Required |
|
| Month | string |
Required |
|
| Year | string |
Required |
|
| IsPaid | boolean |
None. |
|
| Status | string |
None. |
|
| PaymentDate | date |
None. |
|
| DateModified | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"WorkerId": 2,
"Department": "sample string 3",
"Salary": 4.1,
"Month": "sample string 5",
"Year": "sample string 6",
"IsPaid": true,
"Status": "sample string 8",
"PaymentDate": "2025-12-04T23:14:31.0638855+01:00",
"DateModified": "2025-12-04T23:14:31.0638855+01:00"
},
{
"Id": 1,
"WorkerId": 2,
"Department": "sample string 3",
"Salary": 4.1,
"Month": "sample string 5",
"Year": "sample string 6",
"IsPaid": true,
"Status": "sample string 8",
"PaymentDate": "2025-12-04T23:14:31.0638855+01:00",
"DateModified": "2025-12-04T23:14:31.0638855+01:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfFarm_Worker_Salary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseLibrary.Entities">
<Farm_Worker_Salary>
<DateModified>2025-12-04T23:14:31.0638855+01:00</DateModified>
<Department>sample string 3</Department>
<Id>1</Id>
<IsPaid>true</IsPaid>
<Month>sample string 5</Month>
<PaymentDate>2025-12-04T23:14:31.0638855+01:00</PaymentDate>
<Salary>4.1</Salary>
<Status>sample string 8</Status>
<WorkerId>2</WorkerId>
<Year>sample string 6</Year>
</Farm_Worker_Salary>
<Farm_Worker_Salary>
<DateModified>2025-12-04T23:14:31.0638855+01:00</DateModified>
<Department>sample string 3</Department>
<Id>1</Id>
<IsPaid>true</IsPaid>
<Month>sample string 5</Month>
<PaymentDate>2025-12-04T23:14:31.0638855+01:00</PaymentDate>
<Salary>4.1</Salary>
<Status>sample string 8</Status>
<WorkerId>2</WorkerId>
<Year>sample string 6</Year>
</Farm_Worker_Salary>
</ArrayOfFarm_Worker_Salary>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.