Daftra API
All Endpoints
Daftra PartnersDevelopers Portal
All Endpoints
Daftra PartnersDevelopers Portal
  1. Workflow
  • Welcome
  • Getting Started
  • Validation Errors
  • Authorization
    • How To Authorize
    • Generate Access Token
      POST
  • Endpoints v1
    • Site
      • GET Site Info
    • Sales
      • Invoices
        • GET All Invoices
        • GET Single Invoice
        • Edit Invoices
        • Delete Invoices
        • Add New Invoice
        • Bulk Add Invoices
        • Update Invoice Draft Status
        • Assign Work Order to Invoice
        • Add Shipping to Invoice
        • Convert Sales Order to Invoice
        • Delete Sales Order
      • Subsciptions
        • List Subscriptions
        • View Subscription
        • Create Subscription
        • Edit Subscription
        • Delete Subscription
      • Estimates
        • GET All Estimates
        • GET Single Estimate
        • Add New Estimate
        • Edit Estimates
        • Delete Estimates
      • Credit Notes
        • GET All Credit Notes
        • GET Single Credit Note
        • Add New Credit Note
        • Edit Credit Notes
        • Delete Credit Notes
      • Refund Receipts
        • GET All Refund Receipts
        • GET Single Refund Receipt
        • Add New Refund Receipt
        • Edit Refund Receipts
        • Delete Refund Receipts
        • Bulk Add Refund Receipts
      • Invoice Payments
        • GET All Invoice Payments
        • GET Single Invoice Payment
        • Add New Invoice Payment
        • Edit Invoice Payments
        • Delete Invoice Payments
      • Invoice Appointments
        • GET All Invoice Appointments
        • GET Single Invoice Appointment
        • Add New Invoice Appointment
        • Edit Invoice Appointments
        • Delete Invoice Appointments
      • Advance Payment Invoices
        • GET All Advance payment
        • GET Single Advance payment
        • Add Advance Payment
      • Estimate Appointments
        • GET All Estimate Appointments
        • GET Single Estimate Appointment
        • Add New Estimate Appointment
        • Edit Estimate Appointments
        • Delete Estimate Appointments
        • Update Estimate Appointment (POST alias)
      • Shipping Options
        • List Shipping Options
      • POS
        • Get POS Shift Session
    • Clients
      • Clients
        • GET All Clients
        • GET Single Client
        • Add New Client
        • Edit Clients
        • Delete Clients
        • Assign Staff To Client
        • Client Loyalty Points
        • Bulk Add Clients
        • Client Has Membership
        • Client Attendance By Barcode
      • Client Appointments
        • GET All Client Appointments
        • GET Single Client Appointment
        • Add New Client Appointment
        • Edit Client Appointments
        • Delete Client Appointments
      • Client Payments
        • GET All Client Payments
        • GET Single Client Payment
        • Add New Client Payment
        • Edit Client Payments
        • Delete Client Payments
      • Client-attendance-log
        • Add New Client-attendance-log
      • Notes
        • GET All Notes
        • GET Single Note
        • Add New Note
        • Edit Notes
        • Delete Notes
    • Booking
      • Add new Booking
      • Change Booking Status
      • Convert booking to Invoice
      • Get All Bookings
      • Get Single Booking
      • Delete booking
    • Work Orders
      • Work Orders
        • GET All Work Orders
        • GET Single Work Order
        • Add New Work Order
        • Edit Work Orders
        • Delete Work Orders
      • Work Order Appointments
        • GET All Work Order Appointments
        • GET Single Work Order Appointment
        • Add New Work Order Appointment
        • Edit Work Order Appointments
        • Delete Work Order Appointments
        • Update Work Order Appointment (POST alias)
    • Inventory
      • Products
        • GET All Products
        • GET Single Product
        • Add New Product
        • Edit Products
        • Delete Products
        • List Brands
      • Requsitions
        • GET All Requisitions
        • GET single Requisition
        • Add New Requisition
        • Edit Requisitions
        • Delete Requisitions
        • Trigger Requisition Update
      • Product Categories
        • GET All Product Categories
        • GET Single Product Category
        • Add New Product Category
        • Edit Product Category
        • Delete Product Category
        • Update Category Display Order
        • Update Category Items
      • Stores
        • GET All Stores
        • GET Single Store
        • Add New Store
        • Edit Stores
        • Delete Stores
      • Stock Transactions
        • GET All Stock Transactions
        • GET Single Stock Transaction
        • Add New Stock Transaction
        • Edit Stock Transactions
        • Delete Stock Transactions
    • Accounting
      • Journal Accounts
        • GET All Journal Accounts
        • GET Single Journal Account
        • Add New Journal Account
        • Edit Journal Accounts
        • Delete Journal Accounts
      • Journals
        • GET All Journals
        • GET Single Journal
        • Edit Journals
        • Delete Journals
        • Add New Journal
      • Journal Cats
        • GET All Journal Cats
        • GET Single Journal Cat
        • Add New Journal Cat
        • Edit Journal Cats
        • Delete Journal Cats
    • Finance
      • Incomes
        • GET All Incomes
        • GET Single Income
        • Add New Income
        • Edit Incomes
        • Delete Incomes
      • Treasuries
        • GET All Treasuries
        • GET Single Treasury
        • Add New Treasury
        • Edit Treasuries
        • Delete Treasuries
      • Expenses
        • GET All Expenses
        • GET Single Expens
        • Add New Expens
        • Edit Expenses
        • Delete Expenses
    • Taxes
      • GET All Taxes
      • GET Single Taxe
      • Add New Taxe
      • Edit Taxes
      • Delete Taxes
    • Purchases
      • Purchase Refunds
        • GET All Purchase Refunds
        • GET Single Purchase Refund
        • Add New Purchase Refund
        • Edit Purchase Refunds
        • Delete Purchase Refunds
      • Purchase Invoices
        • GET All Purchase Invoices
        • GET Single Purchase Invoice
        • Add New Purchase Invoice
        • Edit Purchase Invoices
        • Delete Purchase Invoices
      • Purchase Orders
        • GET All Purchase Orders
        • GET Single Purchase Order
        • Add New Purchase Order
        • Edit Purchase Order
        • Delete Purchase Order
      • Suppliers
        • GET All Suppliers
        • GET Single Supplier
        • Add New Supplier
        • Edit Suppliers
        • Delete Suppliers
    • Staff
      • GET Single Staff
      • GET All Staff
    • Time Tracking
      • GET All Time Tracking
      • GET Single Time Tracking
      • Edit Time Tracking
      • Delete Time Tracking
      • Add New Time Tracking
    • General Listing
      • GET General Listing
  • Endpoints v2
    • What's New
      • API Improvements
      • Filtering
      • Using API v2
        • Endpoints Structure
        • Data Fetching — Filtered
    • HR
      • Leave Application
        • Get Single Leave Applications
        • Add Leave Application
        • Edit Leave Application
        • Get All Leave Applications
      • Attendance Logs
        • Get All Attendance Logs
        • Get Single Attendance Log
        • Add Attendance Log
    • Purchase Debit Note
      • Purchase Debit Note
      • Purchase Debit Note
    • Branches
      • Get All Branches
    • Product Bundles
      • Add Product bundle
    • 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
    • Follow-Up Status
      • Get All Follow-Up Statuses
      • Get Single Follow-Up Status
      • Add New Follow-Up Status
      • Delete Follow-Up Status
      • Get All Follow-Up Statuses by type
    • Follow-Up Action
      • Get All Follow-Up Actions
      • Get Single Follow-Up Action
      • Delete Follow-Up Action
    • Cost Centers
      • Get All Cost Centers
      • Get Single Cost Center
      • Add New Cost Center
      • Edit 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
    • Workflow
      • Get All Records
        GET
      • Get Single Record
        GET
      • Add New Record
        POST
      • Edit Record
        PUT
    • Multity entity request
      • Overview
      • Multy Entity Request
    • Employee Asset
      • Asset Type
        • Get All Types
        • Get Single Type
        • Add New Type
        • Edit Type
      • Asset Location
        • Get All Locations
        • Get Single Location
        • Add New Location
        • Edit Location
      • Asset Storage
        • Get All Storages
        • Get Single Storage
        • Add New Storage
        • Edit Storage
      • Asset
        • Get All Assets
        • Get Single Asset
        • Add New Asset
        • Edit Asset
    • Organizational Structure
      • Designation
        • Get All Designations
        • Get Single Designation
        • Add New Designation
        • Edit Designation
      • Department
        • Get All Departments
        • Get Single Department
        • Add New Department
        • Edit Department
      • Employment Type
        • Get All Employment Types
        • Get Single Employment Type
        • Add New Employment Type
        • Edit Employment Type
    • Follow-Up Statuses
    • Entities
      • List entity records
      • View entity record
      • Create entity record
      • Update entity record
      • Delete entity record
  • Developers Portal
    • Introduction & Getting Started
    • Dashboard, Earnings & Withdrawals
    • Creating a New App
    • App Configuration
    • Managing Your App
    • Entities: Modeling Your Data
    • The Entity Builder
    • Buttons & Page Scripts
    • Integrations: Webhooks
    • Invitations, Publishing & Reviews
    • Check App Status
  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