POST api/Reports/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

AllocationResult
NameDescriptionTypeAdditional information
AllocationKeyName

string

None.

SchemeId

integer

None.

Allocations

Collection of Allocation

None.

Response Formats

application/json, text/json

Sample:
{
  "AllocationKeyName": "sample string 1",
  "SchemeId": 1,
  "Allocations": [
    {
      "InvestorId": 1,
      "InvestorName": "sample string 2",
      "CommitmentRatio": 3.1,
      "UnfundedRatio": 4.1,
      "Other": "sample string 5"
    },
    {
      "InvestorId": 1,
      "InvestorName": "sample string 2",
      "CommitmentRatio": 3.1,
      "UnfundedRatio": 4.1,
      "Other": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<ReportsController.AllocationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FundPeAPI.Controllers">
  <AllocationKeyName>sample string 1</AllocationKeyName>
  <Allocations>
    <ReportsController.Allocation>
      <CommitmentRatio>3.1</CommitmentRatio>
      <InvestorId>1</InvestorId>
      <InvestorName>sample string 2</InvestorName>
      <Other>sample string 5</Other>
      <UnfundedRatio>4.1</UnfundedRatio>
    </ReportsController.Allocation>
    <ReportsController.Allocation>
      <CommitmentRatio>3.1</CommitmentRatio>
      <InvestorId>1</InvestorId>
      <InvestorName>sample string 2</InvestorName>
      <Other>sample string 5</Other>
      <UnfundedRatio>4.1</UnfundedRatio>
    </ReportsController.Allocation>
  </Allocations>
  <SchemeId>1</SchemeId>
</ReportsController.AllocationResult>