https://preprod-api.milkiya.ma/api/properties/3624 Return to referer URL

App\Entity\Property Resource class

Resource Metadata

Short name: "Property"

Item operations Attributes
get
[
  "security" => "is_granted('ROLE_MANAGER') or is_granted('PROPERTY_DETAILS', object)"
  "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('PROPERTY_EDIT', object)"
  "denormalization_context" => [
    "groups" => [
      "property: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"
    ]
  ]
]
invalid_property
[
  "denormalization_context" => [
    "groups" => [
      "property:invalid"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/invalid"
  "controller" => "App\Controller\Manager\Property\InvalidPropertyController"
  "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"
    ]
  ]
]
download_technical_data_sheet
[
  "access_control" => "is_granted('ROLE_MANAGER') or is_granted('ROLE_AGENT')"
  "method" => "GET"
  "path" => "/property/{id}/technical_data_sheet"
  "controller" => "App\Controller\Agent\Property\TechnicalDataSheetController"
  "read" => true
  "write" => false
  "input" => null
  "output" => null
  "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"
    ]
  ]
]
in_progress_property
[
  "denormalization_context" => [
    "groups" => [
      "property:in_progress"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/in_progress"
  "controller" => "App\Controller\Manager\Property\InProgressPropertyController"
  "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"
    ]
  ]
]
pending_property
[
  "denormalization_context" => [
    "groups" => [
      "property:in_progress"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/pending"
  "controller" => "App\Controller\Manager\Property\PendingPropertyController"
  "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"
    ]
  ]
]
under_compromise_property
[
  "denormalization_context" => [
    "groups" => [
      "property:under_compromise"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/under_compromise"
  "controller" => "App\Controller\Manager\Property\UnderCompromisePropertyController"
  "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"
    ]
  ]
]
sold_by_milkiya_property
[
  "denormalization_context" => [
    "groups" => [
      "property:sold_by_milkiya"
    ]
  ]
  "access_control" => "is_granted('ROLE_MANAGER')"
  "method" => "PATCH"
  "path" => "/property/{id}/sold_by_milkiya"
  "controller" => "App\Controller\Manager\Property\SoldByMilkiyaPropertyController"
  "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"
    ]
  ]
]
archive_property
[
  "denormalization_context" => [
    "groups" => [
      "property:property"
    ]
  ]
  "access_control" => """
    ( (is_granted('ROLE_AGENT') and object.getcollaborator() === user) or\n
                                        is_granted('ROLE_MANAGER') or is_granted('ROLE_IT') )
    """
  "method" => "PATCH"
  "path" => "/property/{id}/archive"
  "controller" => "App\Controller\Manager\Property\ArchivePropertyController"
  "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"
    ]
  ]
]
Collection operations Attributes
get
[
  "security" => "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
[
  "security_post_denormalize" => "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"
    ]
  ]
]
milkiya_properties
[
  "access_control" => "is_granted('PUBLIC_ACCESS')"
  "normalization_context" => [
    "groups" => [
      "milkiya:read"
    ]
  ]
  "method" => "GET"
  "path" => "/internal/properties"
  "pagination_enabled" => false
  "input" => null
  "output" => null
  "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_property_api_platform_core_bridge_doctrine_orm_filter_order_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter"
annotated_app_entity_property_api_platform_core_bridge_doctrine_orm_filter_search_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter"
annotated_app_entity_property_api_platform_core_bridge_doctrine_orm_filter_range_filter
"ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\RangeFilter"
annotated_app_entity_property_app_filter_type_mandate_in_biens_filter
"App\Filter\TypeMandateInBiensFilter"
annotated_app_entity_property_app_filter_custom_boolean_filter
"App\Filter\CustomBooleanFilter"
annotated_app_entity_property_app_filter_nullable_property_matching_filter
"App\Filter\NullablePropertyMatchingFilter"
annotated_app_entity_property_app_filter_valid_mandate_additional_property_filter
"App\Filter\ValidMandateAdditionalPropertyFilter"
annotated_app_entity_property_app_filter_number_of_room_filter
"App\Filter\NumberOfRoomFilter"
annotated_app_entity_property_app_filter_recommended_property_filter
"App\Filter\RecommendedPropertyFilter"
Attributes
pagination_client_enabled
true
pagination_items_per_page
10
order
[
  "id" => "DESC"
]
formats
[
  0 => "jsonld"
  1 => "json"
  2 => "html"
  3 => "jsonhal"
  "csv" => [
    "text/csv"
  ]
]
normalization_context
[
  "groups" => [
    "property:read"
  ]
  "swagger_definition_name" => "Read"
]
denormalization_context
[
  "groups" => [
    "property:write"
  ]
  "swagger_definition_name" => "Write"
  "skip_null_values" => true
]
skip_null_values
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" => [
    "property: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\Reference\ReferencePropertyType"
  "request_uri" => "/api/properties/3624"
  "uri" => "https://preprod-api.milkiya.ma/api/properties/3624"
  "skip_null_values" => true
  "api_denormalize" => true
  "_read_attributes" => false
  "cache_key" => "7faa58a8bedd224e1516cb023acade49-referencePropertyType"
  "deserialization_path" => "referencePropertyType"
  "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 FALSE App\DataPersister\MandateDataPersist
5 FALSE App\DataPersister\PrescriberDataPersist
6 TRUE 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