PUT api/ParishKallara/Update

Request Information

URI Parameters

None.

Body Parameters

ParishKallaraUpdateVM
NameDescriptionTypeAdditional information
KallaraId

integer

Required

BookId

integer

Required

KallaraNo

string

Required

String length: inclusive between 0 and 50

KallaraDescription

string

Required

String length: inclusive between 0 and 100

Family

ParishFamilyLookupVM

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:
{
  "KallaraId": 1,
  "BookId": 2,
  "KallaraNo": "sample string 3",
  "KallaraDescription": "sample string 4",
  "Family": {
    "FamilyId": 1,
    "FamilyName": "sample string 2",
    "PrayerGroup": {
      "PrayerGroupId": 1,
      "PrayerGroupName": "sample string 2"
    },
    "FamilyNo": "sample string 3",
    "RegNoPre": "sample string 4",
    "RegNo": 5,
    "HouseName": "sample string 6",
    "PhotoPath": "sample string 7"
  },
  "Status": "sample string 5",
  "UpdateUser": 6,
  "UpdateIp": "sample string 7"
}

application/xml, text/xml

Sample:
<ParishKallaraUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>2</BookId>
  <Family>
    <FamilyId>1</FamilyId>
    <FamilyName>sample string 2</FamilyName>
    <FamilyNo>sample string 3</FamilyNo>
    <HouseName>sample string 6</HouseName>
    <PhotoPath>sample string 7</PhotoPath>
    <PrayerGroup>
      <PrayerGroupId>1</PrayerGroupId>
      <PrayerGroupName>sample string 2</PrayerGroupName>
    </PrayerGroup>
    <RegNo>5</RegNo>
    <RegNoPre>sample string 4</RegNoPre>
  </Family>
  <KallaraDescription>sample string 4</KallaraDescription>
  <KallaraId>1</KallaraId>
  <KallaraNo>sample string 3</KallaraNo>
  <Status>sample string 5</Status>
  <UpdateIp>sample string 7</UpdateIp>
  <UpdateUser>6</UpdateUser>
</ParishKallaraUpdateVM>

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.