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 Single Record

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}}/{{record_id}}/{{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}}/{{record_id}}/{{format}}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Success
{
    "id": 65,
    "client_id": 1,
    "number": "000007",
    "title": "Instance 22 edited",
    "start_date": "2026-06-01",
    "description": "description",
    "delivery_date": "2026-06-04",
    "delivery_appointment_id": null,
    "follow_up_status_id": null,
    "budget": 1000,
    "budget_currency": "USD",
    "status": 1,
    "created": "2026-06-01 08:57:07",
    "modified": "2026-06-01 09:00:43",
    "staff_id": 1,
    "client_data": null,
    "extra_details": null,
    "branch_id": 1,
    "workflow_type_id": 36,
    "attachments": [],
    "assigned_users": [
        {
            "item_id": 65,
            "id": 725,
            "item_type": 0,
            "entity_key": "work_order",
            "entity_field_key": "assigned_staff",
            "staff_id": 1,
            "group_id": 0,
            "assigned_by": -1,
            "created": "2026-06-01 11:57:07",
            "modified": "2026-06-01 11:57:07"
        },
        {
            "item_id": 65,
            "id": 726,
            "item_type": 0,
            "entity_key": "work_order",
            "entity_field_key": "assigned_staff",
            "staff_id": 2,
            "group_id": 0,
            "assigned_by": -1,
            "created": "2026-06-01 11:57:07",
            "modified": "2026-06-01 11:57:07"
        }
    ],
    "tags": [
        {
            "id": 31,
            "item_id": 65,
            "item_type": 0,
            "tag_id": 6,
            "branch_id": 1,
            "created": "2026-06-01 17:36:47",
            "modified": "2026-06-01 17:36:47",
            "entity_key": "work_order",
            "entity_field_key": "tags"
        }
    ],
    "workflow_type": {
        "id": 36,
        "name": "أكواد الخصم",
        "status": 1,
        "icon": null,
        "created": "2026-04-15 09:06:05",
        "modified": "2026-04-15 11:06:06",
        "singular_title": "كود خصم",
        "entity_key": "le_workflow-type-entity-36"
    },
    "staff": {
        "id": 1,
        "added_by": 1,
        "role_id": -1,
        "name": "",
        "middle_name": "",
        "last_name": "",
        "photo": null,
        "can_access_system": 1,
        "home_phone": "",
        "business_Phone": null,
        "mobile": "",
        "fax": null,
        "country_code": "EG",
        "address1": "",
        "address2": "",
        "city": "",
        "state": "",
        "postal_code": "4345678",
        "note": null,
        "email_address": "",
        "password": null,
        "last_login": "2026-06-01 11:15:27",
        "active": 1,
        "created": "2025-05-19 12:58:18",
        "hourly_rate": null,
        "hourly_rate_currency_code": null,
        "default_store_id": 1,
        "default_treasury_id": 1,
        "maximum_general_discount": 10,
        "language_code": 7,
        "branch_id": 1,
        "full_name": "",
        "attendance_restriction_id": null,
        "type": "user",
        "default_account_id": null,
        "citizenship_status": "citizen",
        "residence_expiry_date": null,
        "nationality": null,
        "code": "000001",
        "official_id": null
    },
    "work_order_client": {
        "id": 1,
        "group_price_id": null,
        "is_offline": 0,
        "client_number": "000001",
        "staff_id": 1,
        "business_name": "",
        "first_name": "",
        "last_name": "",
        "email": "",
        "password": null,
        "address1": "",
        "address2": "",
        "city": "",
        "state": "",
        "postal_code": "12345",
        "phone1": "",
        "phone2": "",
        "country_code": "EG",
        "notes": "",
        "active_secondary_address": 0,
        "secondary_name": "",
        "secondary_address1": "",
        "secondary_address2": "",
        "secondary_city": "",
        "secondary_state": "",
        "secondary_postal_code": "",
        "secondary_country_code": "EG",
        "language_code": null,
        "default_currency_code": "EGP",
        "last_login": null,
        "suspend": 0,
        "last_ip": null,
        "created": "2025-05-19 13:36:18",
        "modified": "2025-10-01 10:24:08",
        "follow_up_status": null,
        "category": "VAT",
        "bn1": "",
        "bn1_label": "سجل تجاري",
        "bn2_label": "بطاقة ضريبية",
        "bn2": "",
        "starting_balance": null,
        "photo": null,
        "birth_date": null,
        "gender": null,
        "map_location": null,
        "type": 2,
        "credit_limit": 0,
        "credit_period": 0,
        "branch_id": 1,
        "national_id": null,
        "attachment": null,
        "category_id": 8,
        "secondary_follow_up_status": null,
        "timezone": null,
        "tags": null,
        "assigned_users": null
    },
    "branch": {
        "id": 1,
        "name": "Main Branch",
        "status": 1,
        "created": "2025-05-20 06:42:26",
        "modified": "2025-05-20 06:42:26"
    },
    "le_workflow-type-entity-36_custom_data": {
        "code": "Renee315",
        "discount_type": "نسبة مئوية",
        "discount_value": 10,
        "start_date": "",
        "end_date": "",
        "id": 1,
        "reference_id": "65"
    },
    "work_order_follow_up_status": null,
    "custom_data": null
}
Previous
Get All Records
Next
Add New Record