Skip to main content
Answer

Create Support Case using REST API

  • May 11, 2023
  • 4 replies
  • 220 views

How can i create a new support case record in Acumatica using REST API action endpoint?

 

Case Screen

 

Best answer by RohitRattan88

@andrewm80 I tried crating an new case with attributes using APIs. it returned 200 and created case but did not save values for attributes:

This could be bug with APIs.

I suggest creating a DEV support case with Acumatica for further review.

Thank you

4 replies

RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • May 11, 2023

Hi @andrewm80 ,

You could follow guide available at https://help.acumatica.com/(W(36))/Help?ScreenId=ShowWiki&pageid=9d966d50-a0a1-4456-a9ff-1cc2159d48d4

or follow I330 course: https://openuni.acumatica.com/courses/integration/i330-data-manipulation-with-rest-api/

Here’s a quick example:

login to instance:

 

create case by making a PUT call on Case entity :

here’s the result in UI:

 


  • Author
  • Freshman II
  • May 12, 2023

Thank you very much @RohitRattan88 I am trying to create with attributes but it does not want to create please see my example below.

 

{

   "BusinessAccount":{"value":"Account"},

   "ClassID":{"value":"Class"},

   "ContactID":{"value":"Name"},

   "Subject":{"value":"Testing Example"},

   "Attributes":{

      "ContactEmail":{"value":"email@mail.com"},

      "RequestType":{"value":"Support"},

      "DateofIncident":{"value":"2023-05-12"},

      "URLinuse":{"value":"Red"}

}

}

 

 


RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • Answer
  • May 15, 2023

@andrewm80 I tried crating an new case with attributes using APIs. it returned 200 and created case but did not save values for attributes:

This could be bug with APIs.

I suggest creating a DEV support case with Acumatica for further review.

Thank you


  • Author
  • Freshman II
  • May 15, 2023

Hi @RohitRattan88 thank you for your help i will follow up as per your suggestion.