https://dev.app.pol-crm.com/api/V4/tasks/7de3426f438349dbbf565cae461baf8d

App\V4\Model\Task\Task Resource class

Resource Metadata

Short name: "V4/Task"

Item operations Attributes
get
[
  "path" => "/V4/tasks/{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/tasks/{id}/form"
  "controller" => "App\V4\Controller\Task\GetTaskFormAction"
  "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_task
[
  "method" => "POST"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Task\TaskDataPersisterAction"
  "path" => "/V4/tasks/{id}"
  "input_formats" => [
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "task:read"
    ]
  ]
  "denormalization_context" => [
    "groups" => []
  ]
  "input" => null
  "output" => null
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
renew_task
[
  "method" => "POST"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Task\TaskRenewAction"
  "path" => "/v4/tasks/renew/{id}"
  "swagger_context" => [
    "summary" => "Renouvèle une action"
    "consumes" => [
      "application/json"
    ]
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "type" => "string"
        "required" => true
      ]
      [
        "in" => "body"
        "name" => "task"
        "schema" => [
          "type" => "object"
          "properties" => [
            "beginAt" => [
              "type" => "string"
              "example" => "2023-06-21T00:00"
            ]
          ]
        ]
      ]
    ]
  ]
  "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"
    ]
  ]
]
close_task
[
  "method" => "POST"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Task\TaskCloseAction"
  "path" => "/v4/tasks/close/{id}"
  "swagger_context" => [
    "summary" => "Clöture une action"
  ]
  "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_task
[
  "method" => "DELETE"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Task\TaskDataPersisterAction"
  "path" => "/V4/tasks/{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"
    ]
  ]
]
get_form_move_task
[
  "method" => "GET"
  "path" => "/v4/move_task/form"
  "controller" => "App\V4\Action\Task\MoveTaskAction"
  "swagger_context" => [
    "summary" => "Donne le formulaire de déplacement d'une action"
    "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"
    ]
  ]
]
move_task
[
  "method" => "POST"
  "deserialize" => false
  "write" => false
  "path" => "/v4/move_task/{id}"
  "controller" => "App\V4\Action\Task\MoveTaskAction"
  "swagger_context" => [
    "summary" => "Déplace une action"
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "type" => "string"
        "required" => true
      ]
      [
        "in" => "body"
        "name" => "task"
        "schema" => [
          "type" => "object"
          "properties" => [
            "prospect" => [
              "type" => "string"
              "example" => "prospect_id"
            ]
            "contacts" => [
              "type" => "array"
              "items" => [
                "type" => "string"
              ]
            ]
            "quote" => [
              "type" => "string"
              "example" => "quote_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"
    ]
  ]
]
Collection operations Attributes
get
[
  "normalization_context" => [
    "groups" => [
      "task:list"
    ]
  ]
  "security" => "is_granted(constant('App\\V4\\Voters\\TaskVoter::TASK_SHOW_LIST'), 'App\V4\Voters\TaskVoter')"
  "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_task
[
  "method" => "POST"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Task\TaskDataPersisterAction"
  "path" => "/V4/tasks"
  "input_formats" => [
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "task:read"
    ]
  ]
  "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/tasks/form"
  "controller" => "App\V4\Controller\Task\GetTaskFormAction"
  "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/tasks/search/form"
  "controller" => "App\V4\Controller\Task\GetTaskSearchFormAction"
  "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/tasks/search/form"
  "normalization_context" => [
    "groups" => [
      "task:list"
    ]
  ]
  "controller" => "App\V4\Controller\Task\PostTaskSearchFormAction"
  "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/task"
  "controller" => "App\V4\Action\Export\EntityExportRequestAction"
  "swagger_context" => [
    "summary" => "Demande de création d'export des actions"
    "description" => "Demande de création d'export des actions où 'ids' sont les ids des actions 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/task/{id}"
  "controller" => "App\V4\Action\Export\EntityExportDownloadAction"
  "swagger_context" => [
    "summary" => "Demande de téléchargement d'un export actions"
    "description" => "Demande de téléchargement d'un export actions 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"
    ]
  ]
]
Filters
annotated_app_v4_model_task_task_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.