POST https://tidy.alfredocruz.cl/webhook/salesforce/licencia

HTTP Client

2 Total requests
0 HTTP errors

Clients

http_client 2

Requests

POST https://login.salesforce.com/services/oauth2/token
Request options
[
  "body" => [
    "grant_type" => "password"
    "client_id" => "3MVG9xOCXq4ID1uFBiZy1JvNBs1Ha8SGBwUsLxK8L5cLiMn6Pnhy2DOwOfRKea_Uo7EPHFOaMxeF3ySnowo27"
    "client_secret" => "EAFE62991F4174058628A2856B274468C0680F2861399D7EF20EDF987F36982A"
    "username" => "bot@alfredocruz.cl"
    "password" => "Ba090120DWB0jxehCsMvK3ovmqaTvgcf7"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 791
    "request_size" => 480
    "total_time" => 0.953357
    "namelookup_time" => 0.002867
    "connect_time" => 0.082673
    "pretransfer_time" => 0.164963
    "size_upload" => 267.0
    "size_download" => 301.0
    "speed_download" => 315.0
    "speed_upload" => 280.0
    "upload_content_length" => 267.0
    "starttransfer_time" => 0.951646
    "primary_ip" => "136.146.22.213"
    "primary_port" => 443
    "local_ip" => "172.18.0.3"
    "local_port" => 41106
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "appconnect_time_us" => 164838
    "connect_time_us" => 82673
    "namelookup_time_us" => 2867
    "pretransfer_time_us" => 164963
    "starttransfer_time_us" => 951646
    "posttransfer_time_us" => 164958
    "total_time_us" => 953357
    "effective_method" => "POST"
    "capath" => "/etc/ssl/certs"
    "cainfo" => "/etc/ssl/certs/ca-certificates.crt"
    "start_time" => 1782163087.0066
    "original_url" => "https://login.salesforce.com/services/oauth2/token"
    "pause_handler" => Closure(float $duration) {#557
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#561 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#589 …}
        $execCounter: -9223372036854775808
      }
    }
    "debug" => """
      * Host login.salesforce.com:443 was resolved.\n
      * IPv6: (none)\n
      * IPv4: 136.146.22.213, 136.146.21.213, 136.146.24.213, 136.146.23.213\n
      *   Trying 136.146.22.213:443...\n
      * ALPN: curl offers h2,http/1.1\n
      *  CAfile: /etc/ssl/certs/ca-certificates.crt\n
      *  CApath: /etc/ssl/certs\n
      * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / RSASSA-PSS\n
      * ALPN: server did not agree on a protocol. Uses default.\n
      * Server certificate:\n
      *  subject: C=US; ST=California; L=San Francisco; O=Salesforce, Inc.; CN=ia6.login.salesforce.com\n
      *  start date: Feb 26 00:00:00 2026 GMT\n
      *  expire date: Sep 12 23:59:59 2026 GMT\n
      *  subjectAltName: host "login.salesforce.com" matched cert's "login.salesforce.com"\n
      *  issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1\n
      *  SSL certificate verify ok.\n
      *   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption\n
      *   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption\n
      *   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption\n
      * Connected to login.salesforce.com (136.146.22.213) port 443\n
      * using HTTP/1.x\n
      > POST /services/oauth2/token HTTP/1.1\r\n
      Host: login.salesforce.com\r\n
      Accept: */*\r\n
      Content-Type: application/x-www-form-urlencoded\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      Content-Length: 267\r\n
      \r\n
      * upload completely sent off: 267 bytes\n
      < HTTP/1.1 200 OK\r\n
      < Date: Mon, 22 Jun 2026 21:18:07 GMT\r\n
      < Vary: Accept-Encoding\r\n
      * Added cookie CookieConsentPolicy="0:0" for domain login.salesforce.com, path /, expire 1813699087\n
      < Set-Cookie: CookieConsentPolicy=0:0; path=/; expires=Tue, 22-Jun-2027 21:18:07 GMT; Max-Age=31536000; secure\r\n
      * Added cookie LSKey-c$CookieConsentPolicy="0:0" for domain login.salesforce.com, path /, expire 1813699087\n
      < Set-Cookie: LSKey-c$CookieConsentPolicy=0:0; path=/; expires=Tue, 22-Jun-2027 21:18:07 GMT; Max-Age=31536000; secure\r\n
      < X-Content-Type-Options: nosniff\r\n
      < Strict-Transport-Security: max-age=63072000; includeSubDomains\r\n
      < Cache-Control: no-cache,must-revalidate,max-age=0,no-store,private\r\n
      * Added cookie BrowserId="3PT5g25_EfGbR5msBLv0TQ" for domain salesforce.com, path /, expire 1813699087\n
      < Set-Cookie: BrowserId=3PT5g25_EfGbR5msBLv0TQ; domain=.salesforce.com; path=/; expires=Tue, 22-Jun-2027 21:18:07 GMT; Max-Age=31536000; secure; SameSite=None\r\n
      < Expires: Thu, 01 Jan 1970 00:00:00 GMT\r\n
      < X-ReadOnlyMode: false\r\n
      < Content-Type: application/json;charset=UTF-8\r\n
      < Content-Encoding: gzip\r\n
      < Transfer-Encoding: chunked\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Date: Mon, 22 Jun 2026 21:18:07 GMT"
    "Vary: Accept-Encoding"
    "Set-Cookie: CookieConsentPolicy=0:0; path=/; expires=Tue, 22-Jun-2027 21:18:07 GMT; Max-Age=31536000; secure"
    "Set-Cookie: LSKey-c$CookieConsentPolicy=0:0; path=/; expires=Tue, 22-Jun-2027 21:18:07 GMT; Max-Age=31536000; secure"
    "X-Content-Type-Options: nosniff"
    "Strict-Transport-Security: max-age=63072000; includeSubDomains"
    "Cache-Control: no-cache,must-revalidate,max-age=0,no-store,private"
    "Set-Cookie: BrowserId=3PT5g25_EfGbR5msBLv0TQ; domain=.salesforce.com; path=/; expires=Tue, 22-Jun-2027 21:18:07 GMT; Max-Age=31536000; secure; SameSite=None"
    "Expires: Thu, 01 Jan 1970 00:00:00 GMT"
    "X-ReadOnlyMode: false"
    "Content-Type: application/json;charset=UTF-8"
    "Content-Encoding: gzip"
    "Transfer-Encoding: chunked"
  ]
  "response_json" => [
    "access_token" => "00Do0000000eDgQ!AQEAQAAwqihRN34VB6IJilaXIR62J5luKcFPcP.0xwRUq_Zrg9VCqFw4dOVd17sfS0dSkD.EHvy3yfvXAnqR7uLkgf_OxUCN"
    "instance_url" => "https://acyc.my.salesforce.com"
    "id" => "https://login.salesforce.com/id/00Do0000000eDgQEAU/0051J000007T5N7QAK"
    "token_type" => "Bearer"
    "issued_at" => "1782163087917"
    "signature" => "TDyw2q7rLVnLIxiOrar5U+fwib4Kw/zvYV3XFTXHEsI="
  ]
]
GET https://acyc.my.salesforce.com/services/data/v62.0/query
Request options
[
  "query" => [
    "q" => """
      SELECT Id, Name, Estado_Licencia__c, Tipo_de_LM__c,\n
                          Fecha_Inicio_LM__c, Fecha_T_rmino_LM__c, Num_dias_autorizado__c,\n
                          Nombre_del_M_dico__c, Rut_del_M_dico__c, Instituci_n_de_Salud_LM__c,\n
                          Causa_del_rechazo__c, Empresa__c, Rut_Empresa__c, ID_Trabajador__c,\n
                          Fecha_de_Tramitaci_n__c, Fecha_de_emision__c,\n
                          Tipo_de_Reposo__c, Estado_IMED__c, Estado_Final_LM__c, Formato_de_Licencia__c,\n
                          Entidad_que_se_pronuncia__c, Fecha_Resoluci_n__c, Numero_Resolucion__c,\n
                          Derecho_Subsidio__c, Observaci_n_Rechazo__c,\n
                          Direcci_n_Reposo__c, Lugar_de_Reposo__c, Comuna_de_Reposo__c,\n
                          Nombre_Jefatura__c, Email_Jefatura__c, Email_Trabajador_LM1__c,\n
                          Sindicato_Trabajador__c, Grupo_Sindicato__c, CENCOS__c,\n
                          ID_Interno_Trabajador__c, Divisi_n__c, Rol_Trabajador__c,\n
                          Especialidad_del_M_dico__c, Direcci_n_del_M_dico__c, Comuna_del_M_dico_imed__c,\n
                          Tel_fono_LM__c, LM_Continua__c,\n
                          Suma_de_Dias_pagados__c, Suma_de_Montos_Pagados__c,\n
                          Nombre_Trabajador__r.Name,\n
                          Nombre_Trabajador__r.Rut_Trabajador__c\n
                   FROM Licencias_M_dicas__c\n
                   WHERE Id = 'a10Nx00002bKnXkIAK'\n
                   LIMIT 1
      """
  ]
  "headers" => [
    "Authorization" => "Bearer 00Do0000000eDgQ!AQEAQAAwqihRN34VB6IJilaXIR62J5luKcFPcP.0xwRUq_Zrg9VCqFw4dOVd17sfS0dSkD.EHvy3yfvXAnqR7uLkgf_OxUCN"
    "Content-Type" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 902
    "request_size" => 2629
    "total_time" => 0.109792
    "namelookup_time" => 0.002142
    "connect_time" => 0.003645
    "pretransfer_time" => 0.014548
    "size_download" => 935.0
    "speed_download" => 8516.0
    "starttransfer_time" => 0.107414
    "primary_ip" => "34.211.108.45"
    "primary_port" => 443
    "local_ip" => "172.18.0.3"
    "local_port" => 55118
    "http_version" => 3
    "protocol" => 2
    "scheme" => "https"
    "appconnect_time_us" => 14369
    "connect_time_us" => 3645
    "namelookup_time_us" => 2142
    "pretransfer_time_us" => 14548
    "starttransfer_time_us" => 107414
    "posttransfer_time_us" => 14599
    "total_time_us" => 109792
    "effective_method" => "GET"
    "capath" => "/etc/ssl/certs"
    "cainfo" => "/etc/ssl/certs/ca-certificates.crt"
    "start_time" => 1782163087.9605
    "original_url" => "https://acyc.my.salesforce.com/services/data/v62.0/query?q=SELECT%20Id%2C%20Name%2C%20Estado_Licencia__c%2C%20Tipo_de_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_Inicio_LM__c%2C%20Fecha_T_rmino_LM__c%2C%20Num_dias_autorizado__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_del_M_dico__c%2C%20Rut_del_M_dico__c%2C%20Instituci_n_de_Salud_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Causa_del_rechazo__c%2C%20Empresa__c%2C%20Rut_Empresa__c%2C%20ID_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_de_Tramitaci_n__c%2C%20Fecha_de_emision__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tipo_de_Reposo__c%2C%20Estado_IMED__c%2C%20Estado_Final_LM__c%2C%20Formato_de_Licencia__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Entidad_que_se_pronuncia__c%2C%20Fecha_Resoluci_n__c%2C%20Numero_Resolucion__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Derecho_Subsidio__c%2C%20Observaci_n_Rechazo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Direcci_n_Reposo__c%2C%20Lugar_de_Reposo__c%2C%20Comuna_de_Reposo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Jefatura__c%2C%20Email_Jefatura__c%2C%20Email_Trabajador_LM1__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Sindicato_Trabajador__c%2C%20Grupo_Sindicato__c%2C%20CENCOS__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ID_Interno_Trabajador__c%2C%20Divisi_n__c%2C%20Rol_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Especialidad_del_M_dico__c%2C%20Direcci_n_del_M_dico__c%2C%20Comuna_del_M_dico_imed__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tel_fono_LM__c%2C%20LM_Continua__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Suma_de_Dias_pagados__c%2C%20Suma_de_Montos_Pagados__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Trabajador__r.Name%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Trabajador__r.Rut_Trabajador__c%0A%20%20%20%20%20%20%20%20%20%20%20%20%20FROM%20Licencias_M_dicas__c%0A%20%20%20%20%20%20%20%20%20%20%20%20%20WHERE%20Id%20%3D%20%27a10Nx00002bKnXkIAK%27%0A%20%20%20%20%20%20%20%20%20%20%20%20%20LIMIT%201"
    "pause_handler" => Closure(float $duration) {#538
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#550 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#589 …}
        $execCounter: -9223372036854775798
      }
    }
    "debug" => """
      * Host acyc.my.salesforce.com:443 was resolved.\n
      * IPv6: (none)\n
      * IPv4: 34.211.108.45, 34.211.108.47, 34.211.108.46\n
      *   Trying 34.211.108.45:443...\n
      * ALPN: curl offers h2,http/1.1\n
      *  CAfile: /etc/ssl/certs/ca-certificates.crt\n
      *  CApath: /etc/ssl/certs\n
      * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / RSASSA-PSS\n
      * ALPN: server accepted h2\n
      * Server certificate:\n
      *  subject: C=US; ST=California; L=San Francisco; O=Salesforce, Inc.; CN=sfdc-lywfpd.edge.my.salesforce.com\n
      *  start date: Feb 25 00:00:00 2026 GMT\n
      *  expire date: Sep 11 23:59:59 2026 GMT\n
      *  subjectAltName: host "acyc.my.salesforce.com" matched cert's "*.my.salesforce.com"\n
      *  issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1\n
      *  SSL certificate verify ok.\n
      *   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption\n
      *   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption\n
      *   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption\n
      * Connected to acyc.my.salesforce.com (34.211.108.45) port 443\n
      * using HTTP/2\n
      * [HTTP/2] [1] OPENED stream for https://acyc.my.salesforce.com/services/data/v62.0/query?q=SELECT%20Id%2C%20Name%2C%20Estado_Licencia__c%2C%20Tipo_de_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_Inicio_LM__c%2C%20Fecha_T_rmino_LM__c%2C%20Num_dias_autorizado__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_del_M_dico__c%2C%20Rut_del_M_dico__c%2C%20Instituci_n_de_Salud_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Causa_del_rechazo__c%2C%20Empresa__c%2C%20Rut_Empresa__c%2C%20ID_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_de_Tramitaci_n__c%2C%20Fecha_de_emision__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tipo_de_Reposo__c%2C%20Estado_IMED__c%2C%20Estado_Final_LM__c%2C%20Formato_de_Licencia__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Entidad_que_se_pronuncia__c%2C%20Fecha_Resoluci_n__c%2C%20Numero_Resolucion__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Derecho_Subsidio__c%2C%20Observaci_n_Rechazo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Direcci_n_Reposo__c%2C%20Lugar_de_Reposo__c%2C%20Comuna_de_Reposo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Jefatura__c%2C%20Email_Jefatura__c%2C%20Email_Trabajador_LM1__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Sindicato_Trabajador__c%2C%20Grupo_Sindicato__c%2C%20CENCOS__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ID_Interno_Trabajador__c%2C%20Divisi_n__c%2C%20Rol_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Especialidad_del_M_dico__c%2C%20Direcci_n_del_M_dico__c%2C%20Comuna_del_M_dico_imed__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tel_fono_LM__c%2C%20LM_Continua__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Suma_de_Dias_pagados__c%2C%20Suma_de_Montos_Pagados__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%2...\n
      * [HTTP/2] [1] [:method: GET]\n
      * [HTTP/2] [1] [:scheme: https]\n
      * [HTTP/2] [1] [:authority: acyc.my.salesforce.com]\n
      * [HTTP/2] [1] [:path: /services/data/v62.0/query?q=SELECT%20Id%2C%20Name%2C%20Estado_Licencia__c%2C%20Tipo_de_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_Inicio_LM__c%2C%20Fecha_T_rmino_LM__c%2C%20Num_dias_autorizado__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_del_M_dico__c%2C%20Rut_del_M_dico__c%2C%20Instituci_n_de_Salud_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Causa_del_rechazo__c%2C%20Empresa__c%2C%20Rut_Empresa__c%2C%20ID_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_de_Tramitaci_n__c%2C%20Fecha_de_emision__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tipo_de_Reposo__c%2C%20Estado_IMED__c%2C%20Estado_Final_LM__c%2C%20Formato_de_Licencia__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Entidad_que_se_pronuncia__c%2C%20Fecha_Resoluci_n__c%2C%20Numero_Resolucion__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Derecho_Subsidio__c%2C%20Observaci_n_Rechazo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Direcci_n_Reposo__c%2C%20Lugar_de_Reposo__c%2C%20Comuna_de_Reposo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Jefatura__c%2C%20Email_Jefatura__c%2C%20Email_Trabajador_LM1__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Sindicato_Trabajador__c%2C%20Grupo_Sindicato__c%2C%20CENCOS__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ID_Interno_Trabajador__c%2C%20Divisi_n__c%2C%20Rol_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Especialidad_del_M_dico__c%2C%20Direcci_n_del_M_dico__c%2C%20Comuna_del_M_dico_imed__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tel_fono_LM__c%2C%20LM_Continua__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Suma_de_Dias_pagados__c%2C%20Suma_de_Montos_Pagados__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Trabajad...\n
      * [HTTP/2] [1] [authorization: Bearer 00Do0000000eDgQ!AQEAQAAwqihRN34VB6IJilaXIR62J5luKcFPcP.0xwRUq_Zrg9VCqFw4dOVd17sfS0dSkD.EHvy3yfvXAnqR7uLkgf_OxUCN]\n
      * [HTTP/2] [1] [content-type: application/json]\n
      * [HTTP/2] [1] [accept: */*]\n
      * [HTTP/2] [1] [user-agent: Symfony HttpClient (Curl)]\n
      * [HTTP/2] [1] [accept-encoding: gzip]\n
      > GET /services/data/v62.0/query?q=SELECT%20Id%2C%20Name%2C%20Estado_Licencia__c%2C%20Tipo_de_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_Inicio_LM__c%2C%20Fecha_T_rmino_LM__c%2C%20Num_dias_autorizado__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_del_M_dico__c%2C%20Rut_del_M_dico__c%2C%20Instituci_n_de_Salud_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Causa_del_rechazo__c%2C%20Empresa__c%2C%20Rut_Empresa__c%2C%20ID_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_de_Tramitaci_n__c%2C%20Fecha_de_emision__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tipo_de_Reposo__c%2C%20Estado_IMED__c%2C%20Estado_Final_LM__c%2C%20Formato_de_Licencia__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Entidad_que_se_pronuncia__c%2C%20Fecha_Resoluci_n__c%2C%20Numero_Resolucion__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Derecho_Subsidio__c%2C%20Observaci_n_Rechazo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Direcci_n_Reposo__c%2C%20Lugar_de_Reposo__c%2C%20Comuna_de_Reposo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Jefatura__c%2C%20Email_Jefatura__c%2C%20Email_Trabajador_LM1__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Sindicato_Trabajador__c%2C%20Grupo_Sindicato__c%2C%20CENCOS__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ID_Interno_Trabajador__c%2C%20Divisi_n__c%2C%20Rol_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Especialidad_del_M_dico__c%2C%20Direcci_n_del_M_dico__c%2C%20Comuna_del_M_dico_imed__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tel_fono_LM__c%2C%20LM_Continua__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Suma_de_Dias_pagados__c%2C%20Suma_de_Montos_Pagados__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Trabajador__r.Name%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Trabajador__r.Rut_Trabajador__c%0A%20%20%20%20%20%20%20%20%20%20%20%20%20FROM%20Licencias_M_dicas__c%0A%20%20%20%20%20%20%20%20%20%20%20%20%20WHERE%20Id%20%3D%20%27a10Nx00002bKnXkIAK%27%0A%20%20%20%20%20%20%20%20%20%20%20%20%20LIMIT%201 HTTP/2\r\n
      Host: acyc.my.salesforce.com\r\n
      Authorization: Bearer 00Do0000000eDgQ!AQEAQAAwqihRN34VB6IJilaXIR62J5luKcFPcP.0xwRUq_Zrg9VCqFw4dOVd17sfS0dSkD.EHvy3yfvXAnqR7uLkgf_OxUCN\r\n
      Content-Type: application/json\r\n
      Accept: */*\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/2 200 \r\n
      < date: Mon, 22 Jun 2026 21:18:08 GMT\r\n
      < content-type: application/json;charset=UTF-8\r\n
      < vary: Accept-Encoding\r\n
      * Added cookie CookieConsentPolicy="0:1" for domain acyc.my.salesforce.com, path /, expire 1813699088\n
      < set-cookie: CookieConsentPolicy=0:1; path=/; expires=Tue, 22-Jun-2027 21:18:08 GMT; Max-Age=31536000; secure\r\n
      * Added cookie LSKey-c$CookieConsentPolicy="0:1" for domain acyc.my.salesforce.com, path /, expire 1813699088\n
      < set-cookie: LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Tue, 22-Jun-2027 21:18:08 GMT; Max-Age=31536000; secure\r\n
      * Added cookie BrowserId="3W1dt25_EfGltV_3qTVORg" for domain salesforce.com, path /, expire 1813699088\n
      < set-cookie: BrowserId=3W1dt25_EfGltV_3qTVORg; domain=.salesforce.com; path=/; expires=Tue, 22-Jun-2027 21:18:08 GMT; Max-Age=31536000; secure; SameSite=None\r\n
      < strict-transport-security: max-age=63072000; includeSubDomains\r\n
      < x-content-type-options: nosniff\r\n
      < sforce-limit-info: api-usage=3217/161000\r\n
      < cache-control: no-cache,must-revalidate,max-age=0,no-store,private\r\n
      < x-robots-tag: none\r\n
      < content-encoding: gzip\r\n
      < server: sfdcedge\r\n
      < x-sfdc-request-id: b8bbe02245e2ecb3e922648d07a853c4\r\n
      < x-request-id: b8bbe02245e2ecb3e922648d07a853c4\r\n
      < x-sfdc-edge-cache: none\r\n
      < \r\n
      """
  ]
  "url" => "https://acyc.my.salesforce.com/services/data/v62.0/query?q=SELECT%20Id%2C%20Name%2C%20Estado_Licencia__c%2C%20Tipo_de_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_Inicio_LM__c%2C%20Fecha_T_rmino_LM__c%2C%20Num_dias_autorizado__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_del_M_dico__c%2C%20Rut_del_M_dico__c%2C%20Instituci_n_de_Salud_LM__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Causa_del_rechazo__c%2C%20Empresa__c%2C%20Rut_Empresa__c%2C%20ID_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Fecha_de_Tramitaci_n__c%2C%20Fecha_de_emision__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tipo_de_Reposo__c%2C%20Estado_IMED__c%2C%20Estado_Final_LM__c%2C%20Formato_de_Licencia__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Entidad_que_se_pronuncia__c%2C%20Fecha_Resoluci_n__c%2C%20Numero_Resolucion__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Derecho_Subsidio__c%2C%20Observaci_n_Rechazo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Direcci_n_Reposo__c%2C%20Lugar_de_Reposo__c%2C%20Comuna_de_Reposo__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Jefatura__c%2C%20Email_Jefatura__c%2C%20Email_Trabajador_LM1__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Sindicato_Trabajador__c%2C%20Grupo_Sindicato__c%2C%20CENCOS__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ID_Interno_Trabajador__c%2C%20Divisi_n__c%2C%20Rol_Trabajador__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Especialidad_del_M_dico__c%2C%20Direcci_n_del_M_dico__c%2C%20Comuna_del_M_dico_imed__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Tel_fono_LM__c%2C%20LM_Continua__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Suma_de_Dias_pagados__c%2C%20Suma_de_Montos_Pagados__c%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Trabajador__r.Name%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Nombre_Trabajador__r.Rut_Trabajador__c%0A%20%20%20%20%20%20%20%20%20%20%20%20%20FROM%20Licencias_M_dicas__c%0A%20%20%20%20%20%20%20%20%20%20%20%20%20WHERE%20Id%20%3D%20%27a10Nx00002bKnXkIAK%27%0A%20%20%20%20%20%20%20%20%20%20%20%20%20LIMIT%201"
  "response_headers" => [
    "HTTP/2 200 "
    "date: Mon, 22 Jun 2026 21:18:08 GMT"
    "content-type: application/json;charset=UTF-8"
    "vary: Accept-Encoding"
    "set-cookie: CookieConsentPolicy=0:1; path=/; expires=Tue, 22-Jun-2027 21:18:08 GMT; Max-Age=31536000; secure"
    "set-cookie: LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Tue, 22-Jun-2027 21:18:08 GMT; Max-Age=31536000; secure"
    "set-cookie: BrowserId=3W1dt25_EfGltV_3qTVORg; domain=.salesforce.com; path=/; expires=Tue, 22-Jun-2027 21:18:08 GMT; Max-Age=31536000; secure; SameSite=None"
    "strict-transport-security: max-age=63072000; includeSubDomains"
    "x-content-type-options: nosniff"
    "sforce-limit-info: api-usage=3217/161000"
    "cache-control: no-cache,must-revalidate,max-age=0,no-store,private"
    "x-robots-tag: none"
    "content-encoding: gzip"
    "server: sfdcedge"
    "x-sfdc-request-id: b8bbe02245e2ecb3e922648d07a853c4"
    "x-request-id: b8bbe02245e2ecb3e922648d07a853c4"
    "x-sfdc-edge-cache: none"
  ]
  "response_json" => [
    "totalSize" => 1
    "done" => true
    "records" => [
      [
        "attributes" => [
          "type" => "Licencias_M_dicas__c"
          "url" => "/services/data/v62.0/sobjects/Licencias_M_dicas__c/a10Nx00002bKnXkIAK"
        ]
        "Id" => "a10Nx00002bKnXkIAK"
        "Name" => "129266981-6"
        "Estado_Licencia__c" => "0"
        "Tipo_de_LM__c" => "1"
        "Fecha_Inicio_LM__c" => "2026-06-22"
        "Fecha_T_rmino_LM__c" => "2026-06-26"
        "Num_dias_autorizado__c" => 0.0
        "Nombre_del_M_dico__c" => "Alfredo José Acevedo Gamarra"
        "Rut_del_M_dico__c" => "26058758-7"
        "Instituci_n_de_Salud_LM__c" => "NUEVAMASVIDA(EXMASVIDA)"
        "Causa_del_rechazo__c" => "0"
        "Empresa__c" => "001Nx00000CBAMwIAP"
        "Rut_Empresa__c" => "96567040-8"
        "ID_Trabajador__c" => "a12Nx000004GCVb"
        "Fecha_de_Tramitaci_n__c" => "2026-06-22"
        "Fecha_de_emision__c" => "2026-06-22"
        "Tipo_de_Reposo__c" => "1"
        "Estado_IMED__c" => "1"
        "Estado_Final_LM__c" => "SIN CONVENIO"
        "Formato_de_Licencia__c" => "Electrónica"
        "Entidad_que_se_pronuncia__c" => "Nueva Masvida (ex Masvida)"
        "Fecha_Resoluci_n__c" => "1969-12-31"
        "Numero_Resolucion__c" => null
        "Derecho_Subsidio__c" => null
        "Observaci_n_Rechazo__c" => null
        "Direcci_n_Reposo__c" => "Esperanza 1570 1570"
        "Lugar_de_Reposo__c" => "1"
        "Comuna_de_Reposo__c" => "02101"
        "Nombre_Jefatura__c" => "Sobarzo Valentina"
        "Email_Jefatura__c" => "valentina.sobarzo@teck.com"
        "Email_Trabajador_LM1__c" => "manuel.bastias@teck.com"
        "Sindicato_Trabajador__c" => "CHL - QB Sindicato 2"
        "Grupo_Sindicato__c" => "QB Sindicato 2"
        "CENCOS__c" => null
        "ID_Interno_Trabajador__c" => "451586"
        "Divisi_n__c" => "Operaciones Quebrada Blanca"
        "Rol_Trabajador__c" => null
        "Especialidad_del_M_dico__c" => "TRAUMATOLOGÍA Y ORTOPEDIA PEDIÁTRICA"
        "Direcci_n_del_M_dico__c" => "Sucre 244, 0"
        "Comuna_del_M_dico_imed__c" => "02101"
        "Tel_fono_LM__c" => "56 09 422759"
        "LM_Continua__c" => "1"
        "Suma_de_Dias_pagados__c" => 0.0
        "Suma_de_Montos_Pagados__c" => 0.0
        "Nombre_Trabajador__r" => [
          "attributes" => [
            "type" => "Trabajadores_Empresas_LM__c"
            "url" => "/services/data/v62.0/sobjects/Trabajadores_Empresas_LM__c/a12Nx000004GCVbIAO"
          ]
          "Name" => "Bastias Concha Manuel"
          "Rut_Trabajador__c" => "16437767-9"
        ]
      ]
    ]
  ]
]