POST api/VillageHeadBaseLine

Request Information

URI Parameters

None.

Body Parameters

InsertVillageHeadBaseline
NameDescriptionTypeAdditional information
VillageHeadID

string

None.

FirstName

string

Required

LastName

string

Required

FullAddress

string

Required

HouseNo

string

None.

VillageHeadMobileNo

string

Required

Matching regular expression pattern: ^\d{10}$

BudyMobileNo

string

Required

Matching regular expression pattern: ^\d{10}$

BaseType

string

None.

ProjectID

integer

Required

ProjectSubID

integer

Required

DBID

string

Required

CountryID

integer

Required

StateID

integer

Required

DistrictID

integer

Required

TehsilID

integer

Required

VillageID

integer

Required

PostalCode

string

None.

NationalIDType

string

Required

NationalIDNO

string

Required

NationalIDFrontImage

string

Required

NationalIDBackImage

string

Required

SingPath

string

Required

VillageHeadImage

string

Required

BaselineDataRepo

Collection of BaselineDataRepo

None.

Request Formats

application/json, text/json

Sample:
{
  "VillageHeadID": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "FullAddress": "sample string 4",
  "HouseNo": "sample string 5",
  "VillageHeadMobileNo": "sample string 6",
  "BudyMobileNo": "sample string 7",
  "BaseType": "sample string 8",
  "ProjectID": 9,
  "ProjectSubID": 10,
  "DBID": "sample string 11",
  "CountryID": 12,
  "StateID": 13,
  "DistrictID": 14,
  "TehsilID": 15,
  "VillageID": 16,
  "PostalCode": "sample string 17",
  "NationalIDType": "sample string 18",
  "NationalIDNO": "sample string 19",
  "NationalIDFrontImage": "sample string 20",
  "NationalIDBackImage": "sample string 21",
  "SingPath": "sample string 22",
  "VillageHeadImage": "sample string 23",
  "BaselineDataRepo": [
    {
      "QuesNo": 1,
      "QuesText": "sample string 2",
      "AnsText": "sample string 3"
    },
    {
      "QuesNo": 1,
      "QuesText": "sample string 2",
      "AnsText": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<InsertVillageHeadBaseline xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiAssignment.Models.Baseline">
  <BaseType>sample string 8</BaseType>
  <BaselineDataRepo>
    <BaselineDataRepo>
      <AnsText>sample string 3</AnsText>
      <QuesNo>1</QuesNo>
      <QuesText>sample string 2</QuesText>
    </BaselineDataRepo>
    <BaselineDataRepo>
      <AnsText>sample string 3</AnsText>
      <QuesNo>1</QuesNo>
      <QuesText>sample string 2</QuesText>
    </BaselineDataRepo>
  </BaselineDataRepo>
  <BudyMobileNo>sample string 7</BudyMobileNo>
  <CountryID>12</CountryID>
  <DBID>sample string 11</DBID>
  <DistrictID>14</DistrictID>
  <FirstName>sample string 2</FirstName>
  <FullAddress>sample string 4</FullAddress>
  <HouseNo>sample string 5</HouseNo>
  <LastName>sample string 3</LastName>
  <NationalIDBackImage>sample string 21</NationalIDBackImage>
  <NationalIDFrontImage>sample string 20</NationalIDFrontImage>
  <NationalIDNO>sample string 19</NationalIDNO>
  <NationalIDType>sample string 18</NationalIDType>
  <PostalCode>sample string 17</PostalCode>
  <ProjectID>9</ProjectID>
  <ProjectSubID>10</ProjectSubID>
  <SingPath>sample string 22</SingPath>
  <StateID>13</StateID>
  <TehsilID>15</TehsilID>
  <VillageHeadID>sample string 1</VillageHeadID>
  <VillageHeadImage>sample string 23</VillageHeadImage>
  <VillageHeadMobileNo>sample string 6</VillageHeadMobileNo>
  <VillageID>16</VillageID>
</InsertVillageHeadBaseline>

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.