Update an investor entity
You can update asset information using the following API:
Important note:
This PUT request replaces the entire existing record with the body. It's crucial to include all pertinent fields of the entity, which can be obtained from this investor fetch endpoint.
| Value | |
|---|---|
| HTTP Method | PUT |
| Path | /api/entities/investor/{scopeId}/{investorId} |
| Request parameter | Scope ID: A scope ID in which you want to retrieve investor entity information \n \nInvestor ID (number): An investor entity's unique ID |
| Reference | [updateinvestorinfo] \(<https://apidocs.quantium.pe/reference/updateinvestorinfo>) |
| Request Body | Investor object in JSON, retrieve the full investor body and only update desired records. \n \nThe required fields are: \n- name \n- typeId \n- investorId |
Request body example
{
"name": "Limited Partner #123",
"typeId": 1,
"id": 21,
}
Response
| 200 (OK) | The asset information has been updated successfully |
| 400 (Bad request) | Your request parameter or Body is not in the correct format. Please check the error message for the reason |
| 404 (Not found) | The given asset ID doesn't exist in the database |
Updated 6 months ago
