@ihwan You can use the following in the body to create a compose model
{
"description": "Request contract for compose operation.",
"modelIds": ["model_guid","model_guid"],
"modelName": "Rohit123"
}
The response for a successful compose should be 201 created. Use the model id in the location field of your response in the GetCustomModel API to check the details of your composed model
GetCustomModel:
Please accept this response as answer if it helped you in resolving your issue. Thanks!!
@ihwan The swagger specification of the API is available on top right corner of the API portal but there is a known issue which is not reflecting all the required fields for API's. Our team is working to fix this on the portal so users can use the correct body in the request.
As a side note, you can find more information on the following website.
https://learn.microsoft.com/en-us/rest/api/formrecognizer/2.1preview2/compose-custom-models-async/compose-custom-models-async#errorinformation