Function /seller/hire/plan/list
Function invocation
https://json.aftermarket.pl/seller/hire/plan/list
Function description
It gets the list of hire plans for selling on marketplace.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
size | integer | 5000 | Paging: number of list elements | |
start | integer | 0 | Paging: starting list element |
Return value
The list of hire plans on marketplace (list of structures with the following fields):
Field name | Type | Description |
---|---|---|
enable2 | boolean | 2-month hire plan is enabled |
enable3 | boolean | 3-month hire plan is enabled |
enable6 | boolean | 6-month hire plan is enabled |
enable12 | boolean | 12-month hire plan is enabled |
enable18 | boolean | 18-month hire plan is enabled |
enable24 | boolean | 24-month hire plan is enabled |
enable36 | boolean | 36-month hire plan is enabled |
enable48 | boolean | 48-month hire plan is enabled |
enable60 | boolean | 60-month hire plan is enabled |
hirePlanId | integer | Hire plan identifier |
name | string | Hire plan name |
percent2 | float | Percent for 2-month hire |
percent3 | float | Percent for 3-month hire |
percent6 | float | Percent for 6-month hire |
percent12 | float | Percent for 12-month hire |
percent18 | float | Percent for 18-month hire |
percent24 | float | Percent for 24-month hire |
percent36 | float | Percent for 36-month hire |
percent48 | float | Percent for 48-month hire |
percent60 | float | Percent for 60-month hire |
time | integer | Plan creation time as Unix timestamp |