Skip to content

Create commercial deal

POST
/api/apiGateway/createCommercialDeal

Create a commercial deal.

Request

Type: application/json

Schema: CreateCommercialDealDto

ownerId string

The owner of the deal within Blooma.

dealName string

propertyType string(enum)

Available enum values: None, Mixed, Hotel, Industrial, Multi_Family_Apartments, Office, Retail, Self_Storage, Land, Special_Purpose, Senior_Housing, Distribution_Warehouse, Flex_Office, Portfolio

loanType string(enum)

Available enum values: Unknown, Acquisition, Acquisition_Construction, Refinance, Refinance_Construction, Construction, Stabilization, Bridge, Permanent

loanAmount number(double)

loanTerm number(double)

commercialLivingUnitCreateDto array [ CommercialLivingUnitCreateDto ]

Response

Type: application/json

Schema: CreateResponseDto

success boolean

Indicates whether the request completed successfully.

error ErrorDto

createdEntityId string

The id of the entity that was created.

POST ${BASE_URL}/api/apiGateway/createCommercialDeal
Accept: */*
Authorization: Bearer eyJz93a...k4laUWw
curl --request POST \
    --url "${BASE_URL}/api/apiGateway/createCommercialDeal" \
    --header 'Accept: */*' \
    --header 'Authorization: Bearer eyJz93a...k4laUWw'
Response
{
  "success": true,
  "error": {
    "target": "string",
    "code": "Duplicated",
    "message": "string",
    "details": ["string"]
  },
  "createdEntityId": "string"
}