POST api/PFCategory/Save
Request Information
URI Parameters
None.
Body Parameters
PFCategoryMappingVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| Category | PFCategoryLookupVM |
Required |
|
| PfAcc | AccountMasterLookup |
None. |
|
| PfLoanAcc | AccountMasterLookup |
None. |
|
| PfLoanInterestAcc | AccountMasterLookup |
None. |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"Category": {
"CategoryId": 1,
"CategoryName": "sample string 2"
},
"PfAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"PfLoanAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"PfLoanInterestAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"Status": "sample string 2",
"CreateUser": 3,
"CreateIp": "sample string 4"
}
application/xml, text/xml
Sample:
<PFCategoryMappingVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<Category>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
</Category>
<CreateIp>sample string 4</CreateIp>
<CreateUser>3</CreateUser>
<PfAcc>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</PfAcc>
<PfLoanAcc>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</PfLoanAcc>
<PfLoanInterestAcc>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</PfLoanInterestAcc>
<Status>sample string 2</Status>
</PFCategoryMappingVM>
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.