POST api/EmployeePrefixMap/Save
Request Information
URI Parameters
None.
Body Parameters
EmployeePrefixMapSave| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| PrefixList | Collection of EmployeePrefixMapById |
Required |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"CreateUser": 2,
"CreateIp": "sample string 3",
"PrefixList": [
{
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
}
},
{
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
}
}
]
}
application/xml, text/xml
Sample:
<EmployeePrefixMapSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<CreateIp>sample string 3</CreateIp>
<CreateUser>2</CreateUser>
<PrefixList>
<EmployeePrefixMapById>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
</EmployeePrefixMapById>
<EmployeePrefixMapById>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
</EmployeePrefixMapById>
</PrefixList>
</EmployeePrefixMapSave>
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.