POST api/ReBalData/SaveRebalancerData
Request Information
URI Parameters
None.
Body Parameters
ReBalancerInputInfoName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
portfolioRecompute | Collection of PortfolioRecompute |
None. |
|
asset_weights | Collection of AssetWeight |
None. |
|
APIKey | string |
None. |
|
PDFURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "portfolioRecompute": [ { "BroadCategoryGroup": "sample string 1", "Remarks": "sample string 2", "SchemeCode": "sample string 3", "action": "sample string 4", "allotedUnits": 5.1, "amt": 6.1, "amtUnit": 7, "amtUnitFlag": "sample string 8", "assetId": "sample string 9", "color": "sample string 10", "curWt": 11.1, "currentNAV": 12.1, "currentNav": 13.1, "executionOneTimeFlag": true, "executionSipFlag": true, "flag": "sample string 16", "folioNo": 17, "generatedFlag": true, "generatedPortfolio": "sample string 19", "initialInvestment": 20, "investedAmount": 21, "isin": "sample string 22", "monthlySipamount": 23, "noOfInstallment": 24, "portFolioType": "sample string 25", "portfolioId": 26, "portfolioSchemeId": 27, "primaryAssetClass": "sample string 28", "purchaseAmount": 29, "purchaseDate": "sample string 30", "purchaseNav": 31.1, "rbwId": "sample string 32", "recommendation": {}, "schemeName": "sample string 34", "schemeWeight": 35.1, "secondaryAssetClass": "sample string 36", "sipDates": [ 1, 2 ], "status": "sample string 37", "totalInvestment": "sample string 38" }, { "BroadCategoryGroup": "sample string 1", "Remarks": "sample string 2", "SchemeCode": "sample string 3", "action": "sample string 4", "allotedUnits": 5.1, "amt": 6.1, "amtUnit": 7, "amtUnitFlag": "sample string 8", "assetId": "sample string 9", "color": "sample string 10", "curWt": 11.1, "currentNAV": 12.1, "currentNav": 13.1, "executionOneTimeFlag": true, "executionSipFlag": true, "flag": "sample string 16", "folioNo": 17, "generatedFlag": true, "generatedPortfolio": "sample string 19", "initialInvestment": 20, "investedAmount": 21, "isin": "sample string 22", "monthlySipamount": 23, "noOfInstallment": 24, "portFolioType": "sample string 25", "portfolioId": 26, "portfolioSchemeId": 27, "primaryAssetClass": "sample string 28", "purchaseAmount": 29, "purchaseDate": "sample string 30", "purchaseNav": 31.1, "rbwId": "sample string 32", "recommendation": {}, "schemeName": "sample string 34", "schemeWeight": 35.1, "secondaryAssetClass": "sample string 36", "sipDates": [ 1, 2 ], "status": "sample string 37", "totalInvestment": "sample string 38" } ], "asset_weights": [ { "asset": "sample string 1", "sub_asset_class_weight": [ [ {}, {} ], [ {}, {} ] ], "weight": 2.1 }, { "asset": "sample string 1", "sub_asset_class_weight": [ [ {}, {} ], [ {}, {} ] ], "weight": 2.1 } ], "APIKey": "sample string 3", "PDFURL": "sample string 4" }
application/xml, text/xml
Sample:
<ReBalancerInputInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models.ReBalancer"> <APIKey>sample string 3</APIKey> <Message>sample string 2</Message> <PDFURL>sample string 4</PDFURL> <Status>sample string 1</Status> <asset_weights> <AssetWeight> <asset>sample string 1</asset> <sub_asset_class_weight xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:ArrayOfanyType> <d4p1:anyType /> <d4p1:anyType /> </d4p1:ArrayOfanyType> <d4p1:ArrayOfanyType> <d4p1:anyType /> <d4p1:anyType /> </d4p1:ArrayOfanyType> </sub_asset_class_weight> <weight>2.1</weight> </AssetWeight> <AssetWeight> <asset>sample string 1</asset> <sub_asset_class_weight xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:ArrayOfanyType> <d4p1:anyType /> <d4p1:anyType /> </d4p1:ArrayOfanyType> <d4p1:ArrayOfanyType> <d4p1:anyType /> <d4p1:anyType /> </d4p1:ArrayOfanyType> </sub_asset_class_weight> <weight>2.1</weight> </AssetWeight> </asset_weights> <portfolioRecompute> <PortfolioRecompute> <BroadCategoryGroup>sample string 1</BroadCategoryGroup> <Remarks>sample string 2</Remarks> <SchemeCode>sample string 3</SchemeCode> <action>sample string 4</action> <allotedUnits>5.1</allotedUnits> <amt>6.1</amt> <amtUnit>7</amtUnit> <amtUnitFlag>sample string 8</amtUnitFlag> <assetId>sample string 9</assetId> <color>sample string 10</color> <curWt>11.1</curWt> <currentNAV>12.1</currentNAV> <currentNav>13.1</currentNav> <executionOneTimeFlag>true</executionOneTimeFlag> <executionSipFlag>true</executionSipFlag> <flag>sample string 16</flag> <folioNo>17</folioNo> <generatedFlag>true</generatedFlag> <generatedPortfolio>sample string 19</generatedPortfolio> <initialInvestment>20</initialInvestment> <investedAmount>21</investedAmount> <isin>sample string 22</isin> <monthlySipamount>23</monthlySipamount> <noOfInstallment>24</noOfInstallment> <portFolioType>sample string 25</portFolioType> <portfolioId>26</portfolioId> <portfolioSchemeId>27</portfolioSchemeId> <primaryAssetClass>sample string 28</primaryAssetClass> <purchaseAmount>29</purchaseAmount> <purchaseDate>sample string 30</purchaseDate> <purchaseNav>31.1</purchaseNav> <rbwId>sample string 32</rbwId> <recommendation /> <schemeName>sample string 34</schemeName> <schemeWeight>35.1</schemeWeight> <secondaryAssetClass>sample string 36</secondaryAssetClass> <sipDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </sipDates> <status>sample string 37</status> <totalInvestment>sample string 38</totalInvestment> </PortfolioRecompute> <PortfolioRecompute> <BroadCategoryGroup>sample string 1</BroadCategoryGroup> <Remarks>sample string 2</Remarks> <SchemeCode>sample string 3</SchemeCode> <action>sample string 4</action> <allotedUnits>5.1</allotedUnits> <amt>6.1</amt> <amtUnit>7</amtUnit> <amtUnitFlag>sample string 8</amtUnitFlag> <assetId>sample string 9</assetId> <color>sample string 10</color> <curWt>11.1</curWt> <currentNAV>12.1</currentNAV> <currentNav>13.1</currentNav> <executionOneTimeFlag>true</executionOneTimeFlag> <executionSipFlag>true</executionSipFlag> <flag>sample string 16</flag> <folioNo>17</folioNo> <generatedFlag>true</generatedFlag> <generatedPortfolio>sample string 19</generatedPortfolio> <initialInvestment>20</initialInvestment> <investedAmount>21</investedAmount> <isin>sample string 22</isin> <monthlySipamount>23</monthlySipamount> <noOfInstallment>24</noOfInstallment> <portFolioType>sample string 25</portFolioType> <portfolioId>26</portfolioId> <portfolioSchemeId>27</portfolioSchemeId> <primaryAssetClass>sample string 28</primaryAssetClass> <purchaseAmount>29</purchaseAmount> <purchaseDate>sample string 30</purchaseDate> <purchaseNav>31.1</purchaseNav> <rbwId>sample string 32</rbwId> <recommendation /> <schemeName>sample string 34</schemeName> <schemeWeight>35.1</schemeWeight> <secondaryAssetClass>sample string 36</secondaryAssetClass> <sipDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </sipDates> <status>sample string 37</status> <totalInvestment>sample string 38</totalInvestment> </PortfolioRecompute> </portfolioRecompute> </ReBalancerInputInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReBalancerOutPutInfoName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
ID | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "ID": "sample string 3" }
application/xml, text/xml
Sample:
<ReBalancerOutPutInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models.ReBalancer"> <ID>sample string 3</ID> <Message>sample string 2</Message> <Status>sample string 1</Status> </ReBalancerOutPutInfo>