https://preprod-api.milkiya.ma/api/mandates/611

PlaceholderAction

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_api_exception_to_status
[]
_api_has_composite_identifier
false
_api_identifiers
[
  "id"
]
_api_item_operation_name
"put"
_api_normalization_context
[
  "groups" => [
    "mandate:read"
    "siege:put"
  ]
  "operation_type" => "item"
  "item_operation_name" => "put"
  "iri_only" => false
  "input" => null
  "output" => null
  "resource_class" => "App\Entity\Mandate"
  "request_uri" => "/api/mandates/611"
  "uri" => "https://preprod-api.milkiya.ma/api/mandates/611"
  "skip_null_values" => true
  "resources" => ApiPlatform\Serializer\ResourceList {#5149
    storage: [
      "/api/properties/4095" => "/api/properties/4095"
      "/api/cities/649" => "/api/cities/649"
      "/api/neighborhoods/1274" => "/api/neighborhoods/1274"
      "/api/agents/81" => "/api/agents/81"
      "/api/sectors/3272" => "/api/sectors/3272"
      "/api/neighborhoods/1277" => "/api/neighborhoods/1277"
      "/api/managers/73" => "/api/managers/73"
      "/api/contacts/2832" => "/api/contacts/2832"
      "/api/properties/4127" => "/api/properties/4127"
      "/api/cities/747" => "/api/cities/747"
      "/api/contacts/2842" => "/api/contacts/2842"
    ]
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
  "exclude_from_cache_key" => [
    "resources"
    "resources_to_push"
  ]
  "resources_to_push" => ApiPlatform\Serializer\ResourceList {#5135
    storage: []
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
]
_api_operation_name
"api_mandates_put_item"
_api_resource_class
"App\Entity\Mandate"
_api_write_item_iri
"/api/mandates/611"
_controller
"api_platform.action.put_item"
_firewall_context
"security.firewall.map.context.api"
_format
null
_links
Symfony\Component\WebLink\GenericLinkProvider {#7282
  -links: [
    7281 => Symfony\Component\WebLink\Link {#7281
      -href: "https://preprod-api.milkiya.ma/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_resources
[
  "/api/properties/4095" => "/api/properties/4095"
  "/api/cities/649" => "/api/cities/649"
  "/api/neighborhoods/1274" => "/api/neighborhoods/1274"
  "/api/agents/81" => "/api/agents/81"
  "/api/sectors/3272" => "/api/sectors/3272"
  "/api/neighborhoods/1277" => "/api/neighborhoods/1277"
  "/api/managers/73" => "/api/managers/73"
  "/api/contacts/2832" => "/api/contacts/2832"
  "/api/properties/4127" => "/api/properties/4127"
  "/api/cities/747" => "/api/cities/747"
  "/api/contacts/2842" => "/api/contacts/2842"
]
_route
"api_mandates_put_item"
_route_params
[
  "_format" => null
  "_stateless" => null
  "_api_resource_class" => "App\Entity\Mandate"
  "_api_identifiers" => [
    "id"
  ]
  "_api_has_composite_identifier" => false
  "_api_exception_to_status" => []
  "_api_operation_name" => "api_mandates_put_item"
  "_api_item_operation_name" => "put"
  "id" => "611"
]
_stateless
null
_stopwatch_token
"f61ad5"
data
App\Entity\Mandate {#2816
  -id: 611
  -property: Proxies\__CG__\App\Entity\Property {#2962 …}
  -maximumPrice: 722500.0
  -minimalArea: null
  -maximalArea: 85.0
  -referenceMandateType: Proxies\__CG__\App\Entity\Reference\ReferenceMandateType {#2944 …}
  -referenceMandateStatus: Proxies\__CG__\App\Entity\Reference\ReferenceMandateStatus {#2935 …}
  -referencePropertyType: Proxies\__CG__\App\Entity\Reference\ReferencePropertyType {#2924 …}
  -key: "MAVE20230823-473"
  -commission: 18062.5
  -isFreeEntry: false
  -propertyVisitVouchers: Doctrine\ORM\PersistentCollection {#4959 …}
  -transactions: Doctrine\ORM\PersistentCollection {#5035 …}
  -commissionPercent: 2.5
  -duration: 3
  -exclusiveDuration: 6
  -additionalProperties: Doctrine\ORM\PersistentCollection {#5033 …}
  -additionalContacts: Doctrine\ORM\PersistentCollection {#5029 …}
  -isAdditionalProperty: false
  -referenceVat: "NONE"
  -commissionRecommenderPercent: 12.0
  -esign: null
  -createdAt: DateTime @1692741600 {#5040
    date: 2023-08-23 00:00:00.0 Europe/Berlin (+02:00)
  }
  -updatedAt: DateTime @1738710000 {#5045
    date: 2025-02-05 00:00:00.0 Europe/Berlin (+01:00)
  }
}
id
"611"
previous_data
App\Entity\Mandate {#2281
  -id: 611
  -property: Proxies\__CG__\App\Entity\Property {#2962 …}
  -maximumPrice: 722500.0
  -minimalArea: null
  -maximalArea: 85.0
  -referenceMandateType: Proxies\__CG__\App\Entity\Reference\ReferenceMandateType {#2944 …}
  -referenceMandateStatus: Proxies\__CG__\App\Entity\Reference\ReferenceMandateStatus {#2935 …}
  -referencePropertyType: Proxies\__CG__\App\Entity\Reference\ReferencePropertyType {#2924 …}
  -key: "MAVE20230823-473"
  -commission: 18062.5
  -isFreeEntry: false
  -propertyVisitVouchers: Doctrine\ORM\PersistentCollection {#2329 …}
  -transactions: Doctrine\ORM\PersistentCollection {#3120 …}
  -commissionPercent: 2.5
  -duration: 3
  -exclusiveDuration: 6
  -additionalProperties: Doctrine\ORM\PersistentCollection {#3123 …}
  -additionalContacts: Doctrine\ORM\PersistentCollection {#3281 …}
  -isAdditionalProperty: false
  -referenceVat: "NONE"
  -commissionRecommenderPercent: 12.0
  -esign: null
  -createdAt: DateTime @1692741600 {#2779
    date: 2023-08-23 00:00:00.0 Europe/Berlin (+02:00)
  }
  -updatedAt: DateTime @1738710000 {#2778
    date: 2025-02-05 00:00:00.0 Europe/Berlin (+01:00)
  }
}

Request Headers

Header Value
accept-language
"fr"
authorization
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Mzg3NDY2ODYsImV4cCI6MTczODc2MTA4Niwicm9sZXMiOlsiUk9MRV9NQU5BR0VSIl0sInVzZXJuYW1lIjoibWFuYWdlci4yMEBtaWxraXlhLm1hIiwidGVybXNBY2NlcHRlZCI6ZmFsc2UsInVzZXJJZCI6MjAsImZ1bGxOYW1lIjoiS2F3dGFyIEJFTkpFTExPVU4iLCJtYWluUGhvbmUiOiIrMjEyIDIwMDAwMDAwMCJ9.rfGc5QAWPbL6gZhO2v4ZB2Jl7sY-j0DgDFL2T87sPg_OFup5U0-Qm3Dtv5mphoIppyYNVJqLXs904JW4nlA_5mIB8LLBWIaP9H_7e9BMnFR1WZcvwTYKghhCD7JSZFysP8HZ6Fmx6h0NBJUJIHfcVXJR3Np7LxtIr6B7Z0RTURFBiPncnXjwCKdKjs_yJdMibm0ChnHk6NL-Oe23QxHThLF1LxnXQMNTKyh9smlwU_Z3DHnZrChCLVut4m4H6AfA8h5lVHsOh-0yFDWzNPDvUu7cALs9AW-OcLy_-52wCAOtNcJdWDNZrflbHDP5Mqx6NKyyoRk0XL1wn55JUZAIew"
basic-auth-password
"V5z51j*EyVNA"
basic-auth-username
"milkiya_public"
content-length
"265"
content-type
"application/json"
host
"preprod-api.milkiya.ma"
user-agent
"GuzzleHttp/7"
x-php-ob-level
"1"

Request Content

Pretty

{
    "commission": 2.5,
    "isFreeEntry": false,
    "commissionPercent": 2.5,
    "duration": 3,
    "exclusiveDuration": 6,
    "referenceVat": "NONE",
    "commissionRecommenderPercent": 12,
    "referenceMandateStatus": 46,
    "referenceMandateType": 12,
    "additionalProperties": [
        4127
    ],
    "additionalContacts": [
        2842
    ]
}

Raw

{"commission":2.5,"isFreeEntry":false,"commissionPercent":2.5,"duration":3,"exclusiveDuration":6,"referenceVat":"NONE","commissionRecommenderPercent":12,"referenceMandateStatus":46,"referenceMandateType":12,"additionalProperties":[4127],"additionalContacts":[2842]}

Response

Response Headers

Header Value
accept-patch
"application/merge-patch+json"
cache-control
"no-cache, private"
content-location
"/api/mandates/611"
content-type
"application/ld+json; charset=utf-8"
date
"Wed, 05 Feb 2025 09:21:18 GMT"
link
"<https://preprod-api.milkiya.ma/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
vary
"Accept"
x-content-type-options
"nosniff"
x-debug-token
"f2315f"
x-frame-options
"deny"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
API_BASE_URL
"preprod-api.milkiya.ma"
API_PASSWORD
"6oo343GEOwi4Z"
API_SCHEME
"https"
API_USERNAME
"lretest@milkiya.ma"
APP_ENV
"dev"
APP_SECRET
"8188730c8f9fc4634926f07b5e94d899"
ASSET_VERSION
"v2"
CC_MANAGER_EMAIL
"gestion@milkiya.ma"
CC_MANDATE_EMAIL
"mandats@milkiya.ma"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"postgresql://user_preprod_milkiya_intranet:_764@Hiit@hiitco-postgresql-vip:5432/preprod_db_property_management?serverVersion=13&charset=utf8"
EXTERNAL_API_BASE_URL
"https://test.lre.ma/api"
GATEWAY_AUTH
"milkiya_gateway"
GATEWAY_PWD
"#Xv-7a@lKQPcx$1_W"
HTTP_BASIC_AUTH_PASSWORD
"V5z51j*EyVNA"
HTTP_BASIC_AUTH_USERNAME
"milkiya_public"
JWT_PASSPHRASE
"1e7da0ca4642ab63f799b4fd4a15a9c1"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
JWT_TTL
"14400"
MAILER_DSN
"smtp://mailtrap:HiitCo2021@localhost:1025?encryption=&auth_mode="
MESSENGER_TRANSPORT_DSN
"amqp://admin:8!dskZ624rEB@hiitco-rmq-preprod"
MILKIYA_TWIG_URL
"https://preprod-app.milkiya.ma/"
NG_PROPERTY_MANAGEMENT_URL
"http://intranet.milkiya.localhost/angular/"
SUBSCRIPTION_BASE_URL
"http://localhost:8001"
WKHTMLTOIMAGE_PATH
"/usr/local/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"/usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"265"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/vhostsPreprod/web.milkiya.ma/releases/20250108133004Z/backend/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT_LANGUAGE
"fr"
HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3Mzg3NDY2ODYsImV4cCI6MTczODc2MTA4Niwicm9sZXMiOlsiUk9MRV9NQU5BR0VSIl0sInVzZXJuYW1lIjoibWFuYWdlci4yMEBtaWxraXlhLm1hIiwidGVybXNBY2NlcHRlZCI6ZmFsc2UsInVzZXJJZCI6MjAsImZ1bGxOYW1lIjoiS2F3dGFyIEJFTkpFTExPVU4iLCJtYWluUGhvbmUiOiIrMjEyIDIwMDAwMDAwMCJ9.rfGc5QAWPbL6gZhO2v4ZB2Jl7sY-j0DgDFL2T87sPg_OFup5U0-Qm3Dtv5mphoIppyYNVJqLXs904JW4nlA_5mIB8LLBWIaP9H_7e9BMnFR1WZcvwTYKghhCD7JSZFysP8HZ6Fmx6h0NBJUJIHfcVXJR3Np7LxtIr6B7Z0RTURFBiPncnXjwCKdKjs_yJdMibm0ChnHk6NL-Oe23QxHThLF1LxnXQMNTKyh9smlwU_Z3DHnZrChCLVut4m4H6AfA8h5lVHsOh-0yFDWzNPDvUu7cALs9AW-OcLy_-52wCAOtNcJdWDNZrflbHDP5Mqx6NKyyoRk0XL1wn55JUZAIew"
HTTP_CONTENT_LENGTH
"265"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"preprod-api.milkiya.ma"
HTTP_USER_AGENT
"GuzzleHttp/7"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"163.172.54.100"
REMOTE_PORT
"41990"
REQUEST_METHOD
"PUT"
REQUEST_SCHEME
"https"
REQUEST_TIME
1738747278
REQUEST_TIME_FLOAT
1738747278.0103
REQUEST_URI
"/api/mandates/611"
SCRIPT_FILENAME
"/var/www/vhostsPreprod/web.milkiya.ma/releases/20250108133004Z/backend/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"163.172.54.100"
SERVER_NAME
"preprod-api.milkiya.ma"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.14.2"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TTL,MAILER_DSN,MESSENGER_TRANSPORT_DSN,MILKIYA_TWIG_URL,NG_PROPERTY_MANAGEMENT_URL,API_BASE_URL,API_SCHEME,ASSET_VERSION,CC_MANDATE_EMAIL,CC_MANAGER_EMAIL,HTTP_BASIC_AUTH_USERNAME,HTTP_BASIC_AUTH_PASSWORD,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,GATEWAY_AUTH,GATEWAY_PWD,SUBSCRIPTION_BASE_URL,EXTERNAL_API_BASE_URL,API_USERNAME,API_PASSWORD"
USER
"www-data"