Acumatica. API отдыха. Создать клиента. ошибка - PullRequest
0 голосов
/ 03 июня 2019

Я бы хотел создать клиента в acumatica, используя REST API. Я импортировал в почтальон официальную конфигурацию JSON swagger и использую следующую конечную точку:

http://*********/Acumatica2019DB/entity/Default/17.200.001/Customer

Метод: PUT

Body:

{
  "CustomerID" : {"value" : "JOHNGOOD" } ,
  "CustomerName" : {"value" : "John Good" },
  "MainContact" : 
   {
      "Email" : {"value" : "demo@gmail.com" },
      "Address" : 
        {
          "AddressLine1" : {"value" : "4030 Lake Washington Blvd NE" },
          "AddressLine2" : {"value" : "Suite 100" },
          "City" : {"value" : "Kirkland" },
          "State" : {"value" : "WA" },
          "PostalCode" : {"value" : "98033" }
        }      
    }  
}

У меня возникла следующая проблема:

Error: An error occurred during processing of the field Subaccount: Error: Product Group, Department of Subaccount do not exist in the system. 
---> PX.Data.PXSetPropertyException: Error: Product Group, Department of SubCD do not exist in the system.

Что означают эти значения (группа продуктов, отдел субсчета)? Как я могу их настроить?

...