Phones/Macs

Add MAC address

Changed on
post/phones

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/phones
  • Auth
    HTTP bearer

Request body

device-provisioning-mac-addressstring mac required
domainstring required

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. ~ and * can be used alone in special cases to mean My Domain (~) and All Domains (*).

resellerstring required
device-models-brand-and-modelstring required
device-provisioning-registration-core-serverstring required
notesstring required
device-provisioning-sip-uri-1string required
device-provisioning-line-1-enabled'yes' | 'no' required
device-provisioning-sip-uri-1-shared-line-enabledstring required
device-provisioning-sip-uri-2string required
device-provisioning-line-2-enabled'yes' | 'no' required
device-provisioning-sip-uri-2-shared-line-enabledstring required
device-provisioning-sip-transport-protocolstring required
device-provisioning-usernamestring required
device-provisioning-passwordstring password required
device-models-count-buttonsinteger required
device-models-fxs-support-enabledinteger required
device-models-overrides-blobstring required
device-models-resync-support-enabledstring required
device-models-shared-line-support-enabledstring required
device-models-sidecar-support-enabledstring required
device-provisioning-last-retrieved-datetimestring required
device-provisioning-directorystring required
device-provisioning-directory-supportstring required
device-provisioning-line-1-extensionsstring
device-provisioning-line-2-extensionsstring
device-provisioning-ndp-hostnamestring required
device-provisioning-presencestring required
created-datetimestring required
global-one-time-passstring required
last-modified-datetimestring date-time
redundencystring required
device-provisioning-sip-uri-3string
device-provisioning-line-3-enabledstring
device-provisioning-sip-uri-3-shared-line-enabledstring
device-provisioning-sip-uri-4string
device-provisioning-line-4-enabledstring
device-provisioning-sip-uri-4-shared-line-enabledstring
device-provisioning-sip-uri-5string
device-provisioning-line-5-enabledstring
device-provisioning-sip-uri-5-shared-line-enabledstring
device-provisioning-sip-uri-6string
device-provisioning-line-6-enabledstring
device-provisioning-sip-uri-6-shared-line-enabledstring
device-provisioning-sip-uri-7string
device-provisioning-line-7-enabledstring
device-provisioning-sip-uri-7-shared-line-enabledstring
device-provisioning-sip-uri-8string
device-provisioning-line-8-enabledstring
device-provisioning-sip-uri-8-shared-line-enabledstring
device-sip-registration-contactstring
device-sip-registration-datetimestring
device-sip-registration-expires-datetimestring
device-sip-registration-statestring nullable
device-sip-registration-user-agentstring

Example request

{
  "device-provisioning-mac-address": "000011223344",
  "domain": "example.com"
}

Response

codeinteger required
messagestring required

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      removed the enum value no of the request property

    • breaking

      removed the enum value yes of the request property

    • breaking

      added the pattern ^[A-Za-z0-9._-]+|\* to the request property

    • breaking

      the request property format changed from no format to password

    • warning

      the request property's maxLength was set to 64

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new required request property with a default value

    • info

      added the new required request property with a default value

    • info

      the request optional property became not read-only

    • info

      the request property default value no was removed

    • info

      the request property format was generalized from date to no format

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status