i followed this steps and it worked !!
we performed the following test
- created the Custom Site ABC
- created a fixlet F1 in ABC
- created the Custom Site DEF
- performed the following commands:
C:\Program Files (x86)\BigFix Enterprise\BES Server\IEM CLI>iem get http://root:52311/api/fixlet/custom/ABC/14311 > c:\temp\F1.xml
C:\Program Files (x86)\BigFix Enterprise\BES Server\IEM CLI>iem post c:\temp\F1.xml http://root:52311/api/fixlet/custom/DEF
Warning: Current console font may not display locale characters correctly.
<?xml version="1.0" encoding="UTF-8"?>
<BESAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BESAPI.xsd">
<Fixlet Resource="https://10.14.78.106:52311/api/fixlet/custom/DEF/14312" LastModified="Fri, 20 Jan 2023 23:10:25 +0000">
<Name>F1</Name>
<ID>14312</ID>
</Fixlet>
</BESAPI>