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