POST API/Payroll/CalculatePayStructure
Request Information
URI Parameters
None.
Body Parameters
PayCalculatorRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DivisionId | string |
None. |
|
| FormId | integer |
None. |
|
| StateName | string |
None. |
|
| DesiginationName | string |
None. |
|
| InputValues | decimal number |
None. |
|
| ComponentType | string |
None. |
|
| TH | decimal number |
None. |
|
| CTC | decimal number |
None. |
|
| returnErrorMessage | string |
None. |
|
| returnStatus | boolean |
None. |
|
| ClientId | string |
None. |
|
| clientName | string |
None. |
|
| Connectionstring | string |
None. |
|
| DocumentURL | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"DivisionId": "sample string 1",
"FormId": 2,
"StateName": "sample string 3",
"DesiginationName": "sample string 4",
"InputValues": 5.0,
"ComponentType": "sample string 6",
"TH": 7.0,
"CTC": 8.0,
"returnErrorMessage": "sample string 9",
"returnStatus": true,
"ClientId": "sample string 11",
"clientName": "sample string 12",
"Connectionstring": "sample string 13",
"DocumentURL": "sample string 14",
"CreatedBy": "sample string 15",
"CreatedDate": "2026-01-11T05:27:43.1141522+05:30",
"ModifiedBy": "sample string 17",
"ModifiedDate": "2026-01-11T05:27:43.1141522+05:30"
}
application/xml, text/xml
Sample:
<PayCalculatorRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonWebAPI.Entity"> <ClientId>sample string 11</ClientId> <Connectionstring>sample string 13</Connectionstring> <CreatedBy>sample string 15</CreatedBy> <CreatedDate>2026-01-11T05:27:43.1141522+05:30</CreatedDate> <DocumentURL>sample string 14</DocumentURL> <ModifiedBy>sample string 17</ModifiedBy> <ModifiedDate>2026-01-11T05:27:43.1141522+05:30</ModifiedDate> <clientName>sample string 12</clientName> <returnErrorMessage>sample string 9</returnErrorMessage> <returnStatus>true</returnStatus> <CTC>8</CTC> <ComponentType>sample string 6</ComponentType> <DesiginationName>sample string 4</DesiginationName> <DivisionId>sample string 1</DivisionId> <FormId>2</FormId> <InputValues>5</InputValues> <StateName>sample string 3</StateName> <TH>7</TH> </PayCalculatorRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |