Update by unit name
Update a development unit by a unit name and development project id.
ATHORIZATIONS: This API use OAuth2 with the client credentials flow
- Flow type:
clientCredentials
- Token URL:
https://api.propq.com/oauth/token
END POINT: https://api.propq.com/v1/developments/{path_parameters}/units/update-by-name
METHOD: POST
PATH PARAMETERS:
name | required | type | Value |
development_id | required | string | The ID of the development project |
REQUEST BODY SCHEMA:
name | required | type | Value |
UntName | required | string | The name of the unit to be updated |
UntStatus | required | number | Enum: {"1":"AVAILABLE"} {"2":"HOLD"} {"4":"SOLD"} {"8":"RESERVED"} The new status of the unit |
UntPrice | required | number | The new price of the unit |
UntDirections | required | Array of arrays | The new direction list of the unit |
Example:
{
"UntName": "Test",
"UntStatus": 1,
"UntPrice": 123456,
"UntDirections":
[
"N",
"S"
]
}