Chilkat Online Tools

SQL Server / Zoom API / Update SIP phone

Back to Collection Items

-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
    DECLARE @hr int
    DECLARE @iTmp0 int
    -- Important: Do not use nvarchar(max).  See the warning about using nvarchar(max).
    DECLARE @sTmp0 nvarchar(4000)
    -- This example assumes the Chilkat API to have been previously unlocked.
    -- See Global Unlock Sample for sample code.

    DECLARE @http int
    -- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
    IF @hr <> 0
    BEGIN
        PRINT 'Failed to create ActiveX component'
        RETURN
    END

    DECLARE @success int

    DECLARE @req int
    -- Use "Chilkat_9_5_0.HttpRequest" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.HttpRequest', @req OUT

    EXEC sp_OASetProperty @req, 'HttpVerb', 'PATCH'
    EXEC sp_OASetProperty @req, 'Path', '/v2/sip_phones/:phoneId'
    EXEC sp_OASetProperty @req, 'ContentType', 'multipart/form-data'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'domain', 'Ut eiusmod dolor'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'register_server', 'Ut eiusmod doloramet est velit anim'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'proxy_server', 'Ut eiusmod doloramet est velit animirure aliqua'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'register_server2', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem dolore'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'proxy_server2', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor anim'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'register_server3', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum ali'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'proxy_server3', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsum'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'user_name', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolor'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'password', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollit'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'authorization_name', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisi'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'voice_mail', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliqua'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'transport_protocol', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTO'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'transport_protocol2', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTOTLS'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'transport_protocol3', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTOTLSTLS'

    EXEC sp_OAMethod @req, 'AddParam', NULL, 'registration_expire_time', 'Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTOTLSTLS60'

    EXEC sp_OAMethod @req, 'AddHeader', NULL, 'Authorization', 'Bearer <access_token>'

    DECLARE @resp int
    EXEC sp_OAMethod @http, 'SynchronousRequest', @resp OUT, 'api.zoom.us', 443, 1, @req
    EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
    IF @iTmp0 = 0
      BEGIN
        EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @http
        EXEC @hr = sp_OADestroy @req
        RETURN
      END

    EXEC sp_OAGetProperty @resp, 'StatusCode', @iTmp0 OUT
    PRINT @iTmp0
    EXEC sp_OAGetProperty @resp, 'BodyStr', @sTmp0 OUT
    PRINT @sTmp0
    EXEC @hr = sp_OADestroy @resp


    EXEC @hr = sp_OADestroy @http
    EXEC @hr = sp_OADestroy @req


END
GO

Curl Command

curl -X PATCH
	-H "Authorization: Bearer <access_token>"
	-H "Content-Type: multipart/form-data"
	--form 'domain=Ut eiusmod dolor'
	--form 'register_server=Ut eiusmod doloramet est velit anim'
	--form 'proxy_server=Ut eiusmod doloramet est velit animirure aliqua'
	--form 'register_server2=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem dolore'
	--form 'proxy_server2=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor anim'
	--form 'register_server3=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum ali'
	--form 'proxy_server3=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsum'
	--form 'user_name=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolor'
	--form 'password=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollit'
	--form 'authorization_name=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisi'
	--form 'voice_mail=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliqua'
	--form 'transport_protocol=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTO'
	--form 'transport_protocol2=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTOTLS'
	--form 'transport_protocol3=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTOTLSTLS'
	--form 'registration_expire_time=Ut eiusmod doloramet est velit animirure aliquasunt ullamco Lorem doloretempor animtempor laborum aliipsumnisi dolorsint dolor mollitlaboris magna non adipisiin aliquaAUTOTLSTLS60'
https://api.zoom.us/v2/sip_phones/:phoneId

Postman Collection Item JSON

{
  "name": "Update SIP phone",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "PATCH",
    "header": [
      {
        "key": "Content-Type",
        "value": "multipart/form-data"
      }
    ],
    "body": {
      "mode": "formdata",
      "formdata": [
        {
          "key": "domain",
          "value": "Ut eiusmod dolor",
          "description": "(Required) The name or IP address of your provider’s SIP domain. (example: CDC.WEB).",
          "type": "text"
        },
        {
          "key": "register_server",
          "value": "amet est velit anim",
          "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
          "type": "text"
        },
        {
          "key": "proxy_server",
          "value": "irure aliqua",
          "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
          "type": "text"
        },
        {
          "key": "register_server2",
          "value": "sunt ullamco Lorem dolore",
          "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
          "type": "text"
        },
        {
          "key": "proxy_server2",
          "value": "tempor anim",
          "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
          "type": "text"
        },
        {
          "key": "register_server3",
          "value": "tempor laborum ali",
          "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
          "type": "text"
        },
        {
          "key": "proxy_server3",
          "value": "ipsum ",
          "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
          "type": "text"
        },
        {
          "key": "user_name",
          "value": "nisi dolor",
          "description": "(Required) The phone number associated with the user in the SIP account.",
          "type": "text"
        },
        {
          "key": "password",
          "value": "sint dolor mollit",
          "description": "(Required) The password generated for the user in the SIP account.",
          "type": "text"
        },
        {
          "key": "authorization_name",
          "value": "laboris magna non adipisi",
          "description": "(Required) Authorization name of the user  registered for SIP Phone.",
          "type": "text"
        },
        {
          "key": "voice_mail",
          "value": "in aliqua",
          "description": "(Required) The number to dial for checking voicemail.",
          "type": "text"
        },
        {
          "key": "transport_protocol",
          "value": "AUTO",
          "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
          "type": "text"
        },
        {
          "key": "transport_protocol2",
          "value": "TLS",
          "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
          "type": "text"
        },
        {
          "key": "transport_protocol3",
          "value": "TLS",
          "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
          "type": "text"
        },
        {
          "key": "registration_expire_time",
          "value": "60",
          "description": "The number of minutes after which the SIP registration of the Zoom client user will expire, and the client will auto register to the SIP server.",
          "type": "text"
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/sip_phones/:phoneId",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "sip_phones",
        ":phoneId"
      ],
      "variable": [
        {
          "key": "phoneId",
          "value": "quis officia in reprehenderit",
          "description": "(Required) Unique Identifier of the SIP Phone. This can be retrieved from the List SIP Phones API."
        }
      ]
    },
    "description": "Zoom’s Phone System Integration (PSI), also referred as SIP phones, enables an organization to leverage the Zoom client to complete a softphone registration to supported premise based PBX system. End users will have the ability to have softphone functionality within a single client while maintaining a comparable interface to Zoom Phone. Use this API to update information of a specific SIP Phone on a Zoom account.<br><br>\n**Prerequisites**:\n* Currently only supported on Cisco and Avaya PBX systems. \n* The account owner or account admin must first enable SIP Phone Integration by contacting the [Sales](https://zoom.us/contactsales) team.<br> **Scope:** `sip_phone:write:admin`\n<br> \n **[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Light`"
  },
  "response": [
    {
      "name": "**Error Code:** `200`<br>\nPermission missing: Enable SIP Phone Integration by contacting a Zoom Admin first.\n",
      "originalRequest": {
        "method": "PATCH",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "domain",
              "value": "Ut eiusmod dolor",
              "description": "(Required) The name or IP address of your provider’s SIP domain. (example: CDC.WEB).",
              "type": "text"
            },
            {
              "key": "register_server",
              "value": "amet est velit anim",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server",
              "value": "irure aliqua",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server2",
              "value": "sunt ullamco Lorem dolore",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server2",
              "value": "tempor anim",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server3",
              "value": "tempor laborum ali",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server3",
              "value": "ipsum ",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "user_name",
              "value": "nisi dolor",
              "description": "(Required) The phone number associated with the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "password",
              "value": "sint dolor mollit",
              "description": "(Required) The password generated for the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "authorization_name",
              "value": "laboris magna non adipisi",
              "description": "(Required) Authorization name of the user  registered for SIP Phone.",
              "type": "text"
            },
            {
              "key": "voice_mail",
              "value": "in aliqua",
              "description": "(Required) The number to dial for checking voicemail.",
              "type": "text"
            },
            {
              "key": "transport_protocol",
              "value": "AUTO",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol2",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol3",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "registration_expire_time",
              "value": "60",
              "description": "The number of minutes after which the SIP registration of the Zoom client user will expire, and the client will auto register to the SIP server.",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/sip_phones/:phoneId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "sip_phones",
            ":phoneId"
          ],
          "variable": [
            {
              "key": "phoneId",
              "value": "quis officia in reprehenderit",
              "description": "(Required) Unique Identifier of the SIP Phone. This can be retrieved from the List SIP Phones API."
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "**HTTP Status Code:** `204`<br>\nSIP Phone information updated successfully.\n",
      "originalRequest": {
        "method": "PATCH",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "domain",
              "value": "Ut eiusmod dolor",
              "description": "(Required) The name or IP address of your provider’s SIP domain. (example: CDC.WEB).",
              "type": "text"
            },
            {
              "key": "register_server",
              "value": "amet est velit anim",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server",
              "value": "irure aliqua",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server2",
              "value": "sunt ullamco Lorem dolore",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server2",
              "value": "tempor anim",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server3",
              "value": "tempor laborum ali",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server3",
              "value": "ipsum ",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "user_name",
              "value": "nisi dolor",
              "description": "(Required) The phone number associated with the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "password",
              "value": "sint dolor mollit",
              "description": "(Required) The password generated for the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "authorization_name",
              "value": "laboris magna non adipisi",
              "description": "(Required) Authorization name of the user  registered for SIP Phone.",
              "type": "text"
            },
            {
              "key": "voice_mail",
              "value": "in aliqua",
              "description": "(Required) The number to dial for checking voicemail.",
              "type": "text"
            },
            {
              "key": "transport_protocol",
              "value": "AUTO",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol2",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol3",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "registration_expire_time",
              "value": "60",
              "description": "The number of minutes after which the SIP registration of the Zoom client user will expire, and the client will auto register to the SIP server.",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/sip_phones/:phoneId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "sip_phones",
            ":phoneId"
          ],
          "variable": [
            {
              "key": "phoneId",
              "value": "quis officia in reprehenderit",
              "description": "(Required) Unique Identifier of the SIP Phone. This can be retrieved from the List SIP Phones API."
            }
          ]
        }
      },
      "status": "No Content",
      "code": 204,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{}"
    },
    {
      "name": "**Error Code:** `300`<br>\n SIP phone not found: phoneId.<br>\n The SIP phone with this phoneId was not found on this account.\n",
      "originalRequest": {
        "method": "PATCH",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "domain",
              "value": "Ut eiusmod dolor",
              "description": "(Required) The name or IP address of your provider’s SIP domain. (example: CDC.WEB).",
              "type": "text"
            },
            {
              "key": "register_server",
              "value": "amet est velit anim",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server",
              "value": "irure aliqua",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server2",
              "value": "sunt ullamco Lorem dolore",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server2",
              "value": "tempor anim",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server3",
              "value": "tempor laborum ali",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server3",
              "value": "ipsum ",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "user_name",
              "value": "nisi dolor",
              "description": "(Required) The phone number associated with the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "password",
              "value": "sint dolor mollit",
              "description": "(Required) The password generated for the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "authorization_name",
              "value": "laboris magna non adipisi",
              "description": "(Required) Authorization name of the user  registered for SIP Phone.",
              "type": "text"
            },
            {
              "key": "voice_mail",
              "value": "in aliqua",
              "description": "(Required) The number to dial for checking voicemail.",
              "type": "text"
            },
            {
              "key": "transport_protocol",
              "value": "AUTO",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol2",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol3",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "registration_expire_time",
              "value": "60",
              "description": "The number of minutes after which the SIP registration of the Zoom client user will expire, and the client will auto register to the SIP server.",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/sip_phones/:phoneId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "sip_phones",
            ":phoneId"
          ],
          "variable": [
            {
              "key": "phoneId",
              "value": "quis officia in reprehenderit",
              "description": "(Required) Unique Identifier of the SIP Phone. This can be retrieved from the List SIP Phones API."
            }
          ]
        }
      },
      "status": "Multiple Choices",
      "code": 300,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "**HTTP Status Code:** `400`<br>\nBad request.\n\n",
      "originalRequest": {
        "method": "PATCH",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "domain",
              "value": "Ut eiusmod dolor",
              "description": "(Required) The name or IP address of your provider’s SIP domain. (example: CDC.WEB).",
              "type": "text"
            },
            {
              "key": "register_server",
              "value": "amet est velit anim",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server",
              "value": "irure aliqua",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server2",
              "value": "sunt ullamco Lorem dolore",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server2",
              "value": "tempor anim",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "register_server3",
              "value": "tempor laborum ali",
              "description": "(Required) IP address of the server that accepts REGISTER requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address.",
              "type": "text"
            },
            {
              "key": "proxy_server3",
              "value": "ipsum ",
              "description": "(Required) IP address of the proxy server for SIP requests. Note that if you are using the UDP transport protocol, the default port is 5060. If you are using UDP with a different port number, that port number must be included with the IP address. If you are not using a proxy server, this value can be the same as the Register Server.",
              "type": "text"
            },
            {
              "key": "user_name",
              "value": "nisi dolor",
              "description": "(Required) The phone number associated with the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "password",
              "value": "sint dolor mollit",
              "description": "(Required) The password generated for the user in the SIP account.",
              "type": "text"
            },
            {
              "key": "authorization_name",
              "value": "laboris magna non adipisi",
              "description": "(Required) Authorization name of the user  registered for SIP Phone.",
              "type": "text"
            },
            {
              "key": "voice_mail",
              "value": "in aliqua",
              "description": "(Required) The number to dial for checking voicemail.",
              "type": "text"
            },
            {
              "key": "transport_protocol",
              "value": "AUTO",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol2",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "transport_protocol3",
              "value": "TLS",
              "description": "Protocols supported by the SIP provider.<br> The value must be either `UDP`, `TCP`, `TLS`, `AUTO`. (This can only be one of UDP,TCP,TLS,AUTO)",
              "type": "text"
            },
            {
              "key": "registration_expire_time",
              "value": "60",
              "description": "The number of minutes after which the SIP registration of the Zoom client user will expire, and the client will auto register to the SIP server.",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/sip_phones/:phoneId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "sip_phones",
            ":phoneId"
          ],
          "variable": [
            {
              "key": "phoneId",
              "value": "quis officia in reprehenderit",
              "description": "(Required) Unique Identifier of the SIP Phone. This can be retrieved from the List SIP Phones API."
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}