Skip to main content
GET
/
api
/
analytics
/
branch-performance
Branch performance metrics
curl --request GET \
  --url https://api.propops.app/api/analytics/branch-performance \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": [
    {
      "branch_id": 1,
      "branch_name": "Branch_001",
      "total_jobs": 150,
      "completed_jobs": 120,
      "average_completion_days": 4.5,
      "recall_rate": 2.1,
      "revenue": 45000
    }
  ]
}

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Authorization: Bearer a1b2c3d4e5f6...

Query Parameters

branch_id
integer
Example:

1

from_date
string<date>
Example:

"2024-01-01"

to_date
string<date>
Example:

"2024-06-30"

Response

Branch performance data

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

data
object[]