Serializer
2
Handled
12.62 ms
Total time
serialize 1
| Data | Context | Normalizer | Encoder | Time | Caller |
|---|---|---|---|---|---|
|
App\Entity\User
Show contents
App\Entity\User {#1153 -id: 170918 #username: "DTL0009935@mellis.com" -email: "DTL0009935@mellis.com" -roles: [ "ROLE_CUSTOMER" ] -password: "$2y$13$mJ2BkwfWn8WFSjpIn9JoZ.2IbAZd0IKOQtMG1Ln2PjAwaMe2eXooG" -addresses: Doctrine\ORM\PersistentCollection {#1271 …} -orders: Doctrine\ORM\PersistentCollection {#1274 …} -ordersCom: Doctrine\ORM\PersistentCollection {#1276 …} -ordersClient: Doctrine\ORM\PersistentCollection {#1278 …} -orderHistories: Doctrine\ORM\PersistentCollection {#1280 …} -status: null #firstName: "-" #lastName: "Barre/T" -phone: "-" -photo: null -civility: null -latitude: null -longitude: null -equipmentAttributions: Doctrine\ORM\PersistentCollection {#1282 …} -localArea: App\Entity\LocalArea {#1154 …} -sageId: "21476_DTL0009935" -commercialCustomer: null -users: Doctrine\ORM\PersistentCollection {#1284 …} -commercialLocalArea: Doctrine\ORM\PersistentCollection {#1286 …} -created: DateTime @1718644015 {#1166 : 2024-06-17 17:06:55.0 UTC (+00:00) } -updated: DateTime @1718644015 {#1162 : 2024-06-17 17:06:55.0 UTC (+00:00) } } |
Format: json
Show context
[ "groups" => "user:read" ] |
ItemNormalizer (2.80 ms)
Show nested normalizers
|
JsonEncoder (0.01 ms) | 2.92 ms |
deserialize 1
| Data | Context | Normalizer | Encoder | Time | Caller |
|---|---|---|---|---|---|
|
string
Show contents
"{"firstName":"-","lastName":"Barre\/T","email":"DTL0009935@mellis.com","phone":"-","address":"ambatondrara","city":"ALM - S01","zip":"-","localAreaSageId":"3","sageId":"21476_DTL0009935"}"
|
Type: App\Entity\User
Format: json
Show context
[ "operation_name" => "_api_/users_post" "operation" => ApiPlatform\Metadata\Post {#681 #shortName: "User" #class: "App\Entity\User" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: null #denormalizationContext: null #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: [ "class" => "App\DTO\Api\User\UserDTO" "name" => "UserDTO" ] #output: [ "class" => "App\Entity\User" "name" => "User" ] #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: null #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider" #processor: "api_platform.doctrine.orm.state.persist_processor" #stateOptions: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true "user_defined_uri_template" => true ] #paginationViaCursor: null #read: null #deserialize: null #validate: null #write: null #serialize: null #priority: null #name: "_api_/users_post" #method: "POST" #uriTemplate: "/users" #types: null #formats: null #inputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "form" => [ "multipart/form-data" ] ] #outputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "form" => [ "multipart/form-data" ] ] #uriVariables: [] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: null #host: null #schemes: null #condition: null #controller: "App\Controller\Api\User\UserApiController::addUser" #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: [ "summary" => "Create user" "description" => "This operation create user" "parameters" => [ [ "name" => "firstName" "type" => "string" "in" => "query" "required" => true "description" => "First name of user" ] [ "name" => "lastName" "type" => "string" "in" => "query" "required" => true "description" => "Last name of user" ] [ "name" => "email" "type" => "string" "in" => "query" "required" => false "description" => "Email address of user" ] [ "name" => "phone" "type" => "string" "in" => "query" "required" => true "description" => "Phone number of user" ] [ "name" => "address" "type" => "string" "in" => "query" "required" => true "description" => "Address of user" ] [ "name" => "city" "type" => "string" "in" => "query" "required" => true "description" => "City of user" ] [ "name" => "zip" "type" => "string" "in" => "query" "required" => true "description" => "Zip code of user" ] [ "name" => "longitude" "type" => "string" "in" => "query" "required" => false "description" => "Position MAP longitude of user" ] [ "name" => "latitude" "type" => "string" "in" => "query" "required" => false "description" => "Position MAP latitude of user" ] [ "name" => "localArea" "type" => "integer" "in" => "query" "required" => false "description" => "Local area of client" ] [ "name" => "localAreaSageId" "type" => "string" "in" => "query" "required" => false "description" => "Local area SageID of client" ] [ "name" => "sageId" "type" => "string" "in" => "query" "required" => false "description" => "Sage ID of user" ] ] "requestBody" => [ "content" => [ "application/json" => [ "example" => [ "firstName" => "First name of user" "lastName" => "Last name of user" "email" => "Email address of user" "phone" => "Phone number of user" "address" => "Address of user" "city" => "City of user" "zip" => "Zip code od client" "longitude" => "Position MAP longitude of user" "latitude" => "Position MAP latitude of user" "localArea" => "Local area of client" "localAreaSageId" => "Local area SageID of client" "sageId" => "Sage ID of user" ] ] ] ] "responses" => [ 200 => [ "description" => "Successful response" "content" => [ "application/json" => [ "example" => [ "message" => "Successful response" ] ] ] ] ] ] #openapi: null #exceptionToStatus: null #queryParameterValidationEnabled: null #links: null -itemUriTemplate: null } "resource_class" => "App\Entity\User" "skip_null_values" => true "iri_only" => false "request_uri" => "/api/users" "uri" => "https://mellis-command.mypreprod.xyz/api/users" "input" => [ "class" => "App\DTO\Api\User\UserDTO" "name" => "UserDTO" ] "output" => [ "class" => "App\Entity\User" "name" => "User" ] "api_allow_update" => false "exclude_from_cache_key" => [ "root_operation" "operation" ] ] |
ItemNormalizer (9.51 ms) | JsonEncoder (0.02 ms) | 9.70 ms |
normalize 0
Nothing was normalized.
denormalize 0
Nothing was denormalized.
encode 0
Nothing was encoded.
decode 0
Nothing was decoded.