POST api/Bajaj/GetPolicyDetails

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
policyDetail
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "applicationNo": "sample string 1",
  "bankCode": "sample string 2",
  "branchCode": "sample string 3",
  "ifscCode": "sample string 4",
  "accountNo": "sample string 5",
  "season": "sample string 6",
  "year": "sample string 7",
  "farmerName": "sample string 8",
  "crop": "sample string 9",
  "insuredArea": "sample string 10",
  "mobNo": "sample string 11",
  "districtCode": "sample string 12",
  "taluka": "sample string 13",
  "villageName": "sample string 14",
  "iuName": "sample string 15",
  "stateCode": "sample string 16",
  "farmerId": "sample string 17",
  "scheme": "sample string 18"
}

text/html

Sample:
{"applicationNo":"sample string 1","bankCode":"sample string 2","branchCode":"sample string 3","ifscCode":"sample string 4","accountNo":"sample string 5","season":"sample string 6","year":"sample string 7","farmerName":"sample string 8","crop":"sample string 9","insuredArea":"sample string 10","mobNo":"sample string 11","districtCode":"sample string 12","taluka":"sample string 13","villageName":"sample string 14","iuName":"sample string 15","stateCode":"sample string 16","farmerId":"sample string 17","scheme":"sample string 18"}

application/xml, text/xml

Sample:
<PolicyDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models">
  <accountNo>sample string 5</accountNo>
  <applicationNo>sample string 1</applicationNo>
  <bankCode>sample string 2</bankCode>
  <branchCode>sample string 3</branchCode>
  <crop>sample string 9</crop>
  <districtCode>sample string 12</districtCode>
  <farmerId>sample string 17</farmerId>
  <farmerName>sample string 8</farmerName>
  <ifscCode>sample string 4</ifscCode>
  <insuredArea>sample string 10</insuredArea>
  <iuName>sample string 15</iuName>
  <mobNo>sample string 11</mobNo>
  <scheme>sample string 18</scheme>
  <season>sample string 6</season>
  <stateCode>sample string 16</stateCode>
  <taluka>sample string 13</taluka>
  <villageName>sample string 14</villageName>
  <year>sample string 7</year>
</PolicyDetail>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PolicyDetail'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "farmerPolDtlsList": [
    {
      "applicationNO": "sample string 1",
      "bankName": "sample string 2",
      "branchName": "sample string 3",
      "accNo": "sample string 4",
      "cropName": "sample string 5",
      "season": "sample string 6",
      "year": "sample string 7",
      "farmerName": "sample string 8",
      "stateName": "sample string 9",
      "districtCode": "sample string 10",
      "taluka": "sample string 11",
      "village": "sample string 12",
      "pincode": "sample string 13",
      "issueDate": "sample string 14",
      "termStartDate": "sample string 15",
      "termEndDate": "sample string 16",
      "notificationIuName": "sample string 17",
      "policyStatus": "sample string 18",
      "reason": "sample string 19",
      "insuredArea": "sample string 20",
      "policyNo": "sample string 21",
      "productCode": "sample string 22",
      "ifsc": "sample string 23",
      "claimNo": "sample string 24",
      "governmentShare": "sample string 25",
      "totalSumInsured": "sample string 26",
      "totalPremiumPaid": "sample string 27",
      "applicationType": "sample string 28",
      "farmersFatherName": "sample string 29",
      "farmerType": "sample string 30",
      "gender": "sample string 31",
      "createdBy": "sample string 32",
      "farmerId": "sample string 33",
      "surveyNo": "sample string 34",
      "scheme": "sample string 35"
    },
    {
      "applicationNO": "sample string 1",
      "bankName": "sample string 2",
      "branchName": "sample string 3",
      "accNo": "sample string 4",
      "cropName": "sample string 5",
      "season": "sample string 6",
      "year": "sample string 7",
      "farmerName": "sample string 8",
      "stateName": "sample string 9",
      "districtCode": "sample string 10",
      "taluka": "sample string 11",
      "village": "sample string 12",
      "pincode": "sample string 13",
      "issueDate": "sample string 14",
      "termStartDate": "sample string 15",
      "termEndDate": "sample string 16",
      "notificationIuName": "sample string 17",
      "policyStatus": "sample string 18",
      "reason": "sample string 19",
      "insuredArea": "sample string 20",
      "policyNo": "sample string 21",
      "productCode": "sample string 22",
      "ifsc": "sample string 23",
      "claimNo": "sample string 24",
      "governmentShare": "sample string 25",
      "totalSumInsured": "sample string 26",
      "totalPremiumPaid": "sample string 27",
      "applicationType": "sample string 28",
      "farmersFatherName": "sample string 29",
      "farmerType": "sample string 30",
      "gender": "sample string 31",
      "createdBy": "sample string 32",
      "farmerId": "sample string 33",
      "surveyNo": "sample string 34",
      "scheme": "sample string 35"
    },
    {
      "applicationNO": "sample string 1",
      "bankName": "sample string 2",
      "branchName": "sample string 3",
      "accNo": "sample string 4",
      "cropName": "sample string 5",
      "season": "sample string 6",
      "year": "sample string 7",
      "farmerName": "sample string 8",
      "stateName": "sample string 9",
      "districtCode": "sample string 10",
      "taluka": "sample string 11",
      "village": "sample string 12",
      "pincode": "sample string 13",
      "issueDate": "sample string 14",
      "termStartDate": "sample string 15",
      "termEndDate": "sample string 16",
      "notificationIuName": "sample string 17",
      "policyStatus": "sample string 18",
      "reason": "sample string 19",
      "insuredArea": "sample string 20",
      "policyNo": "sample string 21",
      "productCode": "sample string 22",
      "ifsc": "sample string 23",
      "claimNo": "sample string 24",
      "governmentShare": "sample string 25",
      "totalSumInsured": "sample string 26",
      "totalPremiumPaid": "sample string 27",
      "applicationType": "sample string 28",
      "farmersFatherName": "sample string 29",
      "farmerType": "sample string 30",
      "gender": "sample string 31",
      "createdBy": "sample string 32",
      "farmerId": "sample string 33",
      "surveyNo": "sample string 34",
      "scheme": "sample string 35"
    }
  ],
  "errorList": [
    {
      "errNumber": "sample string 1",
      "parName": "sample string 2",
      "parIndex": "sample string 3",
      "property": "sample string 4",
      "errText": "sample string 5",
      "errLevel": "sample string 6"
    },
    {
      "errNumber": "sample string 1",
      "parName": "sample string 2",
      "parIndex": "sample string 3",
      "property": "sample string 4",
      "errText": "sample string 5",
      "errLevel": "sample string 6"
    },
    {
      "errNumber": "sample string 1",
      "parName": "sample string 2",
      "parIndex": "sample string 3",
      "property": "sample string 4",
      "errText": "sample string 5",
      "errLevel": "sample string 6"
    }
  ],
  "errorCode": 1
}

text/html

Sample:
{"farmerPolDtlsList":[{"applicationNO":"sample string 1","bankName":"sample string 2","branchName":"sample string 3","accNo":"sample string 4","cropName":"sample string 5","season":"sample string 6","year":"sample string 7","farmerName":"sample string 8","stateName":"sample string 9","districtCode":"sample string 10","taluka":"sample string 11","village":"sample string 12","pincode":"sample string 13","issueDate":"sample string 14","termStartDate":"sample string 15","termEndDate":"sample string 16","notificationIuName":"sample string 17","policyStatus":"sample string 18","reason":"sample string 19","insuredArea":"sample string 20","policyNo":"sample string 21","productCode":"sample string 22","ifsc":"sample string 23","claimNo":"sample string 24","governmentShare":"sample string 25","totalSumInsured":"sample string 26","totalPremiumPaid":"sample string 27","applicationType":"sample string 28","farmersFatherName":"sample string 29","farmerType":"sample string 30","gender":"sample string 31","createdBy":"sample string 32","farmerId":"sample string 33","surveyNo":"sample string 34","scheme":"sample string 35"},{"applicationNO":"sample string 1","bankName":"sample string 2","branchName":"sample string 3","accNo":"sample string 4","cropName":"sample string 5","season":"sample string 6","year":"sample string 7","farmerName":"sample string 8","stateName":"sample string 9","districtCode":"sample string 10","taluka":"sample string 11","village":"sample string 12","pincode":"sample string 13","issueDate":"sample string 14","termStartDate":"sample string 15","termEndDate":"sample string 16","notificationIuName":"sample string 17","policyStatus":"sample string 18","reason":"sample string 19","insuredArea":"sample string 20","policyNo":"sample string 21","productCode":"sample string 22","ifsc":"sample string 23","claimNo":"sample string 24","governmentShare":"sample string 25","totalSumInsured":"sample string 26","totalPremiumPaid":"sample string 27","applicationType":"sample string 28","farmersFatherName":"sample string 29","farmerType":"sample string 30","gender":"sample string 31","createdBy":"sample string 32","farmerId":"sample string 33","surveyNo":"sample string 34","scheme":"sample string 35"},{"applicationNO":"sample string 1","bankName":"sample string 2","branchName":"sample string 3","accNo":"sample string 4","cropName":"sample string 5","season":"sample string 6","year":"sample string 7","farmerName":"sample string 8","stateName":"sample string 9","districtCode":"sample string 10","taluka":"sample string 11","village":"sample string 12","pincode":"sample string 13","issueDate":"sample string 14","termStartDate":"sample string 15","termEndDate":"sample string 16","notificationIuName":"sample string 17","policyStatus":"sample string 18","reason":"sample string 19","insuredArea":"sample string 20","policyNo":"sample string 21","productCode":"sample string 22","ifsc":"sample string 23","claimNo":"sample string 24","governmentShare":"sample string 25","totalSumInsured":"sample string 26","totalPremiumPaid":"sample string 27","applicationType":"sample string 28","farmersFatherName":"sample string 29","farmerType":"sample string 30","gender":"sample string 31","createdBy":"sample string 32","farmerId":"sample string 33","surveyNo":"sample string 34","scheme":"sample string 35"}],"errorList":[{"errNumber":"sample string 1","parName":"sample string 2","parIndex":"sample string 3","property":"sample string 4","errText":"sample string 5","errLevel":"sample string 6"},{"errNumber":"sample string 1","parName":"sample string 2","parIndex":"sample string 3","property":"sample string 4","errText":"sample string 5","errLevel":"sample string 6"},{"errNumber":"sample string 1","parName":"sample string 2","parIndex":"sample string 3","property":"sample string 4","errText":"sample string 5","errLevel":"sample string 6"}],"errorCode":1}

application/xml, text/xml

Sample:
<PolicyDetailResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models">
  <errorCode>1</errorCode>
  <errorList>
    <errorList>
      <errLevel>sample string 6</errLevel>
      <errNumber>sample string 1</errNumber>
      <errText>sample string 5</errText>
      <parIndex>sample string 3</parIndex>
      <parName>sample string 2</parName>
      <property>sample string 4</property>
    </errorList>
    <errorList>
      <errLevel>sample string 6</errLevel>
      <errNumber>sample string 1</errNumber>
      <errText>sample string 5</errText>
      <parIndex>sample string 3</parIndex>
      <parName>sample string 2</parName>
      <property>sample string 4</property>
    </errorList>
    <errorList>
      <errLevel>sample string 6</errLevel>
      <errNumber>sample string 1</errNumber>
      <errText>sample string 5</errText>
      <parIndex>sample string 3</parIndex>
      <parName>sample string 2</parName>
      <property>sample string 4</property>
    </errorList>
  </errorList>
  <farmerPolDtlsList>
    <farmerPolicyDetail>
      <accNo>sample string 4</accNo>
      <applicationNO>sample string 1</applicationNO>
      <applicationType>sample string 28</applicationType>
      <bankName>sample string 2</bankName>
      <branchName>sample string 3</branchName>
      <claimNo>sample string 24</claimNo>
      <createdBy>sample string 32</createdBy>
      <cropName>sample string 5</cropName>
      <districtCode>sample string 10</districtCode>
      <farmerId>sample string 33</farmerId>
      <farmerName>sample string 8</farmerName>
      <farmerType>sample string 30</farmerType>
      <farmersFatherName>sample string 29</farmersFatherName>
      <gender>sample string 31</gender>
      <governmentShare>sample string 25</governmentShare>
      <ifsc>sample string 23</ifsc>
      <insuredArea>sample string 20</insuredArea>
      <issueDate>sample string 14</issueDate>
      <notificationIuName>sample string 17</notificationIuName>
      <pincode>sample string 13</pincode>
      <policyNo>sample string 21</policyNo>
      <policyStatus>sample string 18</policyStatus>
      <productCode>sample string 22</productCode>
      <reason>sample string 19</reason>
      <scheme>sample string 35</scheme>
      <season>sample string 6</season>
      <stateName>sample string 9</stateName>
      <surveyNo>sample string 34</surveyNo>
      <taluka>sample string 11</taluka>
      <termEndDate>sample string 16</termEndDate>
      <termStartDate>sample string 15</termStartDate>
      <totalPremiumPaid>sample string 27</totalPremiumPaid>
      <totalSumInsured>sample string 26</totalSumInsured>
      <village>sample string 12</village>
      <year>sample string 7</year>
    </farmerPolicyDetail>
    <farmerPolicyDetail>
      <accNo>sample string 4</accNo>
      <applicationNO>sample string 1</applicationNO>
      <applicationType>sample string 28</applicationType>
      <bankName>sample string 2</bankName>
      <branchName>sample string 3</branchName>
      <claimNo>sample string 24</claimNo>
      <createdBy>sample string 32</createdBy>
      <cropName>sample string 5</cropName>
      <districtCode>sample string 10</districtCode>
      <farmerId>sample string 33</farmerId>
      <farmerName>sample string 8</farmerName>
      <farmerType>sample string 30</farmerType>
      <farmersFatherName>sample string 29</farmersFatherName>
      <gender>sample string 31</gender>
      <governmentShare>sample string 25</governmentShare>
      <ifsc>sample string 23</ifsc>
      <insuredArea>sample string 20</insuredArea>
      <issueDate>sample string 14</issueDate>
      <notificationIuName>sample string 17</notificationIuName>
      <pincode>sample string 13</pincode>
      <policyNo>sample string 21</policyNo>
      <policyStatus>sample string 18</policyStatus>
      <productCode>sample string 22</productCode>
      <reason>sample string 19</reason>
      <scheme>sample string 35</scheme>
      <season>sample string 6</season>
      <stateName>sample string 9</stateName>
      <surveyNo>sample string 34</surveyNo>
      <taluka>sample string 11</taluka>
      <termEndDate>sample string 16</termEndDate>
      <termStartDate>sample string 15</termStartDate>
      <totalPremiumPaid>sample string 27</totalPremiumPaid>
      <totalSumInsured>sample string 26</totalSumInsured>
      <village>sample string 12</village>
      <year>sample string 7</year>
    </farmerPolicyDetail>
    <farmerPolicyDetail>
      <accNo>sample string 4</accNo>
      <applicationNO>sample string 1</applicationNO>
      <applicationType>sample string 28</applicationType>
      <bankName>sample string 2</bankName>
      <branchName>sample string 3</branchName>
      <claimNo>sample string 24</claimNo>
      <createdBy>sample string 32</createdBy>
      <cropName>sample string 5</cropName>
      <districtCode>sample string 10</districtCode>
      <farmerId>sample string 33</farmerId>
      <farmerName>sample string 8</farmerName>
      <farmerType>sample string 30</farmerType>
      <farmersFatherName>sample string 29</farmersFatherName>
      <gender>sample string 31</gender>
      <governmentShare>sample string 25</governmentShare>
      <ifsc>sample string 23</ifsc>
      <insuredArea>sample string 20</insuredArea>
      <issueDate>sample string 14</issueDate>
      <notificationIuName>sample string 17</notificationIuName>
      <pincode>sample string 13</pincode>
      <policyNo>sample string 21</policyNo>
      <policyStatus>sample string 18</policyStatus>
      <productCode>sample string 22</productCode>
      <reason>sample string 19</reason>
      <scheme>sample string 35</scheme>
      <season>sample string 6</season>
      <stateName>sample string 9</stateName>
      <surveyNo>sample string 34</surveyNo>
      <taluka>sample string 11</taluka>
      <termEndDate>sample string 16</termEndDate>
      <termStartDate>sample string 15</termStartDate>
      <totalPremiumPaid>sample string 27</totalPremiumPaid>
      <totalSumInsured>sample string 26</totalSumInsured>
      <village>sample string 12</village>
      <year>sample string 7</year>
    </farmerPolicyDetail>
  </farmerPolDtlsList>
</PolicyDetailResponce>