POST api/Baseline
Request Information
URI Parameters
None.
Body Parameters
InsertBaselineDataName | Description | Type | Additional information |
---|---|---|---|
BeneficiaryMobileNo | string |
None. |
|
BeneficiaryID | string |
None. |
|
BudyMobileNo | string |
None. |
|
BaseType | string |
None. |
|
SingPath | string |
None. |
|
ProjectID | integer |
None. |
|
ProjectSubID | integer |
None. |
|
DBID | string |
None. |
|
BeneficiaryName | string |
None. |
|
BeneficiaryAddress | string |
None. |
|
LandUnit | string |
None. |
|
LandSize | string |
None. |
|
BaselineDataRepo | Collection of BaselineDataRepo |
None. |
|
LocationData | Collection of LocationData |
None. |
Request Formats
application/json, text/json
Sample:
{ "BeneficiaryMobileNo": "sample string 1", "BeneficiaryID": "sample string 2", "BudyMobileNo": "sample string 3", "BaseType": "sample string 4", "SingPath": "sample string 5", "ProjectID": 6, "ProjectSubID": 7, "DBID": "sample string 8", "BeneficiaryName": "sample string 9", "BeneficiaryAddress": "sample string 10", "LandUnit": "sample string 11", "LandSize": "sample string 12", "BaselineDataRepo": [ { "QuesNo": 1, "QuesText": "sample string 2", "AnsText": "sample string 3" }, { "QuesNo": 1, "QuesText": "sample string 2", "AnsText": "sample string 3" } ], "LocationData": [ { "Lat": 1.0, "Long": 2.0 }, { "Lat": 1.0, "Long": 2.0 } ] }
application/xml, text/xml
Sample:
<InsertBaselineData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiAssignment.Models.Baseline"> <BaseType>sample string 4</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> <BeneficiaryAddress>sample string 10</BeneficiaryAddress> <BeneficiaryID>sample string 2</BeneficiaryID> <BeneficiaryMobileNo>sample string 1</BeneficiaryMobileNo> <BeneficiaryName>sample string 9</BeneficiaryName> <BudyMobileNo>sample string 3</BudyMobileNo> <DBID>sample string 8</DBID> <LandSize>sample string 12</LandSize> <LandUnit>sample string 11</LandUnit> <LocationData> <LocationData> <Lat>1</Lat> <Long>2</Long> </LocationData> <LocationData> <Lat>1</Lat> <Long>2</Long> </LocationData> </LocationData> <ProjectID>6</ProjectID> <ProjectSubID>7</ProjectSubID> <SingPath>sample string 5</SingPath> </InsertBaselineData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.