Discussions

Ask a Question
Back to All

Unit of time of "period"

Using the endpoint GET /api/v1/property/?lang=es_ar&format=json
it seems tha we can get operations of type "Alquiler temporario" with a "period".
This period can be in months, weeks or days according to our contact at Tokko Labs.
Is there any field that indicates the unit of time of the "period"?

Here is an example of response invented by us, with a period of 9. (If this is not a possible example, could you please show me one?)

{
...
"objects": [
{
...
"operations": [
{
"operation_type": "Alquiler temporario",
"prices": [
{
"currency": "MXN",
"period": 9,
"price": 10000
}
]
}
],
...
},
...
]
}