Turnover
Returns all retail turnovers
GET
https://www.moderan.net/api/domains/DOMAIN_ID/propertysets/0/retailturnovers?startDate=2023-10-01&endDate=2023-10-31
Path Parameters
Name
Type
Description
DOMAIN_ID*
String
Domain ID of customer
Query Parameters
Name
Type
Description
startDate*
String
Start time of period (format DD.MM.YYYY)
endDate*
String
End time of period (format DD.MM.YYYY)
Creates a new turnover entry
POST
https://www.moderan.net/api/domains/DOMAIN_ID/propertysets/0/retailturnovers
Example payload for POST
{
"turnoverRentMonth":"2023-10-19",
"shopName":"Pineapple",
"property":{
"id":2488,
"name":"Mänd"
},
"turnoverRentAmount":44,
"tenant":{
"id":12358,
"name":"Ananass"
}
}
Updates a turnover entry
PUT
https://www.moderan.net/api/domains/DOMAIN_ID/propertysets/2488/retailturnovers/TURNOVER_ID
Path Parameters
Name
Type
Description
DOMAINID
String
Domain ID of customer
TURNOVER_ID
String
ID of updated turnover
Example of payload for PUT
{
"shopName":"Raspberry",
"id":174,
"property":{
"id":2488,
"name":"Mänd"
},
"tenant":{
"id":12239,
"name":"Vaarikas"
},
"turnoverRentMonth":"2023-10-15",
"turnoverRentAmount":14452,
}
Last updated
Was this helpful?