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
# | Answer | Data persister |
---|---|---|
1 | FALSE | App\DataPersister\Contact\ContactDataPersister |
2 | FALSE | App\DataPersister\Customer\CustomerDataPersister |
3 | FALSE | App\DataPersister\CustomerFile\CustomerFileDataPersister |
4 | FALSE | App\DataPersister\CustomerFolder\CustomerFolderDataPersister |
5 | FALSE | App\DataPersister\CustomerUrlFile\CustomerUrlFileDataPersister |
6 | FALSE | App\DataPersister\Field\FieldDataPersister |
7 | FALSE | App\DataPersister\LastVisit\LastVisitDataPersister |
8 | FALSE | App\DataPersister\Listing\ListingDataPersister |
9 | FALSE | App\DataPersister\ListingItem\ListingItemDataPersister |
10 | FALSE | App\DataPersister\MailType\MailTypeDataPersister |
11 | FALSE | App\DataPersister\Product\ProductDataPersister |
12 | FALSE | App\DataPersister\Product\ProductWithoutRequestDataPersister |
13 | FALSE | App\DataPersister\Prospect\ProspectDataPersister |
14 | FALSE | App\DataPersister\Quote\QuoteDataPersister |
15 | FALSE | App\DataPersister\RGPDConfig\RGPDConfigDataPersister |
16 | FALSE | App\DataPersister\RGPDInfo\RGPDInfoDataPersister |
17 | FALSE | App\DataPersister\SavedUserSearch\SavedUserSearchDataPersister |
18 | FALSE | App\DataPersister\SecurityGroup\SecurityGroupDataPersister |
19 | FALSE | App\DataPersister\Tab\TabDataPersister |
20 | FALSE | App\DataPersister\Task\TaskDataPersister |
21 | FALSE | App\DataPersister\Template\TemplateDataPersister |
22 | FALSE | App\DataPersister\UserInfo\UserInfoDataPersister |
23 | FALSE | App\DataPersister\ViewOrder\ViewOrderDataPersister |
24 | FALSE | App\V4\DataPersister\Contact\ContactDataPersister |
25 | FALSE | App\V4\DataPersister\Contact\ContactWithoutRequestDataPersister |
26 | FALSE | App\V4\DataPersister\CustomerFile\CustomerFileWithoutRequestDataPersister |
27 | TRUE | App\V4\DataPersister\Listing\ListingWithoutRequestDataPersister |
28 | NOT USED | App\V4\DataPersister\MailType\MailTypeDataPersister |
29 | NOT USED | App\V4\DataPersister\MailType\MailTypeWithoutRequestDataPersister |
30 | NOT USED | App\V4\DataPersister\Prospect\ProspectBusinessDataPersister |
31 | NOT USED | App\V4\DataPersister\Prospect\ProspectBusinessWithoutRequestDataPersister |
32 | NOT USED | App\V4\DataPersister\Prospect\ProspectIndividualDataPersister |
33 | NOT USED | App\V4\DataPersister\Prospect\ProspectIndividualWithoutRequestDataPersister |
34 | NOT USED | App\V4\DataPersister\ProspectSubscription\ProspectSubscriptionDataPersister |
35 | NOT USED | App\V4\DataPersister\Quote\QuoteDataPersister |
36 | NOT USED | App\V4\DataPersister\Quote\QuoteWithoutRequestDataPersister |
37 | NOT USED | App\V4\DataPersister\Task\TaskDataPersister |
38 | NOT USED | App\V4\DataPersister\Task\TaskWithoutRequestDataPersister |
39 | NOT USED | App\V4\DataPersister\TaskType\TaskTypeWithoutRequestDataPersister |
40 | NOT USED | App\V4\DataPersister\UserNotification\UserNotificationWithoutRequestDataPersister |
41 | NOT USED | ApiPlatform\Core\Bridge\Symfony\Messenger\DataPersister |
42 | NOT USED | ApiPlatform\Core\Bridge\Doctrine\Common\DataPersister |