POST api/LoanAllocationReport

Request Information

URI Parameters

None.

Body Parameters

LoanAllocationReportRequest
NameDescriptionTypeAdditional information
CustomerId

globally unique identifier

None.

TransactionCount

integer

None.

UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "9cdfdec7-0fc9-4e29-83d1-27427e8bd628",
  "TransactionCount": 1,
  "UserName": "sample string 2",
  "Password": "sample string 3"
}

application/xml, text/xml

Sample:
<LoanAllocationReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfWebApi.Models">
  <CustomerId>9cdfdec7-0fc9-4e29-83d1-27427e8bd628</CustomerId>
  <Password>sample string 3</Password>
  <TransactionCount>1</TransactionCount>
  <UserName>sample string 2</UserName>
</LoanAllocationReportRequest>

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

Response Information

Resource Description

LoanAllocationReport
NameDescriptionTypeAdditional information
LoanAllocations

Collection of LoanAllocation

None.

Response Formats

application/json, text/json

Sample:
{
  "LoanAllocations": [
    {
      "Id": "547b22cb-b9f4-4b61-9afe-2656100ad460",
      "LoanId": "3aaf2963-1a3d-41cc-bdb5-438aeec5e1c7",
      "LoanCurrencyCode": "sample string 2",
      "InvestmentCurrencyCode": "sample string 3",
      "MarketCode": "sample string 4",
      "LoanAmount": 1.0,
      "LoanNumber": "sample string 5",
      "InstallmentCount": 1,
      "LoanOpeningDate": "2018-02-23T20:19:32.7952568+00:00",
      "RiskClass": 6,
      "InterestRate": 7.0,
      "LoanInterestRate": 8.0,
      "AllocationTime": "2018-02-23T20:19:32.7952568+00:00",
      "PurchaseDate": "2018-02-23T20:19:32.7952568+00:00",
      "PurchasePrice": 1.0,
      "SellDate": "2018-02-23T20:19:32.7952568+00:00",
      "SellPrice": 1.0,
      "LoanInstallmentAmount": 1.0,
      "LoanEndDate": "2018-02-23T20:19:32.7952568+00:00",
      "LastLoanPaymentDate": "2018-02-23T20:19:32.7952568+00:00",
      "TerminationDate": "2018-02-23T20:19:32.7952568+00:00",
      "RealizationDate": "2018-02-23T20:19:32.7952568+00:00",
      "CapitalInReportingCurrency": 10.0,
      "CapitalReceivableInReportingCurrency": 11.0,
      "CapitalReceivedInReportingCurrency": 12.0,
      "CapitalDueInReportingCurrency": 13.0,
      "InterestReceivableInReportingCurrency": 14.0,
      "InterestReceivedInReportingCurrency": 15.0,
      "InterestDueInReportingCurrency": 16.0,
      "InstallmentAmount": 17.0,
      "PaidInstallmentCount": 18,
      "PaymentDelayInDays": 19,
      "CreditLossProvisionRate": 20.0,
      "RealizedCreditLossInReportingCurrency": 21.0,
      "CreditLossProvisionInReportingCurrency": 22.0,
      "InvestmentInReportingCurrency": 23.0,
      "RevenueInReportingCurrency": 24.0,
      "FeeInReportingCurrency": 25.0,
      "RealizedProfitInReportingCurrency": 26.0,
      "SellCapitalInReportingCurrency": 27.0,
      "SellTotalInReportingCurrency": 28.0,
      "PurchaseCapitalInReportingCurrency": 29.0,
      "PurchaseTotalInReportingCurrency": 30.0,
      "InvestmentStartDate": "2018-02-23T20:19:32.7952568+00:00",
      "InvestmentEndDate": "2018-02-23T20:19:32.7952568+00:00"
    },
    {
      "Id": "547b22cb-b9f4-4b61-9afe-2656100ad460",
      "LoanId": "3aaf2963-1a3d-41cc-bdb5-438aeec5e1c7",
      "LoanCurrencyCode": "sample string 2",
      "InvestmentCurrencyCode": "sample string 3",
      "MarketCode": "sample string 4",
      "LoanAmount": 1.0,
      "LoanNumber": "sample string 5",
      "InstallmentCount": 1,
      "LoanOpeningDate": "2018-02-23T20:19:32.7952568+00:00",
      "RiskClass": 6,
      "InterestRate": 7.0,
      "LoanInterestRate": 8.0,
      "AllocationTime": "2018-02-23T20:19:32.7952568+00:00",
      "PurchaseDate": "2018-02-23T20:19:32.7952568+00:00",
      "PurchasePrice": 1.0,
      "SellDate": "2018-02-23T20:19:32.7952568+00:00",
      "SellPrice": 1.0,
      "LoanInstallmentAmount": 1.0,
      "LoanEndDate": "2018-02-23T20:19:32.7952568+00:00",
      "LastLoanPaymentDate": "2018-02-23T20:19:32.7952568+00:00",
      "TerminationDate": "2018-02-23T20:19:32.7952568+00:00",
      "RealizationDate": "2018-02-23T20:19:32.7952568+00:00",
      "CapitalInReportingCurrency": 10.0,
      "CapitalReceivableInReportingCurrency": 11.0,
      "CapitalReceivedInReportingCurrency": 12.0,
      "CapitalDueInReportingCurrency": 13.0,
      "InterestReceivableInReportingCurrency": 14.0,
      "InterestReceivedInReportingCurrency": 15.0,
      "InterestDueInReportingCurrency": 16.0,
      "InstallmentAmount": 17.0,
      "PaidInstallmentCount": 18,
      "PaymentDelayInDays": 19,
      "CreditLossProvisionRate": 20.0,
      "RealizedCreditLossInReportingCurrency": 21.0,
      "CreditLossProvisionInReportingCurrency": 22.0,
      "InvestmentInReportingCurrency": 23.0,
      "RevenueInReportingCurrency": 24.0,
      "FeeInReportingCurrency": 25.0,
      "RealizedProfitInReportingCurrency": 26.0,
      "SellCapitalInReportingCurrency": 27.0,
      "SellTotalInReportingCurrency": 28.0,
      "PurchaseCapitalInReportingCurrency": 29.0,
      "PurchaseTotalInReportingCurrency": 30.0,
      "InvestmentStartDate": "2018-02-23T20:19:32.7952568+00:00",
      "InvestmentEndDate": "2018-02-23T20:19:32.7952568+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<LoanAllocationReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FfWebApi.Models">
  <LoanAllocations>
    <LoanAllocation>
      <AllocationTime>2018-02-23T20:19:32.7952568+00:00</AllocationTime>
      <CapitalDueInReportingCurrency>13</CapitalDueInReportingCurrency>
      <CapitalInReportingCurrency>10</CapitalInReportingCurrency>
      <CapitalReceivableInReportingCurrency>11</CapitalReceivableInReportingCurrency>
      <CapitalReceivedInReportingCurrency>12</CapitalReceivedInReportingCurrency>
      <CreditLossProvisionInReportingCurrency>22</CreditLossProvisionInReportingCurrency>
      <CreditLossProvisionRate>20</CreditLossProvisionRate>
      <FeeInReportingCurrency>25</FeeInReportingCurrency>
      <Id>547b22cb-b9f4-4b61-9afe-2656100ad460</Id>
      <InstallmentAmount>17</InstallmentAmount>
      <InstallmentCount>1</InstallmentCount>
      <InterestDueInReportingCurrency>16</InterestDueInReportingCurrency>
      <InterestRate>7</InterestRate>
      <InterestReceivableInReportingCurrency>14</InterestReceivableInReportingCurrency>
      <InterestReceivedInReportingCurrency>15</InterestReceivedInReportingCurrency>
      <InvestmentCurrencyCode>sample string 3</InvestmentCurrencyCode>
      <InvestmentEndDate>2018-02-23T20:19:32.7952568+00:00</InvestmentEndDate>
      <InvestmentInReportingCurrency>23</InvestmentInReportingCurrency>
      <InvestmentStartDate>2018-02-23T20:19:32.7952568+00:00</InvestmentStartDate>
      <LastLoanPaymentDate>2018-02-23T20:19:32.7952568+00:00</LastLoanPaymentDate>
      <LoanAmount>1</LoanAmount>
      <LoanCurrencyCode>sample string 2</LoanCurrencyCode>
      <LoanEndDate>2018-02-23T20:19:32.7952568+00:00</LoanEndDate>
      <LoanId>3aaf2963-1a3d-41cc-bdb5-438aeec5e1c7</LoanId>
      <LoanInstallmentAmount>1</LoanInstallmentAmount>
      <LoanInterestRate>8</LoanInterestRate>
      <LoanNumber>sample string 5</LoanNumber>
      <LoanOpeningDate>2018-02-23T20:19:32.7952568+00:00</LoanOpeningDate>
      <MarketCode>sample string 4</MarketCode>
      <PaidInstallmentCount>18</PaidInstallmentCount>
      <PaymentDelayInDays>19</PaymentDelayInDays>
      <PurchaseCapitalInReportingCurrency>29</PurchaseCapitalInReportingCurrency>
      <PurchaseDate>2018-02-23T20:19:32.7952568+00:00</PurchaseDate>
      <PurchasePrice>1</PurchasePrice>
      <PurchaseTotalInReportingCurrency>30</PurchaseTotalInReportingCurrency>
      <RealizationDate>2018-02-23T20:19:32.7952568+00:00</RealizationDate>
      <RealizedCreditLossInReportingCurrency>21</RealizedCreditLossInReportingCurrency>
      <RealizedProfitInReportingCurrency>26</RealizedProfitInReportingCurrency>
      <RevenueInReportingCurrency>24</RevenueInReportingCurrency>
      <RiskClass>6</RiskClass>
      <SellCapitalInReportingCurrency>27</SellCapitalInReportingCurrency>
      <SellDate>2018-02-23T20:19:32.7952568+00:00</SellDate>
      <SellPrice>1</SellPrice>
      <SellTotalInReportingCurrency>28</SellTotalInReportingCurrency>
      <TerminationDate>2018-02-23T20:19:32.7952568+00:00</TerminationDate>
    </LoanAllocation>
    <LoanAllocation>
      <AllocationTime>2018-02-23T20:19:32.7952568+00:00</AllocationTime>
      <CapitalDueInReportingCurrency>13</CapitalDueInReportingCurrency>
      <CapitalInReportingCurrency>10</CapitalInReportingCurrency>
      <CapitalReceivableInReportingCurrency>11</CapitalReceivableInReportingCurrency>
      <CapitalReceivedInReportingCurrency>12</CapitalReceivedInReportingCurrency>
      <CreditLossProvisionInReportingCurrency>22</CreditLossProvisionInReportingCurrency>
      <CreditLossProvisionRate>20</CreditLossProvisionRate>
      <FeeInReportingCurrency>25</FeeInReportingCurrency>
      <Id>547b22cb-b9f4-4b61-9afe-2656100ad460</Id>
      <InstallmentAmount>17</InstallmentAmount>
      <InstallmentCount>1</InstallmentCount>
      <InterestDueInReportingCurrency>16</InterestDueInReportingCurrency>
      <InterestRate>7</InterestRate>
      <InterestReceivableInReportingCurrency>14</InterestReceivableInReportingCurrency>
      <InterestReceivedInReportingCurrency>15</InterestReceivedInReportingCurrency>
      <InvestmentCurrencyCode>sample string 3</InvestmentCurrencyCode>
      <InvestmentEndDate>2018-02-23T20:19:32.7952568+00:00</InvestmentEndDate>
      <InvestmentInReportingCurrency>23</InvestmentInReportingCurrency>
      <InvestmentStartDate>2018-02-23T20:19:32.7952568+00:00</InvestmentStartDate>
      <LastLoanPaymentDate>2018-02-23T20:19:32.7952568+00:00</LastLoanPaymentDate>
      <LoanAmount>1</LoanAmount>
      <LoanCurrencyCode>sample string 2</LoanCurrencyCode>
      <LoanEndDate>2018-02-23T20:19:32.7952568+00:00</LoanEndDate>
      <LoanId>3aaf2963-1a3d-41cc-bdb5-438aeec5e1c7</LoanId>
      <LoanInstallmentAmount>1</LoanInstallmentAmount>
      <LoanInterestRate>8</LoanInterestRate>
      <LoanNumber>sample string 5</LoanNumber>
      <LoanOpeningDate>2018-02-23T20:19:32.7952568+00:00</LoanOpeningDate>
      <MarketCode>sample string 4</MarketCode>
      <PaidInstallmentCount>18</PaidInstallmentCount>
      <PaymentDelayInDays>19</PaymentDelayInDays>
      <PurchaseCapitalInReportingCurrency>29</PurchaseCapitalInReportingCurrency>
      <PurchaseDate>2018-02-23T20:19:32.7952568+00:00</PurchaseDate>
      <PurchasePrice>1</PurchasePrice>
      <PurchaseTotalInReportingCurrency>30</PurchaseTotalInReportingCurrency>
      <RealizationDate>2018-02-23T20:19:32.7952568+00:00</RealizationDate>
      <RealizedCreditLossInReportingCurrency>21</RealizedCreditLossInReportingCurrency>
      <RealizedProfitInReportingCurrency>26</RealizedProfitInReportingCurrency>
      <RevenueInReportingCurrency>24</RevenueInReportingCurrency>
      <RiskClass>6</RiskClass>
      <SellCapitalInReportingCurrency>27</SellCapitalInReportingCurrency>
      <SellDate>2018-02-23T20:19:32.7952568+00:00</SellDate>
      <SellPrice>1</SellPrice>
      <SellTotalInReportingCurrency>28</SellTotalInReportingCurrency>
      <TerminationDate>2018-02-23T20:19:32.7952568+00:00</TerminationDate>
    </LoanAllocation>
  </LoanAllocations>
</LoanAllocationReport>