For support support@leadrat.com
Authorization: ********************x-tenant-id: ********************curl --location --request GET '/towers//payment-plans' \
--header 'Authorization: Bearer <token>' \
--header 'x-tenant-id: <api-key>'[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"type": "TIME_BASED",
"bookingPercentage": 0,
"project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
"tower": "8507dca1-2ebc-4539-b28b-184b0cadbfdb",
"active": true,
"status": "DRAFT",
"activeFrom": "2019-08-24T14:15:22.123Z",
"activeTo": "2019-08-24T14:15:22.123Z",
"lines": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"paymentPlan": "f379cc4e-02ee-4d4e-9332-b0d6da9a0b1e",
"name": "string",
"dueAfterDays": 0,
"percentage": 0,
"autoBalanced": true,
"status": "DRAFT",
"dueEventType": "BOOKING",
"generatesCommissions": true,
"milestone": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"isLocked": true,
"status": "PENDING",
"sequenceNo": 0,
"description": "string",
"plannedCompletionDate": "2019-08-24T14:15:22.123Z",
"actualCompletionDate": "2019-08-24T14:15:22.123Z",
"completedBy": "string"
}
}
]
}
]