PUT api/ClergyCategory/Update

Request Information

URI Parameters

None.

Body Parameters

ClergyCategoryUpdate
NameDescriptionTypeAdditional information
ClergyCategoryId

integer

Required

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

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "ClergyCategoryId": 1,
  "ClergyCategoryName": "sample string 2",
  "Code": "sample string 3",
  "ClergyType": {
    "ClergyTypeId": 1,
    "ClergyTypeName": "sample string 2"
  },
  "ClergyCategoryLevel": 4.0,
  "Status": "sample string 5",
  "UpdateUser": 6,
  "UpdateIp": "sample string 7"
}

application/xml, text/xml

Sample:
<ClergyCategoryUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ClergyCategoryId>1</ClergyCategoryId>
  <ClergyCategoryLevel>4</ClergyCategoryLevel>
  <ClergyCategoryName>sample string 2</ClergyCategoryName>
  <ClergyType>
    <ClergyTypeId>1</ClergyTypeId>
    <ClergyTypeName>sample string 2</ClergyTypeName>
  </ClergyType>
  <Code>sample string 3</Code>
  <Status>sample string 5</Status>
  <UpdateIp>sample string 7</UpdateIp>
  <UpdateUser>6</UpdateUser>
</ClergyCategoryUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.