POST api/FundSwitch/InsertFundSitch

Request Information

URI Parameters

None.

Body Parameters

MSwitchFundRequest
NameDescriptionTypeAdditional information
strClientID

string

Required

strPolicyNo

string

Required

mResPolicySwitches

Collection of MResPolicySwitch

Required

iResult

string

None.

StrError

string

None.

strSrsNo

string

None.

strSrstatus

string

None.

resultstatus

string

None.

Request Formats

application/json, text/json

Sample:
{
  "strClientID": "sample string 1",
  "strPolicyNo": "sample string 2",
  "mResPolicySwitches": [
    {
      "Code": "sample string 1",
      "Nav_date": "sample string 2",
      "NavasOndate": "sample string 3",
      "NoOfUnit": "sample string 4",
      "CurrentFundValue": "sample string 5",
      "Item_List_name": "sample string 6",
      "FUND_SWITCH_FLAG": "sample string 7",
      "strChngALLOCATION": "sample string 8",
      "strTotalFund": "sample string 9"
    },
    {
      "Code": "sample string 1",
      "Nav_date": "sample string 2",
      "NavasOndate": "sample string 3",
      "NoOfUnit": "sample string 4",
      "CurrentFundValue": "sample string 5",
      "Item_List_name": "sample string 6",
      "FUND_SWITCH_FLAG": "sample string 7",
      "strChngALLOCATION": "sample string 8",
      "strTotalFund": "sample string 9"
    }
  ],
  "iResult": "sample string 3",
  "StrError": "sample string 4",
  "strSrsNo": "sample string 5",
  "strSrstatus": "sample string 6",
  "resultstatus": "sample string 7"
}

application/xml, text/xml

Sample:
<MSwitchFundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerWebAPI.Models">
  <StrError>sample string 4</StrError>
  <iResult>sample string 3</iResult>
  <mResPolicySwitches>
    <MResPolicySwitch>
      <Code>sample string 1</Code>
      <CurrentFundValue>sample string 5</CurrentFundValue>
      <FUND_SWITCH_FLAG>sample string 7</FUND_SWITCH_FLAG>
      <Item_List_name>sample string 6</Item_List_name>
      <Nav_date>sample string 2</Nav_date>
      <NavasOndate>sample string 3</NavasOndate>
      <NoOfUnit>sample string 4</NoOfUnit>
      <strChngALLOCATION>sample string 8</strChngALLOCATION>
      <strTotalFund>sample string 9</strTotalFund>
    </MResPolicySwitch>
    <MResPolicySwitch>
      <Code>sample string 1</Code>
      <CurrentFundValue>sample string 5</CurrentFundValue>
      <FUND_SWITCH_FLAG>sample string 7</FUND_SWITCH_FLAG>
      <Item_List_name>sample string 6</Item_List_name>
      <Nav_date>sample string 2</Nav_date>
      <NavasOndate>sample string 3</NavasOndate>
      <NoOfUnit>sample string 4</NoOfUnit>
      <strChngALLOCATION>sample string 8</strChngALLOCATION>
      <strTotalFund>sample string 9</strTotalFund>
    </MResPolicySwitch>
  </mResPolicySwitches>
  <resultstatus>sample string 7</resultstatus>
  <strClientID>sample string 1</strClientID>
  <strPolicyNo>sample string 2</strPolicyNo>
  <strSrsNo>sample string 5</strSrsNo>
  <strSrstatus>sample string 6</strSrstatus>
</MSwitchFundRequest>

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.