POST api/Rebalance/setViews

Request Information

URI Parameters

None.

Body Parameters

setViewsInputInfo
NameDescriptionTypeAdditional information
categoryList

Collection of setViewsCategoryList

None.

confidenceLevelRangeCategorywise

integer

None.

confidenceLevelRangeSubCategorywise

integer

None.

isHavingViews

boolean

None.

tenantId

string

None.

access_token

string

None.

IFAID

string

None.

statusCode

string

None.

statusMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "categoryList": [
    {
      "categoryCode": "sample string 1",
      "categoryName": "sample string 2",
      "value": 3,
      "subCategories": {}
    },
    {
      "categoryCode": "sample string 1",
      "categoryName": "sample string 2",
      "value": 3,
      "subCategories": {}
    }
  ],
  "confidenceLevelRangeCategorywise": 1,
  "confidenceLevelRangeSubCategorywise": 2,
  "isHavingViews": true,
  "tenantId": "sample string 4",
  "access_token": "sample string 5",
  "IFAID": "sample string 6",
  "statusCode": "sample string 7",
  "statusMessage": "sample string 8"
}

application/xml, text/xml

Sample:
<setViewsInputInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMFinauraApiWrapper.Class">
  <IFAID xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 6</IFAID>
  <access_token xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 5</access_token>
  <statusCode xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 7</statusCode>
  <statusMessage xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 8</statusMessage>
  <tenantId xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 4</tenantId>
  <categoryList>
    <setViewsCategoryList>
      <categoryCode>sample string 1</categoryCode>
      <categoryName>sample string 2</categoryName>
      <subCategories />
      <value>3</value>
    </setViewsCategoryList>
    <setViewsCategoryList>
      <categoryCode>sample string 1</categoryCode>
      <categoryName>sample string 2</categoryName>
      <subCategories />
      <value>3</value>
    </setViewsCategoryList>
  </categoryList>
  <confidenceLevelRangeCategorywise>1</confidenceLevelRangeCategorywise>
  <confidenceLevelRangeSubCategorywise>2</confidenceLevelRangeSubCategorywise>
  <isHavingViews>true</isHavingViews>
</setViewsInputInfo>

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 'setViewsInputInfo'.

Response Information

Resource Description

setViewsOutputInfo
NameDescriptionTypeAdditional information
statusMessage

string

None.

statusCode

string

None.

error

Object

None.

finResult

FinResult

None.

access_token

string

None.

error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "statusMessage": "sample string 1",
  "statusCode": "sample string 2",
  "error": {},
  "finResult": {
    "count": 1,
    "start": 2,
    "result": [
      {
        "InvestorClass": "sample string 1"
      },
      {
        "InvestorClass": "sample string 1"
      }
    ]
  },
  "access_token": "sample string 4"
}

application/xml, text/xml

Sample:
<setViewsOutputInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMFinauraApiWrapper.Class">
  <access_token xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 4</access_token>
  <error xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 5</error>
  <statusCode i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models" />
  <statusMessage i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models" />
  <error />
  <finResult>
    <count>1</count>
    <result>
      <InvestorResult>
        <InvestorClass>sample string 1</InvestorClass>
      </InvestorResult>
      <InvestorResult>
        <InvestorClass>sample string 1</InvestorClass>
      </InvestorResult>
    </result>
    <start>2</start>
  </finResult>
  <statusCode>sample string 2</statusCode>
  <statusMessage>sample string 1</statusMessage>
</setViewsOutputInfo>