Files

Create file type

POST
https://api.propexo.com/v1/file-types
Create a file type for an integration.

Request

This endpoint expects an object.
integration_id
string
location_id
optional string
The Propexo unique identifier for the location
model
optional enum
The Propexo data model (e.g. units, residents, applicants, etc.) for which you are attempting to upload a file
Allowed values: unitsresidentsproperties
name
optional string
The name associated with the file type

Response

This endpoint return an object.
job_id
string
The ID of the job created to handle this operation
data
object
Returned data from the operation. This is dependent on the vendor specific endpoint's returned data.
POST
/v1/file-types
curl -X POST https://api.propexo.com/v1/file-types \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"integration_id": "integration_id"
}'
Response
{
"job_id": "job_id",
"data": {}
}