v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get all Templates

get/invoice_estimate/proposal_template

Query parameters

pagestring
countstring
sort'DESC' | 'ASC'
sort_by'template_name' | 'created_at' | 'display_order'
filter.keywordstring
filter.is_deletedboolean
filter.is_activestring
filter.template_uidboolean

Response

200

typestring
total_recordsinteger
current_pageinteger
total_pagesinteger

Example response

{
  "type": "success",
  "data": [
    {
      "display_order": 1,
      "template_uid": "84c44eb0-4262-11ee-b1a1-7372ef614376",
      "template_name": "Proposal Template",
      "proposal_options": [
        {
          "option_uid": "b5533730-387a-11ef-b6d3-c3e8603df1ce",
          "option_name": "Option 1",
          "package": {
            "display_order": 17,
            "package_uid": "70c4bb10-5cf8-11ee-bf89-7dff9a634b35",
            "package_name": "Bug bash package 1",
            "line_items": [
              {
                "line_item_uid": "7860dc90-5cf9-11ee-bf89-7dff9a634b35",
                "line_item_type": "HEADER",
                "name": "Group 1 Header"
              }
            ],
            "sub_total": 2081,
            "total": 2081,
            "is_active": true
          }
        }
      ],
      "is_active": true,
      "created_by": {
        "user_uid": "ab6d4ab2-19ee-4093-9995-025fa9f78273",
        "first_name": "des",
        "last_name": "des",
        "email": "des@des.co",
        "designation": "Tech 123",
        "emp_code": "2030303",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
        "hourly_labor_charge": 10,
        "is_active": true,
        "created_at": "2020-05-09T04:52:02.000Z",
        "updated_at": "2024-12-26T13:58:39.000Z"
      },
      "created_at": "2023-08-24T09:42:19.676Z",
      "updated_at": "2024-07-02T13:55:15.109Z",
      "id": "64e725fbda8efd43ca99743c"
    }
  ],
  "total_records": 2,
  "current_page": 1,
  "total_pages": 1
}