I created model AcmeBundle\Api\Model\AcmeLineItem with few fields and configured it in the config/oro/api.yml file.
api:
entity_aliases:
AcmeBundle\Api\Model\AcmeLineItem:
alias: acme
plural_alias: acme
entities:
AcmeBundle\Api\Model\AcmeLineItem:
fields:
name:
data_type: string
form_options:
constraints:
- NotBlank: ~
actions:
create: true
update_list: true
Fields available in the processor for create action and can be processed in a needed way by it.
- { name: oro.api.processor, action: create, group: save_data, class: AcmeBundle\Api\Model\AcmeLineItem }
But the method required body structure in meta key.
{
"meta": {
"name": "acme"
}
}
Based on this, it's hard to find out how to approach the update_list action.