POST api/ParishKallara/Save

Request Information

URI Parameters

None.

Body Parameters

ParishKallaraSaveVM
NameDescriptionTypeAdditional information
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

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "KallaraNo": "sample string 2",
  "KallaraDescription": "sample string 3",
  "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 4",
  "CreateUser": 5,
  "CreateIp": "sample string 6"
}

application/xml, text/xml

Sample:
<ParishKallaraSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <CreateIp>sample string 6</CreateIp>
  <CreateUser>5</CreateUser>
  <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 3</KallaraDescription>
  <KallaraNo>sample string 2</KallaraNo>
  <Status>sample string 4</Status>
</ParishKallaraSaveVM>

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.