NOTE: User must be logged in as admin to access this API
URL: api/priority
Method: POST
Query Parameters :
Parameter | Type | Possible Values | Required/Optional | Description |
name | String | first priority | Required | Priority Name |
priority_desc | Text | this is first priority | Required | Priority Description |
priority_color | String | #000000 | Required | Priority Color |
ispublic | Integer | 1,0 | Required | Priority visibilty |
is_default | Integer | 1,0 | Optional | Based on the selection If clicked then 1(made deafult) and if not clicked then 0(made non-default) |
Response:
{ "success": true, "message":"Priority saved Successfully" }