Cannot issue parts of UOM Class Length that require UOM Class

Trying to return material via REST services. I’m going for this endpoint: v1/Erp.BO.IssueReturnSvc/PerformMaterialMovement

And getting an error of: You cannot issue parts of UOM Class Length that require UOM Class

The payload has the UOM, DUM, UM, and every other UOM I could find in the Swagger documentation. Payload looks something like this:

{
“plNegQtyAction”: true,
“ds”: {
“IssueReturn”: [
{
“Company”: “SD”,
“TranDate”: “2024-02-15”,
“PartNum”: “.125-SCE41B-54”,
“TranQty”: “1”,
“DimCode”: “LF”,
“DUM”: “LF”,
“UM”: “LF”,
“FromJobNum”: “583084”,
“FromAssemblySeq”: 0,
“FromJobSeq”: 20,
“FromJobSeqPartNum”: “.125-SCE41B-54”,
“LotNum”: “080600000272837/2q21”,
“FromJobPlant”: “MfgSys”,
“FromWarehouseCode”: “MAIN”,
“FromBinNum”: “CENTERS”,
“ToWarehouseCode”: “MAIN”,
“ToBinNum”: “CENTERS”,
“TranReference”: “sm-postman”,
“PartTrackLots” : true,
“TranType”: “STK-MTL”,
“RowMod”: “U”
}
]
}
}

Just a shot in the dark if any one has had success returning material via REST.

Well I figured it out in case anyone else needs a return material payload, I got this working:

{
    "plNegQtyAction": true,
    "ds": {
        "IssueReturn": [
            {
                "Company": "SD",
                "TranDate" : "2024-02-15", 
                "Plant": "MfgSys",
                "PartNum": ".125-SCE41B-54",
                "TranQty": ".10000000",
                "LotNum": "080600000272837/2q21",
                "FromJobNum": "583084",
                "FromAssemblySeq": "0",
                "FromJobSeq": "10",
                "FromWarehouseCode": "MAIN",
                "FromBinNum": "CENTERS",
                "IssuedComplete": "false",
                "ToWarehouseCode": "MAIN",
                "ToBinNum": "CENTERS",
                "TranReference": "SM-trace-test",
                "TranType": "MTL-STK",
                "UM": "LF",
                "RowMod": "U"
            }
        ]
    }
}

And don’t forget the call settings headers, here’s where they are in POSTMAN: