Skip to main content

Get Project

Get details of a project by its UUID.

Description

This action allows you to retrieve project information including:

  • Project UUID
  • Project Name
  • Project Type

Request Topic

LYT/41e0d6b2-37de-43d8-a348-4ba94853b6cd/PROJECT/ACTION

Request Payload

{
"version": "v1.0",
"action": "get"
}

Request Field Descriptions

FieldTypeRequiredDescription
versionstringYesAPI version identifier (must be "v1.0")
actionstringYesAction to perform (must be "get")

Response Topic

LYT/41e0d6b2-37de-43d8-a348-4ba94853b6cd/PROJECT/E/ACTION

Response Payload

Success Response

{
"message": "success",
"version":"v1.0",
"action":"get"
"data": {
"project_uuid": "41e0d6b2-37de-43d8-a348-4ba94853b6cd",
"project_name": "First Project",
"project_type": "RECIDENTIAL"
}
}

Error Handling

1. Project Not Found Error (Code: 2002)

{
"message": "error",
"message_type": {
"code": 2002,
"message": "Project not found",
"errorCode": "PROJECT_NOT_FOUND"
}
}

When it occurs:

  • The project UUID is invalid
  • The project has been deleted
  • The user doesn't have access to the project

How to resolve:

  1. Verify the project UUID is correct
  2. Check if you have the necessary permissions
  3. Ensure the project exists
  4. Contact system administrator if you should have access

Error Code Summary

CodeError CodeDescriptionSolution
2002PROJECT_NOT_FOUNDProject doesn't existCheck project UUID valid or not