GetFileStatus¶
Query the PDM status of a file. Called on open if advertised; HydroSym does not use the result today.
When is this called?
Called on file open when getFileStatus is advertised. The result is discarded; HydroSym does not show PDM status from this call.
Capability: getFileStatus
C# Override¶
public override GetFileStatusResponse? GetFileStatus(GetFileStatusRequest request)
{
return new GetFileStatusResponse { Status = "checkedIn" };
}
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
filePath |
string |
✅ | Full path to the project file. |
Response¶
| Field | Type | Required | Description |
|---|---|---|---|
status |
string |
✅ | One of: unknown, checkedIn, checkedOut, released. |
lockedBy |
string |
Username of the lock holder. | |
version |
integer |
Current version number. | |
isManaged |
boolean |
Whether the file is managed by the PDM system. |
JSON¶
The SDK serializes these JSON bodies for you.