POST api/ClergyCategory/Save
Request Information
URI Parameters
None.
Body Parameters
ClergyCategorySave| Name | Description | Type | Additional information |
|---|---|---|---|
| ClergyCategoryName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| ClergyType | ClergyTypeLookup |
Required |
|
| ClergyCategoryLevel | decimal number |
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:
{
"ClergyCategoryName": "sample string 1",
"Code": "sample string 2",
"ClergyType": {
"ClergyTypeId": 1,
"ClergyTypeName": "sample string 2"
},
"ClergyCategoryLevel": 3.0,
"Status": "sample string 4",
"CreateUser": 5,
"CreateIp": "sample string 6"
}
application/xml, text/xml
Sample:
<ClergyCategorySave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<ClergyCategoryLevel>3</ClergyCategoryLevel>
<ClergyCategoryName>sample string 1</ClergyCategoryName>
<ClergyType>
<ClergyTypeId>1</ClergyTypeId>
<ClergyTypeName>sample string 2</ClergyTypeName>
</ClergyType>
<Code>sample string 2</Code>
<CreateIp>sample string 6</CreateIp>
<CreateUser>5</CreateUser>
<Status>sample string 4</Status>
</ClergyCategorySave>
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.