POST api/PayrollPayHead/Save
Request Information
URI Parameters
None.
Body Parameters
PayrollPayHeadSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| 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 |
|
| CreateUser | integer |
Required |
|
| CreateIp | 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:
{
"BookId": 1,
"PayHeadDesc": "sample string 2",
"Code": "sample string 3",
"AddOrDed": "sample string 4",
"IsSpecial": "sample string 5",
"Status": "sample string 6",
"CreateUser": 7,
"CreateIp": "sample string 8",
"Ord": 9.0,
"IsGroupProcess": "sample string 10",
"IsNeedAccMap": "sample string 11"
}
application/xml, text/xml
Sample:
<PayrollPayHeadSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <AddOrDed>sample string 4</AddOrDed> <BookId>1</BookId> <Code>sample string 3</Code> <CreateIp>sample string 8</CreateIp> <CreateUser>7</CreateUser> <IsGroupProcess>sample string 10</IsGroupProcess> <IsNeedAccMap>sample string 11</IsNeedAccMap> <IsSpecial>sample string 5</IsSpecial> <Ord>9</Ord> <PayHeadDesc>sample string 2</PayHeadDesc> <Status>sample string 6</Status> </PayrollPayHeadSaveVM>
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.