Web Services: Product Configurator in the Manufacturing Endpoint
In previous versions of MYOB Acumatica Manufacturing Edition, a developer could not work with the manufacturing product configurator through the contract-based API. In MYOB Acumatica Manufacturing Edition 2024.1, the new MANUFACTURING/23.200.001 endpoint includes the ConfigurationEntry entity, which provides access to the functionality that is available for users on the Configuration Entry (AM306000) form. The developer can use this entity during implementation of the data maintenance and sales configuration scenarios, such as the following:
- The setup of the product configurator during submission of data from a legacy system or third-party application. The automated setup through the API eliminates the need for manual entry of the data for the product configurator.
- For an external application, the retrieval of features and options from MYOB Acumatica Manufacturing Edition to expose them to a user and the submission of the user-selected features and options to MYOB Acumatica Manufacturing Edition.
In the following sections, the developer can find examples of requests for retrieval and update of a configuration entry.
Retrieval of a Configuration Entry
A developer can use the following request example to retrieve the configuration entry with the AMC000001 ID through the contract-based REST API.
GET /entity/MANUFACTURING/23.200.001/ConfigurationEntry/AMC000001?
$expand=Attributes,Features/Options HTTP/1.1
Host: [<MYOB Acumatica instance URL>]
Accept: application/json
Content-Type: application/json
Update of a Configuration Entry
A developer can use the following request example to submit a configuration entry through the REST API.
PUT /entity/MANUFACTURING/23.200.001/ConfigurationEntry HTTP/1.1
Host: [<MYOB Acumatica instance URL>]
Accept: application/json
Content-Type: application/json
{
"ProdOrderNbr": {"value": "AM000022"},
"ProdOrderType": {"value": "RO"},
"ConfigResultsID": {"value": "5"},
"ConfigurationID": {"value": "AMC000003"},
"Features": [
{
"FeatureLineNbr": { "value": 1 },
"ConfigResultsID": { "value": "5" },
"Options": [
{
"FeatureLineNbr": { "value": 1 },
"OptionLineNbr": { "value": 1 },
"ConfigResultsID": { "value": "5" },
"Included": { "value": true }
},
{
"FeatureLineNbr": { "value": 1 },
"OptionLineNbr": { "value": 2 },
"ConfigResultsID": { "value": "5" },
"Included": { "value": true }
}
]
}
]
}