POST api/orders/ipo/block-allocations

Create a set of order allocations.

Request Information

URI Parameters

None.

Body Parameters

List of order allocations

IPOBlockAllocation
NameDescriptionTypeAdditional information
PlacementAllocationID

Placement Allocation ID

integer

Required

MasterReference

Omgeo’s unique identifier

string

Required

String length: inclusive between 0 and 16

AllocationDetails

List of Block Allocations to destined client(s)

Collection of BlockAllocation

None.

Request Formats

application/json, text/json

Sample:
{
  "PlacementAllocationID": 123456,
  "MasterReference": "Master Reference",
  "AllocationDetails": [
    {
      "ClientID": 111111,
      "Quantity": 100,
      "Price": 19.04,
      "TradeValue": 234.56,
      "NetAmount": 123.45,
      "CustomBrokerageFee": 0.0,
      "GSTValue": 12.34,
      "AllocationReference": "AR123",
      "NotesForClient": "Order Allocation 1",
      "OtherFees": 0.0
    }
  ]
}

application/xml, text/xml

Sample:
<IPOBlockAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Order">
  <AllocationDetails>
    <BlockAllocation>
      <AllocationReference>AR123</AllocationReference>
      <ClientID>111111</ClientID>
      <CustomBrokerageFee>0</CustomBrokerageFee>
      <GSTValue>12.34</GSTValue>
      <NetAmount>123.45</NetAmount>
      <NotesForClient>Order Allocation 1</NotesForClient>
      <OtherFees>0</OtherFees>
      <Price>19.04</Price>
      <Quantity>100</Quantity>
      <TradeValue>234.56</TradeValue>
    </BlockAllocation>
  </AllocationDetails>
  <MasterReference>Master Reference</MasterReference>
  <PlacementAllocationID>123456</PlacementAllocationID>
</IPOBlockAllocation>

Response Information

Resource Description

List of OrderAllocationResult if successful otherwise returns list of OrderAllocationErrorResult if there are any invalid order allocations

Collection of IPOBlockAllocationResult
NameDescriptionTypeAdditional information
MasterReference

Omgeo’s unique identifier

string

None.

AllocationReference

Omgeo allocation Reference

string

None.

PlacementAllocationID

Placement allocation ID created

integer

None.

ParentPlacementAllocationID

Placement allocation's parent ID

integer

None.

ClientID

Placement allocation's client ID

integer

None.

DatetimeCreated

Placement allocation's created date

date

None.

Collection of IPOBlockAllocationErrorResult
NameDescriptionTypeAdditional information
BlockAllocation

Block allocation details

BlockAllocation

None.

Errors

Collection of errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MasterReference": "Master Reference",
    "AllocationReference": "Allocation Reference",
    "PlacementAllocationID": 123456,
    "ParentPlacementAllocationID": 6544443,
    "ClientID": 100000,
    "DatetimeCreated": "2022-12-15T00:00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIPOBlockAllocationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Order">
  <IPOBlockAllocationResult>
    <AllocationReference>Allocation Reference</AllocationReference>
    <ClientID>100000</ClientID>
    <DatetimeCreated>2022-12-15T00:00:00</DatetimeCreated>
    <MasterReference>Master Reference</MasterReference>
    <ParentPlacementAllocationID>6544443</ParentPlacementAllocationID>
    <PlacementAllocationID>123456</PlacementAllocationID>
  </IPOBlockAllocationResult>
</ArrayOfIPOBlockAllocationResult>

application/json, text/json

Sample:
[
  {
    "BlockAllocation": {
      "ClientID": 111111,
      "Quantity": 100,
      "Price": 19.04,
      "TradeValue": 234.56,
      "NetAmount": 123.45,
      "CustomBrokerageFee": 0.0,
      "GSTValue": 12.34,
      "AllocationReference": "AR123",
      "NotesForClient": "Order Allocation 1",
      "OtherFees": 10.0
    },
    "Errors": [
      "Invalid Client ID"
    ]
  },
  {
    "BlockAllocation": {
      "ClientID": 12355,
      "Quantity": 100,
      "Price": 12.0,
      "TradeValue": 1200.0,
      "NetAmount": 0.0,
      "CustomBrokerageFee": 0.0,
      "GSTValue": 0.0,
      "AllocationReference": "Allocation Reference",
      "NotesForClient": "Notes",
      "OtherFees": 0.0
    },
    "Errors": [
      "Invalid Registration Type"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfIPOBlockAllocationErrorResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Order">
  <IPOBlockAllocationErrorResult>
    <BlockAllocation>
      <AllocationReference>AR123</AllocationReference>
      <ClientID>111111</ClientID>
      <CustomBrokerageFee>0</CustomBrokerageFee>
      <GSTValue>12.34</GSTValue>
      <NetAmount>123.45</NetAmount>
      <NotesForClient>Order Allocation 1</NotesForClient>
      <OtherFees>10.0</OtherFees>
      <Price>19.04</Price>
      <Quantity>100</Quantity>
      <TradeValue>234.56</TradeValue>
    </BlockAllocation>
    <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>Invalid Client ID</d3p1:string>
    </Errors>
  </IPOBlockAllocationErrorResult>
  <IPOBlockAllocationErrorResult>
    <BlockAllocation>
      <AllocationReference>Allocation Reference</AllocationReference>
      <ClientID>12355</ClientID>
      <CustomBrokerageFee>0</CustomBrokerageFee>
      <GSTValue>0</GSTValue>
      <NetAmount>0</NetAmount>
      <NotesForClient>Notes</NotesForClient>
      <OtherFees>0</OtherFees>
      <Price>12</Price>
      <Quantity>100</Quantity>
      <TradeValue>1200</TradeValue>
    </BlockAllocation>
    <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>Invalid Registration Type</d3p1:string>
    </Errors>
  </IPOBlockAllocationErrorResult>
</ArrayOfIPOBlockAllocationErrorResult>

Error Response Information

Resource Description

List of OrderAllocationResult if successful otherwise returns list of OrderAllocationErrorResult if there are any invalid order allocations

string

Error Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>