Skip to main content
Question

Acumatica REST API – Issue with Wildcard (*) in Bill of Material Revision URL

  • Nov 13, 2026 12:29 PM UTC
  • 0 replies
  • 1 view
  • Translate All

Hi Acumatica Support Team,

We are facing an issue while uploading attachments to a Bill of Material (BOM) using the Acumatica REST API.

Scenario:

We need to upload a file to the following BOM record:

  • BOM ID: BOM000023

  • Revision: *

  • File Name: AACOMPUT01.jpg

We are using the following API URL for uploading the attachment:

http://localhost/AcumaticaQMS26R1/entity/ABPManufacturing/25.100.001/BillOfMaterial/BOM000023/*/files/AACOMPUT01.jpg

When we execute the API request, we receive the following error:

A potentially dangerous Request.Path value was detected from the client (*)

Questions:

  1. What is the correct REST API URL and HTTP method (PUT) for uploading an attachment when the BOM Revision value is *?

  2. Does Acumatica support * as a valid Revision key in the attachment upload URL?

  3. Can we use %2A instead of * to avoid the ASP.NET request-path validation error?

  4. Is there any alternative supported approach for uploading attachments to a BOM with Revision *?

Expected Result:

We want to successfully upload AACOMPUT01.jpg as an attachment to BOM BOM000023 with Revision * using the Acumatica REST API.

Please provide the recommended API URL and a working example for this upload scenario.

Thank you for your assistance.