{"_id":"56aa0ee92d8fd90d0036efb4","__v":5,"project":"568fce2a04440a1700e4cb47","parentDoc":null,"category":{"_id":"5694c4cd1005590d0062cb25","pages":["569f8c611082520d005c703a","569fa534a454d2230002cb72","569fa79197472b1700201634","569fb65c27af53210043231d","569fb6931082520d005c7085","56a0a29cd847b50d00a275f0","56a0ae0ac29eb50d00e33e05","56b9e47cb77e261700bc1425","56bb05b7fb70442b003683ee","56bb06ec959bd90d00afb0a2","56d41bbed3f4650b007496df"],"version":"568fce2b04440a1700e4cb4a","__v":11,"project":"568fce2a04440a1700e4cb47","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-12T09:18:05.741Z","from_sync":false,"order":5,"slug":"rest-services","title":"REST API"},"version":{"_id":"568fce2b04440a1700e4cb4a","project":"568fce2a04440a1700e4cb47","__v":20,"createdAt":"2016-01-08T14:56:43.101Z","releaseDate":"2016-01-08T14:56:43.101Z","categories":["568fce2b04440a1700e4cb4b","568fd1b8b700ce0d002f4b1c","568fd23804440a1700e4cb5b","568fd2444719c119002ce5d8","568ff21204440a1700e4cbc1","5693732c8aa8040d009f2c28","5693738393445b0d00abdad0","5693740093445b0d00abdad1","56937445974aaa0d001ca699","5693b82173f48f0d0075c90d","5694c4cd1005590d0062cb25","569f854466a5640d00efa54c","56a264cdd15dd70d008d825b","56aa56bf318e6c1700a19ddb","56b0e6347ae4550d000627bd","56b200c0f48f270d00e0de6f","56b200c6f48f270d00e0de70","56b22a9665ddf50d0076ba40","56e92ef71996862200fd7f42","574d6577fb835c0e00ca316a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"55116f88e2990b0d00fb0552","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-28T12:51:53.168Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"NumberStatus is returned from ValidatePhoneNumber and and ValidateNumberForUserNames functions.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"ID\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"<code>2</code>\",\n    \"0-1\": \"<code>On</code>\",\n    \"1-0\": \"<code>3</code>\",\n    \"2-0\": \"<code>4</code>\",\n    \"3-0\": \"<code>5</code>\",\n    \"4-0\": \"<code>6</code>\",\n    \"5-0\": \"<code>7</code>\",\n    \"6-0\": \"<code>10</code>\",\n    \"1-1\": \"<code>Off</code>\",\n    \"2-1\": \"<code>Dead</code>\",\n    \"3-1\": \"<code>NotProvisioned</code>\",\n    \"4-1\": \"<code>BadNumber</code>\",\n    \"5-1\": \"<code>CountryMismatch</code>\",\n    \"6-1\": \"<code>ImpersonationFailed</code>\",\n    \"6-2\": \"A username supplied to ValidateNumberForUserNames is not recognised.\",\n    \"5-2\": \"The number is not in a format that matches the requested country code.\",\n    \"4-2\": \"The number does not conform to a recognised pattern or contains non numeric characters.\",\n    \"3-2\": \"The number exists, but is not owned by a mobile network, for example a landline number.\",\n    \"2-2\": \"The number does not exist.\",\n    \"1-2\": \"The number exists, but the handset is currently switched off or out of range.\",\n    \"0-2\": \"The number exists and the handset is currently switched on.\"\n  },\n  \"cols\": 3,\n  \"rows\": 7\n}\n[/block]","excerpt":"","slug":"rest-pnv-number-status-values","type":"basic","title":"Number Status Values"}

Number Status Values


NumberStatus is returned from ValidatePhoneNumber and and ValidateNumberForUserNames functions. [block:parameters] { "data": { "h-0": "ID", "h-1": "Name", "h-2": "Description", "0-0": "<code>2</code>", "0-1": "<code>On</code>", "1-0": "<code>3</code>", "2-0": "<code>4</code>", "3-0": "<code>5</code>", "4-0": "<code>6</code>", "5-0": "<code>7</code>", "6-0": "<code>10</code>", "1-1": "<code>Off</code>", "2-1": "<code>Dead</code>", "3-1": "<code>NotProvisioned</code>", "4-1": "<code>BadNumber</code>", "5-1": "<code>CountryMismatch</code>", "6-1": "<code>ImpersonationFailed</code>", "6-2": "A username supplied to ValidateNumberForUserNames is not recognised.", "5-2": "The number is not in a format that matches the requested country code.", "4-2": "The number does not conform to a recognised pattern or contains non numeric characters.", "3-2": "The number exists, but is not owned by a mobile network, for example a landline number.", "2-2": "The number does not exist.", "1-2": "The number exists, but the handset is currently switched off or out of range.", "0-2": "The number exists and the handset is currently switched on." }, "cols": 3, "rows": 7 } [/block]