Discussions
Set and remove WO Flags via API
Hi,
I am able to query and return the flags set agaist a WorkOrder using the query API and the WoFlag entity.
I am trying to set a new flag against a WorkOrder, and also remove a Flag - using the base API POST and DELETE methods.
However, I am getting the response that these are not supported by the WoFlag Entity.
See my responses received at the foot of this message.
My questions is, is there a method to set and remove flags from a WorkOrder via API?
Thanks again for your help.
Responses:
{
"ErrorMessage": "Create operation is not supported by WoFlag entity.",
"ErrorCode": "ERROR_CODE_1000",
"TimeStamp": "2024-04-10T13:50:29.5806831Z"
}
{
"ErrorMessage": "Delete operation is not supported by WoFlag entity.",
"ErrorCode": "ERROR_CODE_1000",
"TimeStamp": "2024-04-10T13:42:17.0226544Z"
}