PUT api/PayrollPayHead/Update
Request Information
URI Parameters
None.
Body Parameters
PayrollPayHeadUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| PayHeadId | integer |
Required |
|
| BookId | integer |
Required |
|
| PayHeadDesc | string |
Required String length: inclusive between 0 and 200 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| AddOrDed | string |
Required Matching regular expression pattern: A|D |
|
| IsSpecial | string |
Required Matching regular expression pattern: Y|N |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
|
| Ord | decimal number |
None. |
|
| IsGroupProcess | string |
Required Matching regular expression pattern: Y|N |
|
| IsNeedAccMap | string |
Required Matching regular expression pattern: Y|N |
Request Formats
application/json, text/json
Sample:
{
"PayHeadId": 1,
"BookId": 2,
"PayHeadDesc": "sample string 3",
"Code": "sample string 4",
"AddOrDed": "sample string 5",
"IsSpecial": "sample string 6",
"Status": "sample string 7",
"UpdateUser": 8,
"UpdateIp": "sample string 9",
"Ord": 10.0,
"IsGroupProcess": "sample string 11",
"IsNeedAccMap": "sample string 12"
}
application/xml, text/xml
Sample:
<PayrollPayHeadUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <AddOrDed>sample string 5</AddOrDed> <BookId>2</BookId> <Code>sample string 4</Code> <IsGroupProcess>sample string 11</IsGroupProcess> <IsNeedAccMap>sample string 12</IsNeedAccMap> <IsSpecial>sample string 6</IsSpecial> <Ord>10</Ord> <PayHeadDesc>sample string 3</PayHeadDesc> <PayHeadId>1</PayHeadId> <Status>sample string 7</Status> <UpdateIp>sample string 9</UpdateIp> <UpdateUser>8</UpdateUser> </PayrollPayHeadUpdateVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.