App\V4\Model\Quote\Quote
Resource class
Resource Metadata
Short name: "V4/Quote"
Item operations | Attributes |
---|---|
get | [ "path" => "/V4/quotes/{id}" "input" => null "output" => null "method" => "GET" "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_form | [ "method" => "GET" "path" => "/V4/quotes/{id}/form" "controller" => "App\V4\Controller\Quote\GetQuoteFormAction" "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" ] ] ] |
get_reason_form | [ "method" => "GET" "path" => "/V4/quotes/{id}/reason/form" "controller" => "App\V4\Controller\Quote\GetQuoteReasonFormAction" "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_reason | [ "method" => "POST" "path" => "/V4/quotes/{id}/reason" "controller" => "App\V4\Controller\Quote\PostQuoteReasonAction" "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_quote | [ "method" => "POST" "deserialize" => false "write" => false "controller" => "App\V4\Controller\Quote\QuoteDataPersisterAction" "path" => "/V4/quotes/{id}" "input_formats" => [ "multipart" => [ "multipart/form-data" ] ] "normalization_context" => [ "groups" => [ "quote:read" "isProspectRefreshNeeded" ] ] "denormalization_context" => [ "groups" => [] ] "input" => null "output" => null "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
regenerate_quote | [ "method" => "POST" "path" => "/V4/quotes/{id}/regenerate" "controller" => "App\V4\Action\Quote\RegenerateQuoteAction" "swagger_context" => [ "summary" => "Demande de réactualisation de l'offre" "description" => "Demande de réactualisation de l'offre du devis 'id'" "parameters" => [ [ "in" => "path" "name" => "id" "type" => "string" "required" => "true" ] [ "in" => "body" "name" => "body" "schema" => [ "type" => "object" "properties" => [ "updatePrice" => [ "type" => "boolean" ] "template" => [ "type" => "string" "example" => "id_du_template" ] ] ] ] ] ] "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" ] ] ] |
regenerate_quote_get | [ "method" => "GET" "path" => "/V4/quotes/{id}/regenerate" "controller" => "App\V4\Action\Quote\GetRegenerateQuoteFormAction" "swagger_context" => [ "summary" => "Demande de récupération du formulaire de réactualisation de l'offre" "description" => "Demande de récupération du formulaire de réactualisation de l'offre du devis 'id'" "responses" => [ 200 => [ "description" => "Envoi du formulaire de réactualisation de l'offre" ] 404 => [ "description" => "Devis introuvable" ] ] ] "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" ] ] ] |
split_chidren | [ "method" => "POST" "deserialize" => false "path" => "/quotes/{id}/split-children" "controller" => "App\V4\Controller\Quote\SplitChildrenAction" "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" ] ] ] |
get_tasks | [ "method" => "GET" "path" => "/v4/quotes/{id}/related-tasks" "normalization_context" => [ "groups" => [ "task:list" ] ] "controller" => "App\V4\Action\Quote\GetRelatedTasksByQuoteAction" "read" => false "swagger_context" => [ "summary" => "Récupert les actions liées au devis" ] "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" ] ] ] |
delete_quote | [ "method" => "DELETE" "deserialize" => false "write" => false "controller" => "App\V4\Controller\Quote\QuoteDataPersisterAction" "path" => "/V4/quotes/{id}" "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" ] ] ] |
duplicate_quote | [ "method" => "GET" "path" => "/V4/quotes/{quoteId}/form/duplicate" "controller" => "App\V4\Action\Quote\DuplicateQuoteAction::class" "swagger_context" => [ "summary" => "Demande de duplication d'un devis" "description" => "Demande de création d'un nouveau formulaire devis ayant pour valeur une copie du devis 'quoteId'" "parameters" => [ [ "in" => "path" "name" => "quoteId" "type" => "string" "required" => "true" ] ] "responses" => [ 200 => [ "description" => "Création d'un formulaire basé sur le devis à duppliquer réalisé avec succès" ] 500 => [ "description" => "Le devis ne peut pas être divisé car il est enfant ou parent d'un autre devis" ] 404 => [ "description" => "Devis introuvable" ] ] ] "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_expected_signed_at_form | [ "method" => "POST" "path" => "/V4/quotes/{id}/expected-signed-at" "controller" => "App\V4\Controller\Quote\PostQuoteExpectedSignedAtFormAction" "swagger_context" => [ "summary" => "Envoie date de signature pour passage d'un devis en statut Gagné" "description" => "Demande de soumission du formulaire de date de signature dans le cadre d'une action rapide visant à basculer un devis en statut gagné" "parameters" => [ [ "in" => "path" "name" => "id" "type" => "string" "required" => "true" ] [ "in" => "body" "name" => "body" "schema" => [ "type" => "object" "properties" => [ "status" => [ "type" => "string" "example" => "id_statut_gagne" ] "expectedSignedAt" => [ "type" => "string" "example" => "2024-03-22T17:50" ] ] ] ] ] ] "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" ] ] ] |
Collection operations | Attributes |
---|---|
get | [ "normalization_context" => [ "groups" => [ "quote:list" ] ] "security" => "is_granted(constant('App\\V4\\Voters\\QuoteVoter::QUOTE_SHOW_LIST'), 'App\V4\Voters\QuoteVoter')" "input" => null "output" => null "method" => "GET" "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_quote | [ "method" => "POST" "deserialize" => false "write" => false "controller" => "App\V4\Controller\Quote\QuoteDataPersisterAction" "path" => "/V4/quotes" "input_formats" => [ "multipart" => [ "multipart/form-data" ] ] "normalization_context" => [ "groups" => [ "quote:read" "isProspectRefreshNeeded" ] ] "denormalization_context" => [ "groups" => [] ] "input" => null "output" => null "output_formats" => [ "jsonld" => [ "application/ld+json" ] "json" => [ "application/json" ] "html" => [ "text/html" ] ] ] |
get_form | [ "method" => "GET" "path" => "/V4/quotes/form" "controller" => "App\V4\Controller\Quote\GetQuoteFormAction" "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" ] ] ] |
get_search | [ "method" => "GET" "path" => "/V4/quotes/search/form" "controller" => "App\V4\Controller\Quote\GetQuoteSearchFormAction" "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_search | [ "method" => "POST" "deserialize" => false "path" => "/V4/quotes/search/form" "normalization_context" => [ "groups" => [ "quote:list" ] ] "controller" => "App\V4\Controller\Quote\PostQuoteSearchFormAction" "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_export_request | [ "method" => "POST" "path" => "/v4/export/quote" "controller" => "App\V4\Action\Export\EntityExportRequestAction" "swagger_context" => [ "summary" => "Demande de création d'export de devis" "description" => "Demande de création d'export de devis où 'ids' sont les ids des devis et 'fields' les champs souhaités" "parameters" => [ [ "in" => "body" "name" => "body" "schema" => [ "type" => "object" "properties" => [ "ids" => [ "type" => "array" "items" => [ "type" => "string" ] ] "fields" => [ "type" => "array" "items" => [ "type" => "string" ] ] ] ] ] ] "responses" => [ 201 => [ "description" => "Création de l'export avec succès" "schema" => [ "type" => "object" "properties" => [ "message" => [ "type" => "string" "example" => "export_request_created" ] ] ] ] 400 => [ "description" => "Utilisateur non trouvé ou champs 'fields' ou 'ids' manquant dans le body request" "schema" => [ "type" => "object" "properties" => [ "message" => [ "type" => "string" "example" => "user_not_found or missing_fields_or_ids" ] ] ] ] 422 => [ "description" => "Les champs 'fields' ou 'ids' du body request sont vides ou l'entité demandée est invalide" "schema" => [ "type" => "object" "properties" => [ "message" => [ "type" => "string" "example" => "empty_fields_or_ids or entity_not_valid" ] ] ] ] ] ] "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_export_download | [ "method" => "POST" "path" => "/v4/export/download/quote/{id}" "controller" => "App\V4\Action\Export\EntityExportDownloadAction" "swagger_context" => [ "summary" => "Demande de téléchargement d'un export devis" "description" => "Demande de téléchargement d'un export devis ou 'id' est le nom du fichier d'export" "requestBody" => [] "parameters" => [ [ "in" => "path" "name" => "id" "type" => "string" "required" => "true" ] ] "responses" => [ 200 => [ "description" => "Téléchargement de l'export réalisé avec succès" ] 401 => [ "description" => "Utilisateur non trouvé ou non connecté" "schema" => [ "type" => "object" "properties" => [ "message" => [ "type" => "string" "example" => "need_authenticated" ] ] ] ] 404 => [ "description" => "Fichier introuvable" "schema" => [ "type" => "object" "properties" => [ "message" => [ "type" => "string" "example" => "export_not_found" ] ] ] ] ] ] "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" ] ] ] |
get_expected_signed_at_form | [ "method" => "GET" "path" => "/V4/quotes/expected-signed-at/form" "controller" => "App\V4\Controller\Quote\GetQuoteExpectedSignedAtFormAction" "swagger_context" => [ "summary" => "Retourne le formulaire de date de signature" "description" => "Retourne le formulaire de date de signature dans le cadre d'une action rapide visant à basculer un devis en statut gagné" "parameters" => [] ] "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" ] ] ] |
Filters | |
---|---|
annotated_app_v4_model_quote_quote_app_filters_paging_filter
"App\Filters\PagingFilter"
|
Attributes | |
---|---|
api_allow_update | true |
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.