BODY
'{"input":{"codiceRamo":[],"oraAccadimento":[],"dataAvvenimento":"2019-11-19T
   00:00:00.000Z","numPolizza":0,"targa":"","numApplicazione":1,"codiceOmologaz
   ione":"","codiceGaranzia":"","idAzienda":1,"codicePersona":null}}
' (217 chars)
URL
'https://www.agenzie.sara.it/api_plus/verificacopertura' (54 chars)
HTTP REQUEST
HTTP_Request2prototypeobject
   _fileinfoDb => NULL
   observers => array(empty)
   url => Net_URL2prototypeobject
      _options => array(6 items)
         strict => TRUE
         use_brackets => TRUE
         drop_sequence => TRUE
         encode_keys => TRUE
         input_separator => '&' (1 chars)
         output_separator => '&' (1 chars)
      _scheme => 'https' (5 chars)
      _userinfo => FALSE
      _host => 'www.agenzie.sara.it' (19 chars)
      _port => FALSE
      _path => '/api_plus/verificacopertura' (27 chars)
      _query => FALSE
      _fragment => FALSE
   method => 'POST' (4 chars)
   auth => NULL
   headers => array(3 items)
      user-agent => 'HTTP_Request2/@package_version@ (http://pear.php.net/package/http_request2) 
         PHP/7.0.19
' (86 chars) accept => 'application/json' (16 chars) content-type => 'application/json' (16 chars)
config => array(24 items) adapter => 'HTTP_Request2_Adapter_Socket' (28 chars) connect_timeout => 10 (integer) timeout => 0 (integer) use_brackets => TRUE protocol_version => '1.1' (3 chars) buffer_size => 16384 (integer) store_body => TRUE local_ip => NULL proxy_host => '' (0 chars) proxy_port => '' (0 chars) proxy_user => '' (0 chars) proxy_password => '' (0 chars) proxy_auth_scheme => 'basic' (5 chars) proxy_type => 'http' (4 chars) ssl_verify_peer => FALSE ssl_verify_host => FALSE ssl_cafile => NULL ssl_capath => NULL ssl_local_cert => NULL ssl_passphrase => NULL digest_compat_ie => FALSE follow_redirects => FALSE max_redirects => 5 (integer) strict_redirects => FALSE lastEvent => array(2 items) name => 'receivedBody' (12 chars) data => HTTP_Request2_Responseprototypeobject version => '1.1' (3 chars) code => 500 (integer) reasonPhrase => 'Internal Server Error' (21 chars) effectiveUrl => 'https://www.agenzie.sara.it/api_plus/verificacopertura' (54 chars) headers => array(8 items) content-length => '672' (3 chars) content-type => 'text/plain' (10 chars) date => 'Tue, 19 Nov 2019 00:16:52 GMT' (29 chars) p3p => 'CP="NON CUR OTPi OUR NOR UNI"' (29 chars) x-frame-options => 'SAMEORIGIN' (10 chars) x-xss-protection => '1; mode=block' (13 chars) access-control-allow-origin => '*' (1 chars) strict-transport-security => 'max-age=3600; includeSubDomains' (31 chars) cookies => array(empty) lastHeader => 'strict-transport-security' (25 chars) body => '{http://schemas.tibco.com/bw/plugins/xml/5.0/JSONActivitiesExceptions}JSONPa
            rserException: com.tibco.bx.core.faults.BxException: An error occurred while
             converting json to xml: Target element 'codicePersona' is not nillable, bu
            t input member/item in JSON has value 'null'.-{ActivityName=ParseJSONVerific
            aCopertura, ProcessName=com.api.sara.plus.VerificaCopertura, ModuleName=com.
            api.sara.plus} Caused by: An error occurred while converting json to xml: T
            arget element 'codicePersona' is not nillable, but input member/item in JSON
             has value 'null'.-{ActivityName=ParseJSONVerificaCopertura, ProcessName=com
            .api.sara.plus.VerificaCopertura, ModuleName=com.api.sara.plus}
' (672 chars) bodyEncoded => TRUE phrases => array(41 items) 100 => 'Continue' (8 chars) 101 => 'Switching Protocols' (19 chars) 200 => 'OK' (2 chars) 201 => 'Created' (7 chars) 202 => 'Accepted' (8 chars) 203 => 'Non-Authoritative Information' (29 chars) 204 => 'No Content' (10 chars) 205 => 'Reset Content' (13 chars) 206 => 'Partial Content' (15 chars) 300 => 'Multiple Choices' (16 chars) 301 => 'Moved Permanently' (17 chars) 302 => 'Found' (5 chars) 303 => 'See Other' (9 chars) 304 => 'Not Modified' (12 chars) 305 => 'Use Proxy' (9 chars) 307 => 'Temporary Redirect' (18 chars) 400 => 'Bad Request' (11 chars) 401 => 'Unauthorized' (12 chars) 402 => 'Payment Required' (16 chars) 403 => 'Forbidden' (9 chars) 404 => 'Not Found' (9 chars) 405 => 'Method Not Allowed' (18 chars) 406 => 'Not Acceptable' (14 chars) 407 => 'Proxy Authentication Required' (29 chars) 408 => 'Request Timeout' (15 chars) 409 => 'Conflict' (8 chars) 410 => 'Gone' (4 chars) 411 => 'Length Required' (15 chars) 412 => 'Precondition Failed' (19 chars) 413 => 'Request Entity Too Large' (24 chars) 414 => 'Request-URI Too Long' (20 chars) 415 => 'Unsupported Media Type' (22 chars) 416 => 'Requested Range Not Satisfiable' (31 chars) 417 => 'Expectation Failed' (18 chars) 500 => 'Internal Server Error' (21 chars) 501 => 'Not Implemented' (15 chars) 502 => 'Bad Gateway' (11 chars) 503 => 'Service Unavailable' (19 chars) 504 => 'Gateway Timeout' (15 chars) 505 => 'HTTP Version Not Supported' (26 chars) 509 => 'Bandwidth Limit Exceeded' (24 chars)
body => '{"input":{"codiceRamo":[],"oraAccadimento":[],"dataAvvenimento":"2019-11-19T
      00:00:00.000Z","numPolizza":0,"targa":"","numApplicazione":1,"codiceOmologaz
      ione":"","codiceGaranzia":"","idAzienda":1,"codicePersona":null}}
' (217 chars) postParams => array(empty) uploads => array(empty) adapter => HTTP_Request2_Adapter_Socketprototypeobject sockets => array(1 item) tls://www.agenzie.sara.it:443:a:1:{s:3:"ssl";a:3:{s:9:"peer_name";s:19:"www.agenzie.sara.it";s:11:"verify_peer";b:0;s:16:"verify_peer_name";b:0;}} => HTTP_Request2_SocketWrapperprototypeobject connectionWarnings => array(empty) socket => resource deadline => NULL timeout => 0 (integer) challenges => array(empty) socket => HTTP_Request2_SocketWrapperprototypeobjectsee above serverChallenge => NULL proxyChallenge => NULL chunkLength => 0 (integer) redirectCountdown => NULL expect100Continue => FALSE bodyDisallowed => array(1 item) 0 => 'TRACE' (5 chars) bodyRequired => array(2 items) 0 => 'POST' (4 chars) 1 => 'PUT' (3 chars) request => NULL requestBody => NULL contentLength => 217 (integer) cookieJar => NULL
HTTP RESULT
HTTP_Request2_Responseprototypeobject
   version => '1.1' (3 chars)
   code => 500 (integer)
   reasonPhrase => 'Internal Server Error' (21 chars)
   effectiveUrl => 'https://www.agenzie.sara.it/api_plus/verificacopertura' (54 chars)
   headers => array(8 items)
      content-length => '672' (3 chars)
      content-type => 'text/plain' (10 chars)
      date => 'Tue, 19 Nov 2019 00:16:52 GMT' (29 chars)
      p3p => 'CP="NON CUR OTPi OUR NOR UNI"' (29 chars)
      x-frame-options => 'SAMEORIGIN' (10 chars)
      x-xss-protection => '1; mode=block' (13 chars)
      access-control-allow-origin => '*' (1 chars)
      strict-transport-security => 'max-age=3600; includeSubDomains' (31 chars)
   cookies => array(empty)
   lastHeader => 'strict-transport-security' (25 chars)
   body => '{http://schemas.tibco.com/bw/plugins/xml/5.0/JSONActivitiesExceptions}JSONPa
      rserException: com.tibco.bx.core.faults.BxException: An error occurred while
       converting json to xml: Target element 'codicePersona' is not nillable, bu
      t input member/item in JSON has value 'null'.-{ActivityName=ParseJSONVerific
      aCopertura, ProcessName=com.api.sara.plus.VerificaCopertura, ModuleName=com.
      api.sara.plus} Caused by: An error occurred while converting json to xml: T
      arget element 'codicePersona' is not nillable, but input member/item in JSON
       has value 'null'.-{ActivityName=ParseJSONVerificaCopertura, ProcessName=com
      .api.sara.plus.VerificaCopertura, ModuleName=com.api.sara.plus}
' (672 chars) bodyEncoded => TRUE phrases => array(41 items) 100 => 'Continue' (8 chars) 101 => 'Switching Protocols' (19 chars) 200 => 'OK' (2 chars) 201 => 'Created' (7 chars) 202 => 'Accepted' (8 chars) 203 => 'Non-Authoritative Information' (29 chars) 204 => 'No Content' (10 chars) 205 => 'Reset Content' (13 chars) 206 => 'Partial Content' (15 chars) 300 => 'Multiple Choices' (16 chars) 301 => 'Moved Permanently' (17 chars) 302 => 'Found' (5 chars) 303 => 'See Other' (9 chars) 304 => 'Not Modified' (12 chars) 305 => 'Use Proxy' (9 chars) 307 => 'Temporary Redirect' (18 chars) 400 => 'Bad Request' (11 chars) 401 => 'Unauthorized' (12 chars) 402 => 'Payment Required' (16 chars) 403 => 'Forbidden' (9 chars) 404 => 'Not Found' (9 chars) 405 => 'Method Not Allowed' (18 chars) 406 => 'Not Acceptable' (14 chars) 407 => 'Proxy Authentication Required' (29 chars) 408 => 'Request Timeout' (15 chars) 409 => 'Conflict' (8 chars) 410 => 'Gone' (4 chars) 411 => 'Length Required' (15 chars) 412 => 'Precondition Failed' (19 chars) 413 => 'Request Entity Too Large' (24 chars) 414 => 'Request-URI Too Long' (20 chars) 415 => 'Unsupported Media Type' (22 chars) 416 => 'Requested Range Not Satisfiable' (31 chars) 417 => 'Expectation Failed' (18 chars) 500 => 'Internal Server Error' (21 chars) 501 => 'Not Implemented' (15 chars) 502 => 'Bad Gateway' (11 chars) 503 => 'Service Unavailable' (19 chars) 504 => 'Gateway Timeout' (15 chars) 505 => 'HTTP Version Not Supported' (26 chars) 509 => 'Bandwidth Limit Exceeded' (24 chars)
Extbase Variable Dump
array(6 items)
   status => 'NOK' (3 chars)
   code => 500 (integer)
   messaggio => array(41 items)
      100 => 'Continue' (8 chars)
      101 => 'Switching Protocols' (19 chars)
      200 => 'OK' (2 chars)
      201 => 'Created' (7 chars)
      202 => 'Accepted' (8 chars)
      203 => 'Non-Authoritative Information' (29 chars)
      204 => 'No Content' (10 chars)
      205 => 'Reset Content' (13 chars)
      206 => 'Partial Content' (15 chars)
      300 => 'Multiple Choices' (16 chars)
      301 => 'Moved Permanently' (17 chars)
      302 => 'Found' (5 chars)
      303 => 'See Other' (9 chars)
      304 => 'Not Modified' (12 chars)
      305 => 'Use Proxy' (9 chars)
      307 => 'Temporary Redirect' (18 chars)
      400 => 'Bad Request' (11 chars)
      401 => 'Unauthorized' (12 chars)
      402 => 'Payment Required' (16 chars)
      403 => 'Forbidden' (9 chars)
      404 => 'Not Found' (9 chars)
      405 => 'Method Not Allowed' (18 chars)
      406 => 'Not Acceptable' (14 chars)
      407 => 'Proxy Authentication Required' (29 chars)
      408 => 'Request Timeout' (15 chars)
      409 => 'Conflict' (8 chars)
      410 => 'Gone' (4 chars)
      411 => 'Length Required' (15 chars)
      412 => 'Precondition Failed' (19 chars)
      413 => 'Request Entity Too Large' (24 chars)
      414 => 'Request-URI Too Long' (20 chars)
      415 => 'Unsupported Media Type' (22 chars)
      416 => 'Requested Range Not Satisfiable' (31 chars)
      417 => 'Expectation Failed' (18 chars)
      500 => 'Internal Server Error' (21 chars)
      501 => 'Not Implemented' (15 chars)
      502 => 'Bad Gateway' (11 chars)
      503 => 'Service Unavailable' (19 chars)
      504 => 'Gateway Timeout' (15 chars)
      505 => 'HTTP Version Not Supported' (26 chars)
      509 => 'Bandwidth Limit Exceeded' (24 chars)
   additional => 'Internal Server Error' (21 chars)
   request => array(1 item)
      input => array(10 items)
         codiceRamo => array(empty)
         oraAccadimento => array(empty)
         dataAvvenimento => '2019-11-19T00:00:00.000Z' (24 chars)
         numPolizza => 0 (integer)
         targa => '' (0 chars)
         numApplicazione => 1 (integer)
         codiceOmologazione => '' (0 chars)
         codiceGaranzia => '' (0 chars)
         idAzienda => 1 (integer)
         codicePersona => NULL
   service => 'https://www.agenzie.sara.it/api_plus/verificacopertura' (54 chars)
Verifica Copertura



Verifica copertura

Contratto attivo