https://dev.app.pol-crm.com/api/V4/contacts/a41c4e5310be42129e5907c0f1f9086b/form

App\V4\Model\Contact\Contact Resource class

Resource Metadata

Short name: "Contact"

Item operations Attributes
get_form
[
  "method" => "GET"
  "path" => "/V4/contacts/{id}/form"
  "controller" => "App\V4\Controller\Contact\GetContactFormAction"
  "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_contact
[
  "method" => "POST"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Contact\ContactDataPersisterAction"
  "path" => "/V4/contacts/{id}"
  "input_formats" => [
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "contact:read"
    ]
  ]
  "denormalization_context" => [
    "groups" => []
  ]
  "input" => null
  "output" => null
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
get_form_move_contact
[
  "method" => "GET"
  "path" => "/V4/contacts/{id}/form_move_contact"
  "controller" => "App\V4\Controller\Contact\GetMoveContactFormAction"
  "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_move_contact
[
  "method" => "POST"
  "path" => "/V4/contacts/{id}/form_move_contact"
  "controller" => "App\V4\Controller\Contact\PostMoveContactFormAction"
  "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_contact
[
  "method" => "DELETE"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Contact\ContactDataPersisterAction"
  "path" => "/V4/contacts/{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" => [
      "contact:list"
    ]
  ]
  "security" => "is_granted(constant('App\\V4\\Voters\\ContactVoter::CONTACT_SHOW_LIST'), 'App\V4\Voters\ContactVoter')"
  "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_contact
[
  "method" => "POST"
  "deserialize" => false
  "write" => false
  "controller" => "App\V4\Controller\Contact\ContactDataPersisterAction"
  "path" => "/V4/contacts"
  "input_formats" => [
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  "normalization_context" => [
    "groups" => [
      "contact: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/contacts/form"
  "controller" => "App\V4\Controller\Contact\GetContactFormAction"
  "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/contacts/search/form"
  "controller" => "App\V4\Controller\Contact\GetContactSearchFormAction"
  "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/contacts/search/form"
  "normalization_context" => [
    "groups" => [
      "contact:list"
    ]
  ]
  "controller" => "App\V4\Controller\Contact\PostContactSearchFormAction"
  "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/contact"
  "controller" => "App\V4\Action\Export\EntityExportRequestAction"
  "swagger_context" => [
    "summary" => "Demande de création d'export de contacts"
    "description" => "Demande de création d'export de contacts où 'ids' sont les ids des contacts 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/contact/{id}"
  "controller" => "App\V4\Action\Export\EntityExportDownloadAction"
  "swagger_context" => [
    "summary" => "Demande de téléchargement d'un export contacts"
    "description" => "Demande de téléchargement d'un export contacts 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_contact_contact_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.