https://dev.app.pol-crm.com/api/customers?allowAll=true

App\Model\Customer\Customer Resource class

Resource Metadata

Short name: "Customer"

Item operations Attributes
delete
[
  "method" => "DELETE"
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
get
[
  "method" => "GET"
  "path" => "/customers/{id}"
  "normalization_context" => [
    "groups" => [
      "read"
    ]
  ]
  "denormalization_context" => [
    "groups" => [
      "read"
    ]
  ]
  "access_control" => "is_granted("ROLE_SUPERADMIN") or (is_granted("ROLE_ADMIN") and object.getId() == user.getCustomerId())"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
put
[
  "method" => "PUT"
  "path" => "/customers"
  "denormalization_context" => [
    "groups" => [
      "write"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "write"
    ]
  ]
  "access_control" => "is_granted("ROLE_SUPERADMIN")"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
update_module_access
[
  "normalization_context" => [
    "groups" => [
      "list"
    ]
  ]
  "denormalization_context" => [
    "groups" => [
      "write"
    ]
  ]
  "security" => "is_granted("ROLE_SUPERADMIN")"
  "method" => "PUT"
  "path" => "/customers/{id}/update_module_access"
  "controller" => "App\Controller\Customer\UpdateModuleAccessAction"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
customer_with_values_form
[
  "method" => "GET"
  "path" => "/customers/form/{id}"
  "controller" => "App\Controller\Customer\FormEditAction"
  "output" => [
    "class" => "App\Model\Form\FormSchema"
    "name" => "FormSchema"
  ]
  "normalization_context" => [
    "groups" => [
      "form_edit"
    ]
  ]
  "denormalization_context" => [
    "groups" => [
      "form_edit"
    ]
  ]
  "access_control" => "is_granted("ROLE_SUPERADMIN")"
  "swagger_context" => [
    "summary" => "Get Form Schema for editing"
    "tags" => [
      "Customer"
    ]
  ]
  "input" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Collection operations Attributes
get
[
  "method" => "GET"
  "normalization_context" => [
    "groups" => [
      "list"
    ]
    "enable_max_depth" => true
  ]
  "denormalization_context" => [
    "groups" => [
      "list"
    ]
    "enable_max_depth" => true
  ]
  "access_control" => "is_granted("ROLE_ADMIN")"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
post
[
  "method" => "POST"
  "path" => "/customers"
  "controller" => "App\Controller\Customer\CreateAction"
  "denormalization_context" => [
    "groups" => [
      "write"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "write"
    ]
  ]
  "access_control" => "is_granted("ROLE_SUPERADMIN")"
  "input" => null
  "output" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
customer_form
[
  "method" => "GET"
  "path" => "/customers/form"
  "controller" => "App\Controller\Customer\FormAction"
  "normalization_context" => [
    "groups" => [
      "form_edit"
    ]
  ]
  "denormalization_context" => [
    "groups" => [
      "form_edit"
    ]
  ]
  "output" => [
    "class" => "App\Model\Form\FormSchema"
    "name" => "FormSchema"
  ]
  "access_control" => "is_granted("ROLE_SUPERADMIN")"
  "swagger_context" => [
    "summary" => "Get Form Schema"
    "tags" => [
      "Customer"
    ]
  ]
  "input" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Filters
No available filter declared for this resource.
Attributes
route_prefix
"/"
ressource
"."
normalization_context
[
  "groups" => [
    "read"
  ]
]
input
null
output
null

Data Providers

No calls to collection data provider have been recorded.

No calls to item data provider have been recorded.

No calls to subresource data provider have been recorded.

Data Persisters

No calls to data persister have been recorded.