POST api/Payroll/InsertSalarySlip?isOpen={isOpen}&userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
isOpen | boolean |
Required |
|
userId | integer |
Required |
Body Parameters
SalarySlipModelName | Description | Type | Additional information |
---|---|---|---|
SlipNo | integer |
None. |
|
SlipDate | date |
None. |
|
EmployeeID | integer |
None. |
|
Amount | decimal number |
None. |
|
Remarks | string |
None. |
|
CPVNo | integer |
None. |
|
EmployeeName | string |
None. |
|
AccountNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SlipNo": 1, "SlipDate": "2025-07-04T18:53:17.5097389+05:00", "EmployeeID": 3, "Amount": 4.0, "Remarks": "sample string 5", "CPVNo": 6, "EmployeeName": "sample string 7", "AccountNo": "sample string 8" }
application/xml, text/xml
Sample:
<SalarySlipModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models.Payroll"> <AccountNo>sample string 8</AccountNo> <Amount>4</Amount> <CPVNo>6</CPVNo> <EmployeeID>3</EmployeeID> <EmployeeName>sample string 7</EmployeeName> <Remarks>sample string 5</Remarks> <SlipDate>2025-07-04T18:53:17.5097389+05:00</SlipDate> <SlipNo>1</SlipNo> </SalarySlipModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |