Daftra API
All Endpoints
Daftra Partners
All Endpoints
Daftra Partners
  1. Workflow
  • Welcome
  • Getting Started
  • Authorization
  • Validation Errors
  • API v1 Endpoints
    • Auth
      • Generate Access Token
    • Invoices
      • GET All Invoices
      • GET Single Invoice
      • Edit Invoices
      • Delete Invoices
      • Add New Invoice
    • Estimates
      • GET All Estimates
      • GET Single Estimate
      • Edit Estimates
      • Delete Estimates
      • Add New Estimate
    • Credit Notes
      • GET All Credit Notes
      • GET Single Credit Note
      • Edit Credit Notes
      • Delete Credit Notes
      • Add New Credit Note
    • Refund Receipts
      • GET All Refund Receipts
      • GET Single Refund Receipt
      • Edit Refund Receipts
      • Delete Refund Receipts
      • Add New Refund Receipt
    • Clients
      • GET All Clients
      • GET Single Client
      • Edit Clients
      • Delete Clients
      • Add New Client
    • Suppliers
      • GET All Suppliers
      • GET Single Supplier
      • Edit Suppliers
      • Delete Suppliers
      • Add New Supplier
    • Work Orders
      • GET Single Work Order
      • Edit Work Orders
      • Delete Work Orders
      • GET All Work Orders
      • Add New Work Order
    • Client Appointments
      • GET All Client Appointments
      • GET Single Client Appointment
      • Edit Client Appointments
      • Delete Client Appointments
      • Add New Client Appointment
    • Invoice Appointments
      • GET All Invoice Appointments
      • GET Single Invoice Appointment
      • Edit Invoice Appointments
      • Delete Invoice Appointments
      • Add New Invoice Appointment
    • Estimate Appointments
      • GET All Estimate Appointments
      • GET Single Estimate Appointment
      • Edit Estimate Appointments
      • Delete Estimate Appointments
      • Add New Estimate Appointment
    • Work Order Appointments
      • GET All Work Order Appointments
      • GET Single Work Order Appointment
      • Edit Work Order Appointments
      • Delete Work Order Appointments
      • Add New Work Order Appointment
    • Notes
      • GET All Notes
      • GET Single Note
      • Edit Notes
      • Delete Notes
      • Add New Note
    • Time Tracking
      • GET All Time Tracking
      • GET Single Time Tracking
      • Edit Time Tracking
      • Delete Time Tracking
      • Add New Time Tracking
    • Invoice Payments
      • GET All Invoice Payments
      • GET Single Invoice Payment
      • Edit Invoice Payments
      • Delete Invoice Payments
      • Add New Invoice Payment
    • Client Payments
      • GET All Client Payments
      • GET Single Client Payment
      • Edit Client Payments
      • Delete Client Payments
      • Add New Client Payment
    • Products
      • GET All Products
      • GET Single Product
      • Edit Products
      • Delete Products
      • Add New Product
    • Journals
      • GET All Journals
      • GET Single Journal
      • Edit Journals
      • Delete Journals
      • Add New Journal
    • Journal Accounts
      • GET All Journal Accounts
      • GET Single Journal Account
      • Edit Journal Accounts
      • Delete Journal Accounts
      • Add New Journal Account
    • Journal Cats
      • GET All Journal Cats
      • GET Single Journal Cat
      • Edit Journal Cats
      • Delete Journal Cats
      • Add New Journal Cat
    • Expenses
      • GET All Expenses
      • GET Single Expens
      • Edit Expenses
      • Delete Expenses
      • Add New Expens
    • Incomes
      • GET All Incomes
      • GET Single Income
      • Edit Incomes
      • Delete Incomes
      • Add New Income
    • Taxes
      • GET All Taxes
      • GET Single Taxe
      • Edit Taxes
      • Delete Taxes
      • Add New Taxe
    • Purchase Invoices
      • GET All Purchase Invoices
      • GET Single Purchase Invoice
      • Edit Purchase Invoices
      • Delete Purchase Invoices
      • Add New Purchase Invoice
    • Purchase Refunds
      • GET All Purchase Refunds
      • GET Single Purchase Refund
      • Edit Purchase Refunds
      • Delete Purchase Refunds
      • Add New Purchase Refund
    • Stock Transactions
      • GET All Stock Transactions
      • GET Single Stock Transaction
      • Edit Stock Transactions
      • Delete Stock Transactions
      • Add New Stock Transaction
    • Stores
      • GET All Stores
      • GET Single Store
      • Edit Stores
      • Delete Stores
      • Add New Store
    • Treasuries
      • GET All Treasuries
      • GET Single Treasury
      • Edit Treasuries
      • Delete Treasuries
      • Add New Treasury
    • Product Categories
      • GET All Product Categories
      • GET Single Product Category
    • Staff
      • GET Single Staff
      • GET All Staff
    • Client-attendance-log
      • Add New Client-attendance-log
    • General Listing
      • GET General Listing
    • Requsitions
      • GET All Requisitions
      • GET single Requisition
      • Edit Requisitions
      • Delete Requisitions
      • Add New Requisition
    • Booking
      • Add new Booking
      • Change Booking Status
      • Convert booking to Invoice
      • Get All Bookings
      • Get Single Booking
      • Delete booking
    • Advance Payment Invoices
      • GET All Advance payment
      • GET Single Advance payment
      • Add Advance Payment
  • API v2 Endpoints
    • What's new
    • Filtering
    • Using API v2
      • Endpoints Structure
      • Data Fetching — Filtered
    • Leave Application
      • Get All Leave Applications
      • Get Single Leave Applications
      • Edit Leave Application
      • Add Leave Application
    • Purchase Debit Note
      • Purchase Debit Note
      • Purchase Debit Note
    • Branches
      • Get All Branches
    • Product Bundles
      • Add Product bundle
    • Follow Up Statuses
      • GET All Follow Up Statuses
      • GET Single Follow Up Status
      • Delete Follow Up Status
    • Follow Up Actions
      • GET All Follow Up Actions
      • GET Single Follow Up Action
      • Delete Follow Up Action
    • Attendance Logs
      • Get All Attendance Logs
      • Get Single Attendance Log
      • Add Attendance Log
    • Cost Centers
      • GET All Cost Centers
      • GET Single Cost Center
      • Edit Cost Center
      • Add New Cost Center
    • Payment Gateways
      • Get All Payment Methods
      • Get Single Payment Method
      • Add Payment Method
    • Points & Credits
      • Credit Usage
        • Get All Credit Usage
        • Get Single Credit Usage
        • Add New Credit Usage
        • Add Credit Usage Amount
        • Edit Credit Usage
        • Edit Credit Usage Amount
        • Get All Credit Usage Amount
        • Get Single Credit Usage Amount
      • Credit Types
        • Get All Credit types
        • Get Single Credit type
        • Add New Credit type
        • Edit Credit type
      • Credit Charges
        • Get All Credit Charges
        • Get Single Credit Charge
        • Add New Credit Charge
        • Edit Credit Charge
      • Packages
        • Get All Packages
        • Get Single Package
        • Add New Package
        • Edit Package
      • Packages Credit Types
        • Get All Package Credit Types
        • Get Single Package Credit Type
        • Add Package Credit Type
        • Edit Package Credit Type
    • Brands
      • Get All Brands
      • Get Single Brand
      • Add New Brand
      • Edit brand
    • Unit Templates
      • Get All Unit Templates
      • Get Single Unit Template
      • Add Unit Template
      • Edit Unit Template
    • Workflow
      • Get All Records
        GET
      • Get Single Record
        GET
      • Add New Record
        POST
      • Edit Record
        PUT
    • Site
      • GET Site Info
  1. Workflow

Get All Records

Production
https://{{subdomain}}.daftra.com/v2/api/entity
Production
https://{{subdomain}}.daftra.com/v2/api/entity
GET
https://{{subdomain}}.daftra.com/v2/api/entity
/le_workflow-type-entity-{{workflow_id}}/list/{{format}}

Request

Header Params

Responses

🟢200Success
application/json
Bodyapplication/json

🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff 'https://.daftra.com/v2/api/entity/le_workflow-type-entity-{{workflow_id}}/list/{{format}}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
    "current_page": 0,
    "data": [
        {
            "id": 0,
            "client_id": 0,
            "number": "string",
            "title": "string",
            "start_date": "string",
            "description": "string",
            "delivery_date": "string",
            "delivery_appointment_id": null,
            "follow_up_status_id": null,
            "budget_currency": "string",
            "budget": 0,
            "status": 0,
            "created": "string",
            "modified": "string",
            "staff_id": 0,
            "client_data": null,
            "extra_details": null,
            "branch_id": 0,
            "workflow_type_id": 0,
            "le_workflow-type-entity-36_custom_data": {
                "id": null,
                "code": null,
                "discount_type": null,
                "discount_value": null,
                "start_date": null,
                "end_date": null,
                "reference_id": null
            },
            "workflow_type": {
                "id": 0,
                "name": "string",
                "status": 0,
                "icon": null,
                "created": "string",
                "modified": "string",
                "singular_title": "string",
                "entity_key": "string",
                "app_related_data": {
                    "id": null,
                    "record_id": null
                }
            },
            "staff": {
                "id": 0,
                "added_by": 0,
                "role_id": 0,
                "name": "string",
                "middle_name": "string",
                "last_name": "string",
                "photo": null,
                "can_access_system": 0,
                "home_phone": "string",
                "business_Phone": null,
                "mobile": "string",
                "fax": null,
                "country_code": "string",
                "address1": "string",
                "address2": "string",
                "city": "string",
                "state": "string",
                "postal_code": "string",
                "note": null,
                "email_address": "string",
                "last_login": "string",
                "active": 0,
                "created": "string",
                "hourly_rate": null,
                "hourly_rate_currency_code": null,
                "default_store_id": 0,
                "default_treasury_id": 0,
                "maximum_general_discount": 0,
                "language_code": 0,
                "branch_id": 0,
                "full_name": "string",
                "attendance_restriction_id": null,
                "type": "string",
                "default_account_id": null,
                "citizenship_status": "string",
                "residence_expiry_date": null,
                "nationality": null,
                "code": "string",
                "official_id": null,
                "staff_info": {
                    "staff_id": 0,
                    "department_id": null,
                    "employment_level_id": null,
                    "employment_type_id": null,
                    "designation_id": null,
                    "birth_date": null,
                    "gender": null,
                    "personal_email": null,
                    "permanent_address1": null,
                    "permanent_address2": null,
                    "permanent_city": null,
                    "permanent_state": null,
                    "permanent_postal_code": null,
                    "created": "string",
                    "modified": "string",
                    "attendance_shift_id": null,
                    "leave_policy_id": null,
                    "has_secondary_shift": 0,
                    "secondary_shift_id": null,
                    "direct_manager_id": null
                },
                "staff_job": {
                    "staff_id": 0,
                    "join_date": null,
                    "probation_end_date": null,
                    "contract_duration": 0,
                    "contract_duration_period": null,
                    "exit_date": null,
                    "exit_reason": null,
                    "fiscal_type": null,
                    "fiscal_day": "string",
                    "fiscal_month": "string",
                    "created": "string",
                    "modified": "string"
                },
                "staff_custom_data": {
                    "id": null,
                    "allow_printing": null,
                    "reference_id": null,
                    "time": null
                }
            },
            "work_order_client": {
                "id": 0,
                "group_price_id": null,
                "is_offline": 0,
                "client_number": "string",
                "staff_id": 0,
                "business_name": "string",
                "first_name": "string",
                "last_name": "string",
                "email": "string",
                "address1": "string",
                "address2": "string",
                "city": "string",
                "state": "string",
                "postal_code": "string",
                "phone1": "string",
                "phone2": "string",
                "country_code": "string",
                "notes": "string",
                "active_secondary_address": 0,
                "secondary_name": "string",
                "secondary_address1": "string",
                "secondary_address2": "string",
                "secondary_city": "string",
                "secondary_state": "string",
                "secondary_postal_code": "string",
                "secondary_country_code": "string",
                "language_code": null,
                "default_currency_code": "string",
                "last_login": null,
                "suspend": 0,
                "last_ip": null,
                "created": "string",
                "modified": "string",
                "follow_up_status": null,
                "category": "string",
                "bn1": "string",
                "bn1_label": "string",
                "bn2_label": "string",
                "bn2": "string",
                "starting_balance": null,
                "photo": null,
                "birth_date": null,
                "gender": null,
                "map_location": null,
                "type": 0,
                "credit_limit": 0,
                "credit_period": 0,
                "branch_id": 0,
                "national_id": null,
                "category_id": 0,
                "secondary_follow_up_status": null,
                "timezone": null,
                "client_photo_s3": {
                    "id": null,
                    "entity_key": null,
                    "entity_id": null,
                    "file_id": null,
                    "deleted_at": null
                },
                "client_custom_data": {
                    "id": 0,
                    "building_no": "string",
                    "reference_id": "string",
                    "client_name_en": "string",
                    "vat_category": "string",
                    "customer_service_contact": "string",
                    "customer_reference": "string",
                    "custom_price_list": null
                }
            },
            "branch": {
                "id": 0,
                "name": "string",
                "status": 0,
                "created": "string",
                "modified": "string"
            },
            "work_order_follow_up_status": {
                "id": null,
                "item_type": null,
                "name": null,
                "color": null,
                "status": null,
                "staff_id": null,
                "created": null,
                "modified": null,
                "deleted": null,
                "entity_key": null,
                "display_order": null
            },
            "assigned_users": {
                "id": 0,
                "item_id": 0,
                "item_type": 0,
                "entity_key": "string",
                "entity_field_key": "string",
                "staff_id": 0,
                "group_id": 0,
                "assigned_by": 0,
                "created": "string",
                "modified": "string"
            },
            "tags": {
                "id": 0,
                "item_id": 0,
                "item_type": 0,
                "tag_id": 0,
                "branch_id": 0,
                "created": "string",
                "modified": "string",
                "entity_key": "string",
                "entity_field_key": "string"
            }
        }
    ],
    "first_page_url": "string",
    "from": 0,
    "last_page": 0,
    "last_page_url": "string",
    "links": [
        {
            "url": "string",
            "label": "string",
            "page": 0,
            "active": true
        }
    ],
    "next_page_url": null,
    "path": "string",
    "per_page": 0,
    "prev_page_url": null,
    "to": 0,
    "total": 0
}
Previous
Edit Unit Template
Next
Get Single Record