Hello,
after a full day of searching the web, i havent found a solution that fits my problem well enough (or where i am skilled enough to transfer the information).

The flow is supposed to copy items from one directory to the other, since on of them is a libary and the other one is a list where the simple "Copy Item" or "Copy File" actions etc. are not working, therefore im using a HTTP Request which looks like this:

Body:
{
"listItemCreateInfo": {
"FolderPath": {
"DecodedUrl": "https://mytenant/Lists/Mitarbeiter/someguy@test.com/2023"
},
"UnderlyingObjectType": 0
},
"formValues": [
{
"FieldName": "Title",
"FieldValue": "TEST_POST"
},
{
"FieldName": "MyCustomContent",
"FieldValue": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
"TermGuid": "152122ef-123123123123123",
"WssId": 18,
"Label": "18",
"Value": "18|152122ef-123123123123123"
}
}
],
"bNewDocumentUpdate": false
}
This is the error i get:
{ "status": 400, "message": "An unexpected 'StartObject' node was found when reading from the JSON reader. A 'PrimitiveValue' node was expected.\r\nclientRequestId: 785a8579-2305-493b-9da2-516261\r\nserviceRequestId: f854f7a0-2002-7000-cb62-919816512", "source": "https://mytenant.com/_api/web/lists/GetByTitle('Mitarbeiter')/AddValidateUpdateItemUsingPath", "errors": [ "-1", "Microsoft.Data.OData.ODataException" ] }
There must be a way to specify "My CustomContet" more, it comes from the list, i only want to use existing content types, since im "Just" copying the items into the same list but other folders.
Long story short: How can i add specific content types that are already existing in a list with HTTP Request?
Thank you all!