Solved

Unable to Create a project Rest API

  • 22 June 2023
  • 3 replies
  • 48 views

Userlevel 3
Badge

Hey Team

 

i’m sending a POST request to create Project in Acumatica but it not throwing an Error at all it showing success but i can’t find it in Acumatica 

 

POST : https://mycompany.acumatica.com/entity/projects/22.200.001/Project

BODY : 

 

{
  "ProjectID": {
    "value": "P-76732"
  },
  "ProjectCountry": {
    "value": "Montgomery"
  },
  "Description": {
    "value": "TEST"
  },
  "GL": {
    "value": "CSMABAWA"
  }
}

 

 

 

Thank you so much

icon

Best answer by jinin 22 June 2023, 20:08

View original

3 replies

Userlevel 7
Badge +11

Hi @Driss,

You should use the PUT method to create/update the project.

Try like below.

Url: /entity/Test/20.200.001/Project

Method: PUT
Request:
 

{

    "ProjectID": {

        "value": "PR00000016"

    },

    "Customer": {

        "value": "AACUSTOMER"

    },

    "ProjectTemplateID": {

        "value": "MFG"

    },

    "Status": {

        "value": "Active"

    }

}

Userlevel 7
Badge +4

@Driss , @jinin is correct. Here’s an example for your reference:

Postman Call

Here’s the result:

Project seen in UI

 

Hopefully it helps

Userlevel 3
Badge

@RohitRattan88 @jinin  Thank you so much 👏👏

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved