App\Entity\Mandate
Resource class
Resource Metadata
Short name: "Mandate"
Item operations | Attributes |
---|---|
get | [ "security" => "is_granted('ROLE_AGENT') or is_granted('ROLE_MANAGER')" "security_message" => "Vous n'avez pas le droit de visualiser ce mandat ." "input" => null "output" => null "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] ] |
put | [ "security" => "is_granted('PUT', object)" "denormalization_context" => [ "groups" => [ "mandate:put" ] ] "input" => null "output" => null "method" => "PUT" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] ] |
validate_mandate | [ "denormalization_context" => [ "groups" => [ "mandate:validate" ] ] "security" => "is_granted('ROLE_MANAGER')" "method" => "PATCH" "path" => "/mandate/{id}/validate" "controller" => "App\Controller\Manager\Mandate\ValidateMandateController" "read" => true "write" => false "input" => null "output" => null "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] ] |
refuse_mandate | [ "denormalization_context" => [ "groups" => [ "mandate:refuse" ] ] "security" => "is_granted('ROLE_MANAGER')" "method" => "PATCH" "path" => "/mandate/{id}/refuse" "controller" => "App\Controller\Manager\Mandate\RefuseMandateController" "read" => true "write" => true "input" => null "output" => null "stateless" => null "input_formats" => [ "json" => [ "application/merge-patch+json" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] ] |
Collection operations | Attributes |
---|---|
get | [ "access_control" => "is_granted('ROLE_AGENT') or is_granted('ROLE_MANAGER')" "input" => null "output" => null "method" => "GET" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] ] |
post | [ "access_control" => "is_granted('POST', object)" "input" => null "output" => null "method" => "POST" "stateless" => null "input_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" "application/json" "text/html" ] "html" => [ "text/html" ] "jsonhal" => [ "application/hal+json" ] "csv" => [ "text/csv" ] ] ] |
Filters | |
---|---|
annotated_app_entity_mandate_api_platform_core_bridge_doctrine_orm_filter_order_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter"
|
|
annotated_app_entity_mandate_api_platform_core_bridge_doctrine_orm_filter_search_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter"
|
Attributes | |
---|---|
pagination_items_per_page | 10 |
formats | [ 0 => "jsonld" 1 => "json" 2 => "html" 3 => "jsonhal" "csv" => [ "text/csv" ] ] |
order | [ "id" => "DESC" ] |
normalization_context | [ "groups" => [ "mandate:read" ] "swagger_definition_name" => "Read" ] |
denormalization_context | [ "groups" => [ "mandate:write" ] "swagger_definition_name" => "Write" ] |
skip_null_values | true |
pagination_client_enabled | true |
collection | [ "pagination" => [ "enabled_parameter_name" => "pagination" ] ] |
input | null |
output | null |
Data Providers
No calls to collection data provider have been recorded.
# | Answer | Item data provider |
---|---|---|
1 | FALSE | App\DataProvider\PersonTypeReferenceDataProvider |
2 | FALSE | App\DataProvider\PropertyMatchingItemDataProvider |
3 | FALSE | App\DataProvider\VatReferenceDataProvider |
4 | FALSE | App\Domain\EventManagement\Adapters\Gateway\ApiPlatform\DataProvider\EventSubTypeDataProvider |
5 | FALSE | App\Domain\EventManagement\Adapters\Gateway\ApiPlatform\DataProvider\EventTypeDataProvider |
6 | TRUE | ApiPlatform\Core\Bridge\Doctrine\Orm\ItemDataProvider |
Context[ "groups" => [ "mandate:put" "siege:put" ] "operation_type" => "item" "item_operation_name" => "put" "iri_only" => false "input" => null "output" => null "api_allow_update" => true "resource_class" => "App\Entity\Contact" "request_uri" => "/api/mandates/611" "uri" => "https://preprod-api.milkiya.ma/api/mandates/611" "skip_null_values" => true "api_denormalize" => true "_read_attributes" => false "cache_key" => "8f71d4ce0b01201e9065a106b2238af8-additionalContacts" "deserialization_path" => "additionalContacts" "fetch_data" => true ] |
No calls to subresource data provider have been recorded.
Data Persisters
# | Answer | Data persister |
---|---|---|
1 | FALSE | App\DataPersister\BusinessIndicationDataPersist |
2 | FALSE | App\DataPersister\CandidateDataPersist |
3 | FALSE | App\DataPersister\ContactDataPersister |
4 | TRUE | App\DataPersister\MandateDataPersist |
5 | FALSE | App\DataPersister\PrescriberDataPersist |
6 | FALSE | App\DataPersister\PropertyDataPersister |
7 | FALSE | App\DataPersister\PropertyVisitDataPersist |
8 | FALSE | App\DataPersister\TransactionDataPersister |
9 | FALSE | ApiPlatform\Core\Bridge\Symfony\Messenger\DataPersister |
10 | FALSE | ApiPlatform\Core\Bridge\Doctrine\Common\DataPersister |