POST api/GenBodyLadiesQuota/Save?GenBodyId={GenBodyId}&DioceseId={DioceseId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
GenBodyId

integer

Required

DioceseId

integer

Required

Body Parameters

Collection of GenBodyLadiesQuotaSave
NameDescriptionTypeAdditional information
GenBody

GenBodyLookupVM

Required

Slno

integer

Required

Parish

EstablishmentLookup

None.

Diocese

EstablishmentLookup

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:
[
  {
    "GenBody": {
      "GenBodyId": 1,
      "GenBodyDesc": "sample string 2"
    },
    "Slno": 1,
    "Parish": {
      "EstablishId": 1,
      "EstablishName": "sample string 2",
      "EstablishType": {
        "EstablishTypeId": 1,
        "EstablishTypeName": "sample string 2"
      },
      "EstablishCategory": {
        "EstablishCategoryId": 1,
        "EstablishCategoryName": "sample string 2"
      },
      "TotalMembers": 3,
      "TotalHouses": 4
    },
    "Diocese": {
      "EstablishId": 1,
      "EstablishName": "sample string 2",
      "EstablishType": {
        "EstablishTypeId": 1,
        "EstablishTypeName": "sample string 2"
      },
      "EstablishCategory": {
        "EstablishCategoryId": 1,
        "EstablishCategoryName": "sample string 2"
      },
      "TotalMembers": 3,
      "TotalHouses": 4
    },
    "Status": "sample string 2",
    "CreateUser": 3,
    "CreateIp": "sample string 4"
  },
  {
    "GenBody": {
      "GenBodyId": 1,
      "GenBodyDesc": "sample string 2"
    },
    "Slno": 1,
    "Parish": {
      "EstablishId": 1,
      "EstablishName": "sample string 2",
      "EstablishType": {
        "EstablishTypeId": 1,
        "EstablishTypeName": "sample string 2"
      },
      "EstablishCategory": {
        "EstablishCategoryId": 1,
        "EstablishCategoryName": "sample string 2"
      },
      "TotalMembers": 3,
      "TotalHouses": 4
    },
    "Diocese": {
      "EstablishId": 1,
      "EstablishName": "sample string 2",
      "EstablishType": {
        "EstablishTypeId": 1,
        "EstablishTypeName": "sample string 2"
      },
      "EstablishCategory": {
        "EstablishCategoryId": 1,
        "EstablishCategoryName": "sample string 2"
      },
      "TotalMembers": 3,
      "TotalHouses": 4
    },
    "Status": "sample string 2",
    "CreateUser": 3,
    "CreateIp": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGenBodyLadiesQuotaSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <GenBodyLadiesQuotaSave>
    <CreateIp>sample string 4</CreateIp>
    <CreateUser>3</CreateUser>
    <Diocese>
      <EstablishCategory>
        <EstablishCategoryId>1</EstablishCategoryId>
        <EstablishCategoryName>sample string 2</EstablishCategoryName>
      </EstablishCategory>
      <EstablishId>1</EstablishId>
      <EstablishName>sample string 2</EstablishName>
      <EstablishType>
        <EstablishTypeId>1</EstablishTypeId>
        <EstablishTypeName>sample string 2</EstablishTypeName>
      </EstablishType>
      <TotalHouses>4</TotalHouses>
      <TotalMembers>3</TotalMembers>
    </Diocese>
    <GenBody>
      <GenBodyDesc>sample string 2</GenBodyDesc>
      <GenBodyId>1</GenBodyId>
    </GenBody>
    <Parish>
      <EstablishCategory>
        <EstablishCategoryId>1</EstablishCategoryId>
        <EstablishCategoryName>sample string 2</EstablishCategoryName>
      </EstablishCategory>
      <EstablishId>1</EstablishId>
      <EstablishName>sample string 2</EstablishName>
      <EstablishType>
        <EstablishTypeId>1</EstablishTypeId>
        <EstablishTypeName>sample string 2</EstablishTypeName>
      </EstablishType>
      <TotalHouses>4</TotalHouses>
      <TotalMembers>3</TotalMembers>
    </Parish>
    <Slno>1</Slno>
    <Status>sample string 2</Status>
  </GenBodyLadiesQuotaSave>
  <GenBodyLadiesQuotaSave>
    <CreateIp>sample string 4</CreateIp>
    <CreateUser>3</CreateUser>
    <Diocese>
      <EstablishCategory>
        <EstablishCategoryId>1</EstablishCategoryId>
        <EstablishCategoryName>sample string 2</EstablishCategoryName>
      </EstablishCategory>
      <EstablishId>1</EstablishId>
      <EstablishName>sample string 2</EstablishName>
      <EstablishType>
        <EstablishTypeId>1</EstablishTypeId>
        <EstablishTypeName>sample string 2</EstablishTypeName>
      </EstablishType>
      <TotalHouses>4</TotalHouses>
      <TotalMembers>3</TotalMembers>
    </Diocese>
    <GenBody>
      <GenBodyDesc>sample string 2</GenBodyDesc>
      <GenBodyId>1</GenBodyId>
    </GenBody>
    <Parish>
      <EstablishCategory>
        <EstablishCategoryId>1</EstablishCategoryId>
        <EstablishCategoryName>sample string 2</EstablishCategoryName>
      </EstablishCategory>
      <EstablishId>1</EstablishId>
      <EstablishName>sample string 2</EstablishName>
      <EstablishType>
        <EstablishTypeId>1</EstablishTypeId>
        <EstablishTypeName>sample string 2</EstablishTypeName>
      </EstablishType>
      <TotalHouses>4</TotalHouses>
      <TotalMembers>3</TotalMembers>
    </Parish>
    <Slno>1</Slno>
    <Status>sample string 2</Status>
  </GenBodyLadiesQuotaSave>
</ArrayOfGenBodyLadiesQuotaSave>

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.