Discussions
Issue with Document Upload to Procedure Template Step
Hi,
I tried the following API to upload a document to a Procedure Template Step. The API call was successful and returned the expected response, but the attached document isn't visible on the dashboard under the associated work order.
POST /api/v1/base/Document
Payload:
{
"Entity": {
"ActorId": 23615,
"ActorTypeId": "ProcTemplateStep",
"Description": "Test - Added image",
"Title": "House",
"IsPublic": true,
"StorageTypeId": "Cloud",
"Blob": {
"Body": "iVBORw0KGgoAAAANSUhEUgAAAvwAAAHjCAYAAABfMMtcAACAAElEQVR42uz92ZIkSZKuiX3MIrqY...",
"FileName": "Luxury-Segment-continue-to-grow-1-764x483.png"
}
}
}
Response:
{
"EntitySpecifier": {
"ConcurrencyId": 1,
"EntityType": "Document",
"Id": 323905
}
}
Can you please provide any information on why the document isn't showing up in the Procedures section of Work Order on the dashboard?
Thanks!