{"info":{"_postman_id":"a7dfff22-94f7-e516-bae9-9260e37e043d","name":"ViVi Mobile API Gateway","description":"# Introduction\nThe APIs for the Vivi Mobile services\n\n\n# Authentication\nTo use these endpoints bellow you need to add on the header of a request a field x-api-key together with the key provided for your use.\n\nEach key is unique and must not be shared\n\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Number Verification","item":[{"name":"checkSMSPIN","id":"ae0a9425-77a4-9b66-a36d-6c69ae143d16","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"code\":\"5877\",\"MDN\":5613326236}"},"url":"http://www.vivimobile.com:3000/checkSMSPIN","description":"Check if 4 digit PIN number sent by SMS is valid\nIf the code is valid the response need to be **true**, in case of a wrong number sent the result will be **false**\n\n\n_*This endpoint needs to be used after **sendSMSPINValitation** sent a PIN to the user's phone by SMS_"},"response":[{"id":"53fc5557-2bf4-f92a-9a2d-5af7bce3767a","name":"checkSMSPIN (Sucess)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"KJSHDJSKAHDJH3243JKASHDKJAH"}],"body":{"mode":"raw","raw":"{ \"code\":\"1748\",\"MDN\":5613326236}"},"url":"https://api.vivimobile.com/v1/checkSMSPIN"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"82","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 19 Feb 2018 05:56:07 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"52-AjWhEkZUb/KASh28zn5ccTDJiPQ\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"2423","body":"{\"id\":\"7a7d3bc2-2ec0-460f-ad5f-f2b403df3c34\",\"method\":\"sms\",\"status\":\"SUCCESSFUL\"}"},{"id":"ec1af833-6a84-88a9-cf98-5f3ac8f332b3","name":"checkSMSPIN  (Error)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"KJHSDJKFHDKSJDFHSKJDHF43J32"}],"body":{"mode":"raw","raw":"{ \"code\":\"1748\",\"MDN\":9999999999}"},"url":"https://api.vivimobile.com/v1/checkSMSPIN"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"108","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 19 Feb 2018 05:56:48 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"6c-R1N+ThyJqmn+Ei7y23Zo6jAFChQ\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"567","body":"{\n    \"status\": \"error\",\n    \"message\": \"Invalid identity or code.\"\n}"}],"_postman_id":"ae0a9425-77a4-9b66-a36d-6c69ae143d16"},{"name":"sendSMSPINValitation","id":"00b65cf1-40a6-7ae0-1b10-93174311d7fb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"code\":\"5877\"}"},"url":{"raw":"https://api.vivimobile.com/v1/sendSMSPINValitation?MDN=5614038384","protocol":"https","host":["api","vivimobile","com"],"path":["v1","sendSMSPINValitation"],"query":[{"key":"MDN","value":"5614038384"}]},"description":"Send a SMS with a PIN to the user of the MDN\nThe PIN's verification is going to happen in the follow order\n\n1.  The system will check if the MDN is a valid vivi number\n2.  If it is a valid number, the system will send a SMS with a four digit PIN to the MDN number\n2.  To validate if the number inserted by the user is correct use the **checkSMSPIN** API endpoint"},"response":[{"id":"7cbec419-f98a-bbe3-526f-ca051f61992d","name":"sendSMSPINValitation (Success)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"ASDASDNAKSDNKSAJNDKJAN"}],"body":{"mode":"raw","raw":"{ \"code\":\"5877\"}"},"url":{"raw":"https://api.vivimobile.com/v1/sendSMSPINValitation?MDN=5613326236","protocol":"https","host":["api","vivimobile","com"],"path":["v1","sendSMSPINValitation"],"query":[{"key":"MDN","value":"5613326236"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"34","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 19 Feb 2018 05:54:55 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"22-eqJBgtKeMn6UZzlbEjYu6FpYAM8\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"3237","body":"{\"status\":\"SMS sent with success\"}"},{"id":"7f777bd1-22f3-9fc8-848e-cf2cb0cdb685","name":"sendSMSPINValitation (Error)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"JSNDFKJDNFKJSDNFKJSDNDKJS"}],"body":{"mode":"raw","raw":"{ \"code\":\"5877\"}"},"url":{"raw":"https://api.vivimobile.com/v1/sendSMSPINValitation?MDN=5613326239","protocol":"https","host":["api","vivimobile","com"],"path":["v1","sendSMSPINValitation"],"query":[{"key":"MDN","value":"5613326239"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"50","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 19 Feb 2018 05:53:18 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"32-1gjRMCiBTuhbYX8ow4h0dmRUhP8\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"2915","body":"{\"status\":\"error\",\"message\":\"Denied by callback.\"}"}],"_postman_id":"00b65cf1-40a6-7ae0-1b10-93174311d7fb"},{"name":"isViviNumber","id":"9ada4a4f-5b72-0081-e6cb-71574d0ae68a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n               \n                \"PrepaidWirelessCredential\":\n                    {\n                        \"USERNAME\": \"North American Local\",\n                        \"TOKENPASSWORD\": \"qAWufANapEye8uS\",\n                        \"PIN\": \"North American Local5691\",\n                        \"CLEC\": \"1004\"\n                    },\n                     \"MDN\":5613326236\n            }"},"url":{"raw":"https://api.vivimobile.com/v1/isViviNumber?MDN=5614038384","protocol":"https","host":["api","vivimobile","com"],"path":["v1","isViviNumber"],"query":[{"key":"MDN","value":"5614038384"}]},"description":"Verify if a provided number is a vivi number"},"response":[{"id":"21dece30-102f-538e-3761-22e6a0211d9c","name":"isViviNumber (fail)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"FASDFDSFSDFSDS"}],"body":{"mode":"raw","raw":"{\n               \n                \"PrepaidWirelessCredential\":\n                    {\n                        \"USERNAME\": \"North American Local\",\n                        \"TOKENPASSWORD\": \"qAWufANapEye8uS\",\n                        \"PIN\": \"North American Local5691\",\n                        \"CLEC\": \"1004\"\n                    },\n                     \"MDN\":5613326236\n            }"},"url":{"raw":"https://api.vivimobile.com/v1/isViviNumber?MDN=5613326233","protocol":"https","host":["api","vivimobile","com"],"path":["v1","isViviNumber"],"query":[{"key":"MDN","value":"5613326233"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"22","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 12 Feb 2018 23:18:43 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"16-s3os7guN+aJ+T31WrIvsN3pASmA\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"1436","body":"{\"isViviNumber\":false}"},{"id":"48b6c71d-52b7-384c-4389-6dc8e7308913","name":"isViviNumber (success)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"DSFDSDFSDFSDFSDFSD"}],"body":{"mode":"raw","raw":"{\n               \n                \"PrepaidWirelessCredential\":\n                    {\n                        \"USERNAME\": \"North American Local\",\n                        \"TOKENPASSWORD\": \"qAWufANapEye8uS\",\n                        \"PIN\": \"North American Local5691\",\n                        \"CLEC\": \"1004\"\n                    },\n                     \"MDN\":5613326236\n            }"},"url":{"raw":"https://api.vivimobile.com/v1/isViviNumber?MDN=5613326236","protocol":"https","host":["api","vivimobile","com"],"path":["v1","isViviNumber"],"query":[{"key":"MDN","value":"5613326236"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"21","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 12 Feb 2018 23:17:29 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"15-nY0ytjpgPjuDlW0r0ZZWTmUX2o8\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"1434","body":"{\"isViviNumber\":true}"},{"id":"539dfab7-2935-91ec-77d7-fdc43bcdb879","name":"isViviNumber (Pattern)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"SDASDASDADSADASFVDSD"}],"body":{"mode":"raw","raw":"{\n               \n                \"PrepaidWirelessCredential\":\n                    {\n                        \"USERNAME\": \"North American Local\",\n                        \"TOKENPASSWORD\": \"qAWufANapEye8uS\",\n                        \"PIN\": \"North American Local5691\",\n                        \"CLEC\": \"1004\"\n                    },\n                     \"MDN\":5613326236\n            }"},"url":{"raw":"https://api.vivimobile.com/v1/isViviNumber?MDN=integer","protocol":"https","host":["api","vivimobile","com"],"path":["v1","isViviNumber"],"query":[{"key":"MDN","value":"integer"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"21","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 12 Feb 2018 23:17:29 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"15-nY0ytjpgPjuDlW0r0ZZWTmUX2o8\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"1434","body":"{\n    \"isViviNumber\": \"booblean\"\n}"}],"_postman_id":"9ada4a4f-5b72-0081-e6cb-71574d0ae68a"}],"id":"f23137a1-8571-e093-5ab6-927dc2d83828","description":"These API's will take care of verifing if the user is using a valid Vivi's phone number","_postman_id":"f23137a1-8571-e093-5ab6-927dc2d83828"},{"name":"Top-Up","item":[{"name":"/topUp/addData","id":"ae28c5d8-0fdb-42ee-6b3d-c37627430766","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"card\":{\n    \t\"number\": 4242424242424242,\n    \t\"expMonth\": 12,\n    \t\"expYear\": 2019,\n    \t\"cvc\": 123\n\t},\n\t\n\t\"MDN\": \"5614038384\"\n}"},"url":"https://api.vivimobile.com/v1/topUp/addData","description":"Adds 1Gb to the account after a Payment using a credit card\n\nThis API follow the bellow pattern:\n\n 1. Execute the payment using the card provided\n 2. If sucess on payment, add 1Gb to the MDN provided\n\n"},"response":[],"_postman_id":"ae28c5d8-0fdb-42ee-6b3d-c37627430766"},{"name":"/topUp/addMinutes","id":"4808946e-4aa9-9b25-1e2e-cc81831accfc","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"card\":{\n    \t\"number\": 4242424242424242,\n    \t\"expMonth\": 12,\n    \t\"expYear\": 2019,\n    \t\"cvc\": 123\n\t},\n\t\n\t\"MDN\": \"5613326236\"\n}"},"url":"https://api.vivimobile.com/v1/topUp/addMinutes","description":"Adds 1Gb to the account after a Payment using a credit card\n\nThis API follow the bellow pattern:\n\n 1. Execute the payment using the card provided\n 2. If sucess on payment, add 1Gb to the MDN provided\n\n"},"response":[],"_postman_id":"4808946e-4aa9-9b25-1e2e-cc81831accfc"},{"name":"/topUp/addMessages","id":"9fea6b97-9c70-4797-9257-9d406513818e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"card\":{\n    \t\"number\": 4242424242424242,\n    \t\"expMonth\": 12,\n    \t\"expYear\": 2019,\n    \t\"cvc\": 123\n\t},\n\t\n\t\"MDN\": \"5613326236\"\n}"},"url":"https://api.vivimobile.com/v1/topUp/addMessages","description":"Adds 1Gb to the account after a Payment using a credit card\n\nThis API follow the bellow pattern:\n\n 1. Execute the payment using the card provided\n 2. If sucess on payment, add 1Gb to the MDN provided\n\n"},"response":[],"_postman_id":"9fea6b97-9c70-4797-9257-9d406513818e"}],"id":"6ff704bd-2157-74c4-37c8-48007bedc3cb","description":"This Folder contais the APIs to add Data, minutes and SMS to a Vivi's phone number","_postman_id":"6ff704bd-2157-74c4-37c8-48007bedc3cb"},{"name":"Local Numbers","item":[{"name":"/localNumber/getAreaNameByCountryId","id":"4bd7ab7c-3bf4-9050-470c-e7b5bffa51fb","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://api.vivimobile.com/v1/localNumber/getAreaNameByCountryId?countryId=3d1c2c4e-4b06-4c94-8f0b-43eea90929a0","protocol":"https","host":["api","vivimobile","com"],"path":["v1","localNumber","getAreaNameByCountryId"],"query":[{"key":"countryId","value":"3d1c2c4e-4b06-4c94-8f0b-43eea90929a0"}]},"description":"show every city that we can have a local number in Brazil"},"response":[{"id":"ab10281f-12cc-56f0-889c-a67247d1a79b","name":"getCitiesBrazil (success)","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"SJDFKSDHFKSJDHFKSJDHFS"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.vivimobile.com/v1/localNumber/getCitiesBrazil"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"6369","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 13 Mar 2018 03:29:04 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"18e1-itdEFBaFSd3W8E5/ERzm/BGy/sA\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"5974","body":"[{\"name\":\"Americana\",\"id\":\"0b6235de-5cc2-4b67-9ac4-f8ac42b2a508\"},{\"name\":\"Anapolis\",\"id\":\"482fa74b-d3cd-454e-b8c6-23916ed53bbf\"},{\"name\":\"Aracaju\",\"id\":\"6211c565-edb3-47da-9bb3-385d9cd24cc0\"},{\"name\":\"Araguari\",\"id\":\"3b1d12df-ba1d-4dfe-ab5b-158ba518e085\"},{\"name\":\"Araraquara\",\"id\":\"0356a1e8-dafa-4e64-85a3-049b78da826d\"},{\"name\":\"Araxa\",\"id\":\"e66a39a3-a7e7-4684-af20-ae3d49d65a34\"},{\"name\":\"Bananal\",\"id\":\"533b8421-360b-48b5-a444-a3249aeface5\"},{\"name\":\"Bauru\",\"id\":\"4a2c637d-514c-441f-96bd-911ad2520f22\"},{\"name\":\"Belem\",\"id\":\"3c0542b3-2193-45e5-8332-cefd995844c4\"},{\"name\":\"Belo Horizonte\",\"id\":\"ce438b43-223c-4546-8f79-84b9f8cc9bf6\"},{\"name\":\"Bertioga\",\"id\":\"0970c03d-998a-47c1-a96f-b573b3409b47\"},{\"name\":\"Betim\",\"id\":\"db812138-7d0c-489d-a35c-7037186093aa\"},{\"name\":\"Blumenau\",\"id\":\"da974df2-91cc-40c0-aee4-70564b2b2bbb\"},{\"name\":\"Brasilia\",\"id\":\"80e3dfd1-e5a3-4793-b509-200de5d99902\"},{\"name\":\"Cachoeirinha\",\"id\":\"b8c1231a-82ba-4ac4-b13b-bf7146cef34a\"},{\"name\":\"Caldas Novas\",\"id\":\"393743bc-566d-4647-8474-b52a93dcf669\"},{\"name\":\"Campinas\",\"id\":\"78f598f0-7e93-4b90-a83f-0c771d087f39\"},{\"name\":\"Campo Grande\",\"id\":\"0ca32c41-2670-4678-9e11-0459fcec1707\"},{\"name\":\"Cascavel\",\"id\":\"e0b96ab3-5ced-4ccb-95b1-a391e1d228b3\"},{\"name\":\"Catanduva\",\"id\":\"c03e3ea7-d199-49f0-82d4-d1176873e89d\"},{\"name\":\"Caxias Do Sul\",\"id\":\"bad2da30-9316-4da6-87fe-9a0ba72b6d54\"},{\"name\":\"Cerquilho\",\"id\":\"6aa832e4-d230-431a-9319-35f8835211dc\"},{\"name\":\"Contagem\",\"id\":\"4a7f420f-d75b-4b26-8727-6b1707b3844e\"},{\"name\":\"Coromandel\",\"id\":\"bf254c57-4fdf-454a-abcf-50482970bc6f\"},{\"name\":\"Cuiaba\",\"id\":\"c656dcc8-ded7-4fd8-899c-2657380a1a17\"},{\"name\":\"Curitiba\",\"id\":\"5cc549ea-5ef5-4e61-a511-ce3b3c20107a\"},{\"name\":\"Divinopolis\",\"id\":\"f604f7c9-355f-4f00-9909-ef61d952fc24\"},{\"name\":\"Florianopolis\",\"id\":\"65d9bcb9-438f-46c3-a00e-140a97052b98\"},{\"name\":\"Fortaleza\",\"id\":\"d885afcc-52da-44e6-ba04-a192558e76c7\"},{\"name\":\"Foz Do Iguacu\",\"id\":\"f27487dd-0689-49d0-aece-42a4af7975bb\"},{\"name\":\"Franca\",\"id\":\"2dd8c204-83fa-40d0-beee-2d603e40f384\"},{\"name\":\"Francisco Beltrao\",\"id\":\"7db86dc2-91b9-46be-acc6-8f2fe98b2195\"},{\"name\":\"Goiania\",\"id\":\"1654630f-7a4d-4f55-8bfe-bf0fef38fdbb\"},{\"name\":\"Governador Valadares\",\"id\":\"5bd1f5dc-39b8-4d12-9484-9eadacf060a6\"},{\"name\":\"Ibia\",\"id\":\"a1fd941a-4494-45a0-a9e3-813c14005c2d\"},{\"name\":\"Ipatinga\",\"id\":\"ea88305d-ab13-4311-86e8-175fefbfe7f0\"},{\"name\":\"Itajai\",\"id\":\"f8bb21a8-746c-48d5-bbb5-d7e7d70cd7c4\"},{\"name\":\"Itumbiara\",\"id\":\"9315ba96-e8fd-4217-aa2c-5f60033cb11d\"},{\"name\":\"Jaboticabal\",\"id\":\"e2853fb8-eb6d-46a4-b546-f3025120d8a5\"},{\"name\":\"Jau\",\"id\":\"c1ff1bc7-8b5d-4bfd-92c0-f505a03193e4\"},{\"name\":\"Joao Pessoa\",\"id\":\"49f905bb-09d4-487c-aaf2-eb03de64c5fd\"},{\"name\":\"Joinville\",\"id\":\"a918a8b5-461e-4c2e-9401-374612e42edf\"},{\"name\":\"Juiz de Fora\",\"id\":\"e0d05ad0-3301-412d-852a-b7b1769bb2f3\"},{\"name\":\"Jundiai\",\"id\":\"f6764672-00e3-4951-9912-727a42739e11\"},{\"name\":\"Lages\",\"id\":\"d7b71384-273c-432b-9007-566792651ae1\"},{\"name\":\"Limeira\",\"id\":\"021851f0-cc63-4032-939a-59e984980a7b\"},{\"name\":\"Londrina\",\"id\":\"fa2ee421-4d8e-4119-9356-1a3c7db9822f\"},{\"name\":\"Macae\",\"id\":\"d7bf0a34-8fb1-42bc-b4e2-7b9733627c4c\"},{\"name\":\"Maceio\",\"id\":\"65ff966e-c359-4e25-a4da-e24e319b3241\"},{\"name\":\"Manaus\",\"id\":\"99770f76-3296-41ff-b842-5e746f6793a4\"},{\"name\":\"Marilia\",\"id\":\"611145ae-a807-4b9b-a77a-4112b0d22622\"},{\"name\":\"Maringa\",\"id\":\"3a2454ad-42ea-48aa-baae-44805aeaa104\"},{\"name\":\"Monte Carmelo\",\"id\":\"af8113b6-2640-4ab8-8821-ea498568c72b\"},{\"name\":\"Monte Santo de Minas\",\"id\":\"c146726d-7cf3-4c89-95d2-5232c7e7e326\"},{\"name\":\"Montes Claros\",\"id\":\"44ae289d-0f1d-4ef4-a1bb-af68d4439ebd\"},{\"name\":\"Natal\",\"id\":\"2fccd124-1d98-4314-9c76-9dd8e82694b7\"},{\"name\":\"Nova Friburgo\",\"id\":\"e75a7f9e-1123-4e42-a1b4-d1a567aa6843\"},{\"name\":\"Nova Serrana\",\"id\":\"db8e4624-b343-4b64-82a5-c7599c9eef28\"},{\"name\":\"Palmas\",\"id\":\"74c63d18-133d-4683-a97f-6f74d07a205f\"},{\"name\":\"Paracatu\",\"id\":\"6e74332c-df61-446c-8919-6fe16a4719f6\"},{\"name\":\"Para de Minas\",\"id\":\"72d11487-1154-417b-9ac8-41e67786c4f3\"},{\"name\":\"Patos de Minas\",\"id\":\"8b9bb8ad-4194-4650-ae3b-ecf8fc21d369\"},{\"name\":\"Patrocinio\",\"id\":\"5c39c7ef-019a-43a7-aeae-d0851499ab12\"},{\"name\":\"Pelotas\",\"id\":\"be09f9a4-ec74-40ef-96cd-74316f42a22f\"},{\"name\":\"Piracicaba\",\"id\":\"6805d686-a1d1-4c9e-8e84-4e1bed27d3fa\"},{\"name\":\"Pocos de Caldas\",\"id\":\"58f336c9-2b42-43f4-ab59-1861c319ada4\"},{\"name\":\"Ponta Grossa\",\"id\":\"c9d05ac7-140a-4581-887d-1d8772680522\"},{\"name\":\"Porto Alegre\",\"id\":\"0a61f9b0-685c-4fc0-9d49-601f00d30969\"},{\"name\":\"Porto Feliz\",\"id\":\"b76b00ae-a16d-4eb2-ae32-22a8ad5d110f\"},{\"name\":\"Porto Velho\",\"id\":\"1d5b0af6-d448-4cd7-aca0-844fda840844\"},{\"name\":\"Recife\",\"id\":\"53fd3b3e-2e53-4870-a213-a4940ec0a7a6\"},{\"name\":\"Ribeirao Preto\",\"id\":\"ae60784c-60d3-43cf-9f33-5006492ab004\"},{\"name\":\"Rio Branco\",\"id\":\"522bf4b2-5ed4-472a-977e-7d7071b177ed\"},{\"name\":\"Rio De Janeiro\",\"id\":\"52b30024-4799-4041-aecc-b5ff8486c1fe\"},{\"name\":\"Rio Grande\",\"id\":\"9aa224a6-ba41-4323-a20d-0917f2a5f9d0\"},{\"name\":\"Rondonopolis\",\"id\":\"b1d19686-0a56-4638-b61d-2e3aa313e1ba\"},{\"name\":\"Sacramento\",\"id\":\"f03ca3b4-007b-499d-bceb-96c4bf3c1dd1\"},{\"name\":\"Salvador\",\"id\":\"c11e8dfa-ff57-408b-b3ec-ce5661d5720f\"},{\"name\":\"Santa Catarina\",\"id\":\"8042c8e9-3b33-4913-b981-fd6bd2010e09\"},{\"name\":\"Santos\",\"id\":\"9f703478-5425-46b6-b494-494e898fc1dd\"},{\"name\":\"Sao Carlos\",\"id\":\"4e9b9b71-e17c-47f3-a473-ea08f041e6df\"},{\"name\":\"Sao Gotardo\",\"id\":\"96259476-debe-46fe-a7a0-17b539f0726e\"},{\"name\":\"Sao Jose Do Rio Preto\",\"id\":\"86016e24-545f-4f96-86c2-c184999e5c56\"},{\"name\":\"Sao Jose Dos Campos\",\"id\":\"b024b5b1-b099-439b-bc1a-f8174f135e32\"},{\"name\":\"Sao Luis\",\"id\":\"8f256aff-677c-4e27-a2ae-81162ef6a169\"},{\"name\":\"Sao Paulo\",\"id\":\"c36dabfe-2400-4da5-b2a5-b8e4e29db842\"},{\"name\":\"Saquarema\",\"id\":\"05d31a1f-95ac-4547-a400-dcd4ebb035af\"},{\"name\":\"Sete Lagoas\",\"id\":\"1c1f1374-87b7-4b35-b018-14ad97e39b67\"},{\"name\":\"Sorocaba\",\"id\":\"0d1887cb-105a-4267-ba76-f88db0147359\"},{\"name\":\"Teresina\",\"id\":\"3756b002-a1f2-4501-9756-6ca2c13a8607\"},{\"name\":\"Tubarao\",\"id\":\"4a3e02d1-bb71-4934-ab26-100c6fce4284\"},{\"name\":\"Uberaba\",\"id\":\"ca8f381c-7d97-4abb-b8df-f03f37e7c935\"},{\"name\":\"Uberlandia\",\"id\":\"0fcfcaf3-bfb1-460e-94a8-88bcbdfd1ee2\"},{\"name\":\"Vila Velha\",\"id\":\"3b0165b3-b47a-44bf-8ac9-d1411ad9db2f\"},{\"name\":\"Vitoria\",\"id\":\"bdaf7415-1b6c-4ecf-9eaa-ea23edc7d464\"},{\"name\":\"Volta Redonda\",\"id\":\"48ea0ba6-7088-45f8-910c-f971523e33a7\"},{\"name\":\"Votorantim\",\"id\":\"80c0fe2b-c3ea-4e9e-81ef-4c1d02926c18\"}]"}],"_postman_id":"4bd7ab7c-3bf4-9050-470c-e7b5bffa51fb"},{"name":"/localNumber/getCountryId","id":"02b502e2-6280-9530-fc53-79e8054a16d0","request":{"method":"GET","header":[{"key":"x-api-key","value":"hdkjashdkjashdjashdkajsh12312"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.vivimobile.com/v1/localNumber/getCountryId","description":"Get a list of available countries to use within the local numbers. \n\nThe id returned shoud be inserted into getAreaNameByCountryId to find the available places"},"response":[],"_postman_id":"02b502e2-6280-9530-fc53-79e8054a16d0"}],"id":"848edf3b-ab72-438e-9f8d-ed8046a311fe","event":[{"listen":"prerequest","script":{"id":"0fc8e2a7-9df8-43ff-8ff6-74a0c22a86d4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e4663f4e-d46a-43f8-858f-35a2b2f0cb28","type":"text/javascript","exec":[""]}}],"_postman_id":"848edf3b-ab72-438e-9f8d-ed8046a311fe"},{"name":"Activate New Devices","item":[{"name":"/activatePhoneAndSIM","id":"49e7dc41-7134-5700-1813-41b8cc32efd9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"ziPjgfcqTT6F2Hmzcu9mV7b0d0mSNzsz5VVsD88w","disabled":true}],"body":{"mode":"raw","raw":"{\n \"customer\":{\n   \"firstName\": \"Lucas\",\n   \"lastName\": \"Bretas\",\n   \"SSN\":\"1235\",\n   \"DOB\": \"01/01/1991\",\n   \"houseNumber\": \"951\",\n   \"street\": \"Yamato Rd\",\n   \"city\": \"Boca Raton\",\n   \"stateCode\":\"FL\",\n   \"email\": \"lucas.sodre@gmail.com\",\n   \"zipCode\": \"33431\",\n   \"primaryPhone\": \"5613326236\"\n },\n \n \"deviceInfo\":{\n   \"modelNumber\": \"XingLang\",\n   \"model\": \"XL1\",\n   \"ESN\": \"8901260723154539764\"\n }\n \n\n}"},"url":"https://api.vivimobile.com/v1/activate/activatePhoneAndSIM","description":"This endpoint activates a new SIM Card with a brand new phone"},"response":[{"id":"012f92a7-e36f-04e4-a9b2-8f0df7a6bf1b","name":"activatePhoneAndSIM (Success)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"AJSKDHAKJSDHAKSDJHASKD"}],"body":{"mode":"raw","raw":"\n{\n\t\"costumer\":{\n\t\t\"firstName\": \"Lucas\",\n\t\t\"lastName\": \"Santos\",\n\t\t\"SSN\":\"1234\",\n\t\t\"DOB\": \"12/12/1991\",\n\t\t\"houseNumber\": \"951\",\n\t\t\"street\": \"Yamato Rd\",\n\t\t\"city\": \"Boca Raton\",\n\t\t\"stateCode\":\"FL\",\n\t\t\"email\": \"email@vivitech.com.br\",\n\t\t\"zipCode\": \"33431\",\n\t\t\"primaryPhone\": \"15423432345\"\n\t},\n\t\n\t\"deviceInfo\":{\n\t\t\"modelNumber\": \"XingLing\",\n\t\t\"model\": \"XL1\",\n\t\t\"ESN\": \"8901260713168959207\"\n\t}\n\t\n\n}\n\n\n\n"},"url":"https://api.vivimobile.com/v1/activate/activatePhoneAndSIM"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"944","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Wed, 28 Feb 2018 01:34:07 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"3b0-EtPxaYhmLonRoKJmnMAlyuXvPik\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"7486","body":"{\"SubscriberOrderID\":42682,\"ETCData\":{\"ETCFlag\":false,\"LOAFlag\":false,\"ETCApprovedFlag\":false,\"TribalFlag\":false,\"InCoverageAreaFlag\":false,\"ProofOfBenefitsUploadedFlag\":false,\"IdentityProofUploadedFlag\":true,\"TribalID\":\"1\",\"LifelineCertificationTypeID\":1},\"AccountNumber\":46496,\"FirstName\":\"Lucas\",\"LastName\":\"Santos\",\"MiddleInital\":null,\"SSN\":\"1234\",\"DOB\":\"12/12/1991 00:00:00\",\"HouseNumber\":\"951\",\"Street\":\"Yamato Rd\",\"City\":\"Boca Raton\",\"StateCode\":\"FL\",\"Zipcode\":\"33431\",\"Email\":\"email@vivitech.com.br\",\"PrimaryPhone\":\"1542343234\",\"WirelessProviderTypeID\":100001,\"CustomerPackageID\":547,\"NLADStatus\":\"Pending\",\"CoverageServiceArea\":\"DBC\",\"Status\":\"success\",\"StatusText\":\"\",\"DeviceInfo\":{\"ModelNumber\":\"XingLing\",\"Model\":\"XL1\",\"ESN\":\"8901260713168959207\",\"ESN_HEX\":null,\"MSID\":null,\"MDNReturnVal\":\"5618096955\",\"MSL\":null,\"LTEAddlActivationCode\":null,\"HotlineOnActivate\":false},\"RequestMessageID\":null,\"CheckPoint\":0,\"ExceptionContext\":null}"},{"id":"68b55ed5-fb18-4925-50d5-348faa02f822","name":"activatePhoneAndSIM (FAIL Already Active)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"IASHDKAJSDHAKJHSDKAJSHDKA"}],"body":{"mode":"raw","raw":"\n{\n\t\"costumer\":{\n\t\t\"firstName\": \"Lucas\",\n\t\t\"lastName\": \"Santos\",\n\t\t\"SSN\":\"1234\",\n\t\t\"DOB\": \"12/12/1991\",\n\t\t\"houseNumber\": \"123\",\n\t\t\"street\": \"test street blvd\",\n\t\t\"city\": \"test City of angles\",\n\t\t\"stateCode\":\"FL\",\n\t\t\"email\": \"email@vivitech.com.br\",\n\t\t\"zipCode\": \"33431\",\n\t\t\"primaryPhone\": \"15423432345\"\n\t},\n\t\n\t\"deviceInfo\":{\n\t\t\"modelNumber\": \"XingLing\",\n\t\t\"model\": \"XL1\",\n\t\t\"ESN\": \"8901260713168959199\"\n\t}\n\t\n\n}\n\n\n\n"},"url":"https://api.vivimobile.com/v1/activate/activatePhoneAndSIM"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"506","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Wed, 28 Feb 2018 01:10:16 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"1fa-EK0twobJxvJVnBrudD82d4lWbLc\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"339","body":"{\"SubscriberOrderID\":0,\"ETCData\":null,\"AccountNumber\":0,\"FirstName\":null,\"LastName\":null,\"MiddleInital\":null,\"SSN\":null,\"DOB\":\"01/01/0001 00:00:00\",\"HouseNumber\":null,\"Street\":null,\"City\":null,\"StateCode\":null,\"Zipcode\":null,\"Email\":null,\"PrimaryPhone\":null,\"WirelessProviderTypeID\":0,\"CustomerPackageID\":0,\"NLADStatus\":null,\"CoverageServiceArea\":null,\"Status\":\"fail\",\"StatusText\":\"Device is already active ,MDN =5618096871\",\"DeviceInfo\":null,\"RequestMessageID\":null,\"CheckPoint\":0,\"ExceptionContext\":null}"}],"_postman_id":"49e7dc41-7134-5700-1813-41b8cc32efd9"},{"name":"/activate/hotlineUser","id":"2fa641e3-e64c-4068-57ec-4fefbab3e794","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"KJHAKJSDHAKJSDHAKSDHJAKJSHD"}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":\"inteiro\"}"},"url":"https://api.vivimobile.com/v1/activate/hotlineUser","description":"This endpoint makes the line of a phone Restricted, to activate the line again use the unhotline function"},"response":[{"id":"6a8f1fa1-1ae8-091e-d430-8fa8db13b8af","name":"/activate/hotlineUser (Success)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":\"5613326236\"}"},"url":"http://www.vivimobile.com:3000/activate/hotlineUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"156","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sat, 03 Mar 2018 00:22:48 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"9c-0Ku6MVdpihpCzRnuNa6m/Fv5wfw\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"18343","body":"{\"MDN\":\"5613326236\",\"Status\":\"success\",\"ErrorMessage\":null,\"RequestMessageID\":\"93408be0-a5e6-4bdf-a4f8-c3dccfe3b180\",\"CheckPoint\":0,\"ExceptionContext\":null}"},{"id":"abf8585a-d0de-4c99-2b7a-46033939e26d","name":"/activate/hotlineUser (Error2)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":\"5613326235\"}"},"url":"http://www.vivimobile.com:3000/activate/hotlineUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"201","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sat, 03 Mar 2018 00:23:57 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"c9-HWYA4s77z+fdIlyesI+oZz9YB54\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"468","body":"{\"MDN\":null,\"Status\":null,\"ErrorMessage\":\"T-Mobile API Error :909 : MDN does not belong to this vendor\",\"RequestMessageID\":\"b72f4126-7315-4982-852d-3ad471430fab\",\"CheckPoint\":0,\"ExceptionContext\":null}"},{"id":"bb32cbbe-be49-8232-7a56-c3dc57abf201","name":"/activate/hotlineUser (Error1)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":\"5613326236\"}"},"url":"http://www.vivimobile.com:3000/activate/hotlineUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"211","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sat, 03 Mar 2018 00:23:40 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"d3-nisr7TcfrGJ+Jgzc99/t1X3NBks\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"763","body":"{\"MDN\":null,\"Status\":null,\"ErrorMessage\":\"T-Mobile API Error :935 : SUBSCRIBER STATE NOT IN NEW OR ACTIVE STATE.\",\"RequestMessageID\":\"bb6f28f9-9051-45de-bfdb-dbe555203a1b\",\"CheckPoint\":0,\"ExceptionContext\":null}"}],"_postman_id":"2fa641e3-e64c-4068-57ec-4fefbab3e794"},{"name":"/activate/unhotlineUser","id":"80982dcf-be1b-b7b3-dead-f18066a2850e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"KJAHSKDJHAKSJDHAKSJHKJDHAKJSHAK"}],"body":{"mode":"raw","raw":"{\"MDN\": \"5613327434\", \"ESN\": \"8901260713168958738\"}"},"url":"https://api.vivimobile.com/v1/activate/unhotlineUser","description":"Unhotline user so that he/she can start making calls."},"response":[{"id":"99abeb00-bdd9-62e7-fa91-6bca6758141e","name":"/activate/unhotlineUser (Success)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"KJHDKJAHSKDJHASDKJAHSDKJ"}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":5613326236}"},"url":"https://api.vivimobile.com/v1/activate/unhotlineUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"156","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sat, 03 Mar 2018 00:24:28 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"9c-HO1FWiY0IfWyxI+nTBpwMPj6w7I\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"604","body":"{\"MDN\":\"5613326236\",\"Status\":\"success\",\"ErrorMessage\":null,\"RequestMessageID\":\"2bdee0f6-048b-4aa9-872b-24dde93354b6\",\"CheckPoint\":0,\"ExceptionContext\":null}"},{"id":"ae2debee-6f8e-13e8-f70b-ff1b6f6dbb5f","name":"unhotlineUser\"","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"unhotlineUser?MDN=integer","host":["unhotlineUser"],"query":[{"key":"MDN","value":"integer"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":"0","body":"\"MDN\": \"integer\",\n\"status\": \"string\",\n\"errorMessage\": \"string\""},{"id":"ea255c1a-e83a-2ea8-e4bb-52947bd996b1","name":"/activate/unhotlineUser (Error)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"SADASDASDASDAFASDASD"}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":5613326236}"},"url":"https://api.vivimobile.com/v1/activate/unhotlineUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"212","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Fri, 02 Mar 2018 21:07:11 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"d4-x6dHsB6tg7+b8BN+tPzWq8Ry5Fo\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"664","body":"{\"MDN\":null,\"Status\":null,\"ErrorMessage\":\"T-Mobile API Error :934 : SUBSCRIBER STATE NOT IN NEW OR HOTLINE STATE.\",\"RequestMessageID\":\"5d3a938f-ec02-42d4-94e6-297f81b78c80\",\"CheckPoint\":0,\"ExceptionContext\":null}"}],"_postman_id":"80982dcf-be1b-b7b3-dead-f18066a2850e"},{"name":"/activate/unhotlineUserByESN","id":"0812715c-2802-9aa7-7d30-997a2696b300","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"KJAHSKDJHAKSJDHAKSJHKJDHAKJSHAK"}],"body":{"mode":"raw","raw":"{\"MDN\": \"5613327434\", \"ESN\": \"8901260713168958738\"}"},"url":"https://api.vivimobile.com/v1/activate/unhotlineUser","description":"Unhotline user so that he/she can start making calls."},"response":[{"id":"7a1633f8-f6d0-efa9-b9f0-dd1fd9b72cf1","name":"/activate/unhotlineUser (Success)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"KJHDKJAHSKDJHASDKJAHSDKJ"}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":5613326236}"},"url":"https://api.vivimobile.com/v1/activate/unhotlineUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"156","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sat, 03 Mar 2018 00:24:28 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"9c-HO1FWiY0IfWyxI+nTBpwMPj6w7I\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"604","body":"{\"MDN\":\"5613326236\",\"Status\":\"success\",\"ErrorMessage\":null,\"RequestMessageID\":\"2bdee0f6-048b-4aa9-872b-24dde93354b6\",\"CheckPoint\":0,\"ExceptionContext\":null}"},{"id":"c5820896-e2eb-03e3-cd36-45fa30ab59cf","name":"unhotlineUser\"","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"unhotlineUser?MDN=integer","host":["unhotlineUser"],"query":[{"key":"MDN","value":"integer"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":"0","body":"\"MDN\": \"integer\",\n\"status\": \"string\",\n\"errorMessage\": \"string\""},{"id":"de35fccd-3ffb-4998-1477-23877fb64724","name":"/activate/unhotlineUser (Error)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"SADASDASDASDAFASDASD"}],"body":{"mode":"raw","raw":"{\"ESN\":\"inteiro\", \"MDN\":5613326236}"},"url":"https://api.vivimobile.com/v1/activate/unhotlineUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept","name":"Access-Control-Allow-Headers","description":""},{"key":"Access-Control-Allow-Origin","value":"*","name":"Access-Control-Allow-Origin","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Length","value":"212","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Fri, 02 Mar 2018 21:07:11 GMT","name":"Date","description":""},{"key":"ETag","value":"W/\"d4-x6dHsB6tg7+b8BN+tPzWq8Ry5Fo\"","name":"ETag","description":""},{"key":"X-Powered-By","value":"Express","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"664","body":"{\"MDN\":null,\"Status\":null,\"ErrorMessage\":\"T-Mobile API Error :934 : SUBSCRIBER STATE NOT IN NEW OR HOTLINE STATE.\",\"RequestMessageID\":\"5d3a938f-ec02-42d4-94e6-297f81b78c80\",\"CheckPoint\":0,\"ExceptionContext\":null}"}],"_postman_id":"0812715c-2802-9aa7-7d30-997a2696b300"},{"name":"/activate/portability","id":"82f60db9-0892-ad2d-921a-a58e12b9d173","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\n{\n  \"costumer\":{\n    \"firstName\": \"Lucas\",\n    \"lastName\": \"Test\",\n    \"SSN\":\"1224\",\n    \"DOB\": \"11/12/1988\",\n    \"houseNumber\": \"5500\",\n    \"street\": \"Military\",\n    \"city\": \"Boca Raton\",\n    \"stateCode\":\"FL\",\n    \"email\": \"email@vivitech.com.br\",\n    \"zipCode\": \"33496\",\n    \"primaryPhone\": \"15423432345\",\n    \"MDN\":\"5613026236\",\n    \"authroizedBy\":\"lucas\",\n\"oldProviderAccountID\": \"1233\",\n\"PortInOldProviderPassword\": \"12333\"\n  },\n  \n  \"deviceInfo\":{\n    \"modelNumber\": \"XingLing\",\n    \"model\": \"XL1\",\n    \"ESN\": \"8901260713168958522\"\n  }\n  \n\n}"},"url":"localhost:3000/activate/portability","description":"This endpoint starts the portability of external number to a ViViMobile numbers"},"response":[],"_postman_id":"82f60db9-0892-ad2d-921a-a58e12b9d173"}],"id":"fd03ee76-b4ba-e83c-a4b7-1c59bd53c15f","description":"This folder cointains the flow of bringing new devices and new lines to Vivi\n\nHere you can:\n 1. Activate a new SIM card and a Phone\n 2. Activate only a new SIM Card with a user's phone (BYOD Feature - Bring you own device)","_postman_id":"fd03ee76-b4ba-e83c-a4b7-1c59bd53c15f"},{"name":"Customer","item":[{"name":"/customer/searchByPhone?phone=string","id":"a391c0bb-27cc-3dfb-cc5f-dd80160a4377","request":{"method":"GET","header":[{"key":"x-api-key","value":"JaWEclywWO2lRmBKaZ8un6nAiFr2rnL3R13vaQDd"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"localhost:3000/customer/searchByPhone?phone=123456","host":["localhost"],"port":"3000","path":["customer","searchByPhone"],"query":[{"key":"phone","value":"123456"}]},"description":"Search a register through a phone number"},"response":[],"_postman_id":"a391c0bb-27cc-3dfb-cc5f-dd80160a4377"},{"name":"/customer/addNewCostumer","id":"2b7d5826-9bb8-a42d-5f89-fbf260085dd6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"firstName\": \"tito\",\n   \"lastName\": \"yamamoto\",\n   \"middleInital\": \"\",\n   \"SSN\": \"1234\",\n   \"DOB\": \"4/6/1970\",\n   \"houseNumber\": \"123\",\n   \"street\": \"4767 kernan mill ln e\",\n   \"city\": \"Jacksonville\",\n   \"stateCode\": \"FL\",\n   \"zipCode\": \"32224\",\n   \"email\": \"savon@unavo.com\",\n   \"primaryPhone\": \"9045218793\",\n   \"wirelessProviderTypeID\": 100000,\n   \"customerPackageID\": 6,\n   \"MDN\": \"123456789\",\n   \"password\":\"123456\"\n}\n"},"url":"https://api.vivimobile.com/v1/customer/addNewCostumer","description":"This function add a new customer to the database"},"response":[],"_postman_id":"2b7d5826-9bb8-a42d-5f89-fbf260085dd6"},{"name":"/customer/searchByName","id":"4242796c-3d92-74c4-03e7-accd77a372ed","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"","description":"Given a name returns a list with the matches"},"response":[],"_postman_id":"4242796c-3d92-74c4-03e7-accd77a372ed"},{"name":"/customer/searchByMDN?MDN=integer","id":"06716650-f7b3-26fc-d265-2a40ca93a907","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://www.vivimobile.com:3000/costumer/searchByMDN?MDN=integer","protocol":"http","host":["www","vivimobile","com"],"port":"3000","path":["costumer","searchByMDN"],"query":[{"key":"MDN","value":"integer"}]},"description":"Search a register through a MDN number"},"response":[],"_postman_id":"06716650-f7b3-26fc-d265-2a40ca93a907"},{"name":"/customer/addShippingConfirmation","id":"c56733c0-283b-99ce-7212-eac2372f9387","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n        \"orderNumber\": 123,\n        \"shippingDate\": \"10/10/2010\",\n        \"lineNumber\": 5611234343,\n        \"SKU\": 1,\n        \"quantity\": 1,\n        \"serialNumber\": 123,\n        \"trackingNumber\": \"RXSASDA\"\n}"},"url":"localhost:3000/customer/addShippingConfirmation","description":"This function adds the shippment info after the device provisioning "},"response":[],"_postman_id":"c56733c0-283b-99ce-7212-eac2372f9387"},{"name":"auth/login","id":"c57048b7-6a4d-73ab-4b1c-ef0178dc9b5a","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"x-api-key","value":"adasdasdasdsasda"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\":\"tito@gmail.coma\",\n\t\"password\":\"123456\"\n}\n"},"url":"https://api.vivimobile.com/v1/auth/login","description":"Login a user"},"response":[],"_postman_id":"c57048b7-6a4d-73ab-4b1c-ef0178dc9b5a"}],"id":"20bca403-a1db-43eb-83a2-878d84c156db","description":"This folder contais the functions to add, search, update customers.","_postman_id":"20bca403-a1db-43eb-83a2-878d84c156db"},{"name":"getBalance","id":"b40ba953-f26e-3e9e-e97b-fb31eb8902ec","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://api.vivimobile.com/v1/getBalance?MDN=5614038384","protocol":"https","host":["api","vivimobile","com"],"path":["v1","getBalance"],"query":[{"key":"MDN","value":"5614038384"}]},"description":"Return the SMS, Data and Minutes remaining for the account"},"response":[{"id":"0eeba7a7-0787-c350-128f-97e12ab037a7","name":"getBalance (success)","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"AJSDHAKSJDHAKJSDHAKJSD"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://api.vivimobile.com/v1/getBalance?MDN=5613326236","protocol":"https","host":["api","vivimobile","com"],"path":["v1","getBalance"],"query":[{"key":"MDN","value":"5613326236"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\"Status\":\"ACTIVE\",\"TalkMinutes\":\"2957\",\"TextMessages\":\"4910\",\"Data\":\"3183136528\",\"EndDate\":\"2018-03-04 11:58:29\",\"Balance\":\"2109394704\"}"},{"id":"6c184e6c-6126-6ba9-44d0-218a80b5e436","name":"getBalance (fail)","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"KSAJDLSKAJDKALSDJALKSDJALSKDJ"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://api.vivimobile.com/v1/getBalance?MDN=5613326233","protocol":"https","host":["api","vivimobile","com"],"path":["v1","getBalance"],"query":[{"key":"MDN","value":"5613326233"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\"Status\":\"Not a valid number\"}"},{"id":"ddaca62e-5b1f-54a1-494f-12b50dba1d03","name":"getBalance (pattern)","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"KJASHDKJAHSDKJAHSDKJADHSKAJSH"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://api.vivimobile.com/v1/getBalance?MDN=integer","protocol":"https","host":["api","vivimobile","com"],"path":["v1","getBalance"],"query":[{"key":"MDN","value":"integer"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\"Status\":\"string\",\n\"TalkMinutes\":\"integer\",\n\"TextMessages\":\"integer\",\n\"Data\":\"integer\",\n\"EndDate\":\"date\",\n\"Balance\":\"integer\"}"}],"_postman_id":"b40ba953-f26e-3e9e-e97b-fb31eb8902ec"},{"name":"checkCoverage","id":"96a43039-894a-5418-7a64-874d1ef5ad97","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"ZIP\":28617,\n    \t\"PrepaidWirelessCredential\":{\n\t\t\"USERNAME\":\"North American Local\",\n\t\t\"TOKENPASSWORD\":\"qAWufANapEye8uS\",\n\t\t\"PIN\":\"North American Local5691\",\n\t\t\"CLEC\":\"1004\",\n\t\t\"CLECID\": 47\n\t}\n}"},"url":{"raw":"http://www.vivimobile.com:3000/checkCoverage?ZIP=integer","protocol":"http","host":["www","vivimobile","com"],"port":"3000","path":["checkCoverage"],"query":[{"key":"ZIP","value":"integer"}]},"description":"Check coverage area for a specific zip code.\n\nreturns a boolean\n\ntrue if is cover and false if is not"},"response":[{"id":"1944f539-0565-1b2e-9628-fa1940d8d999","name":"checkCoverage?ZIP=28617 (Unsuccess case)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"ZIP\":28617,\n    \t\"PrepaidWirelessCredential\":{\n\t\t\"USERNAME\":\"North American Local\",\n\t\t\"TOKENPASSWORD\":\"qAWufANapEye8uS\",\n\t\t\"PIN\":\"North American Local5691\",\n\t\t\"CLEC\":\"1004\",\n\t\t\"CLECID\": 47\n\t}\n}"},"url":{"raw":"http://www.vivimobile.com:3000/checkCoverage?ZIP=28617","protocol":"http","host":["www","vivimobile","com"],"port":"3000","path":["checkCoverage"],"query":[{"key":"ZIP","value":"28617"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Fri, 09 Feb 2018 22:02:43 GMT","name":"Date","description":""},{"key":"Server","value":"Microsoft-IIS/7.5","name":"Server","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-AspNet-Version","value":"4.0.30319","name":"X-AspNet-Version","description":""},{"key":"X-AspNetMvc-Version","value":"5.2","name":"X-AspNetMvc-Version","description":""},{"key":"X-Powered-By","value":"ASP.NET","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"964","body":"{\n    \"coverage\": false\n}"},{"id":"2833f1aa-3afa-f33b-7d36-1728e7538ca1","name":"checkCoverage?ZIP=33131 (Success case)","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ZIP\":28617,\n      \"PrepaidWirelessCredential\":{\n    \"USERNAME\":\"North American Local\",\n    \"TOKENPASSWORD\":\"qAWufANapEye8uS\",\n    \"PIN\":\"North American Local5691\",\n    \"CLEC\":\"1004\",\n    \"CLECID\": 47\n  }\n}"},"url":{"raw":"https://api.vivimobile.com/v1/checkCoverage?ZIP=33431","protocol":"https","host":["api","vivimobile","com"],"path":["v1","checkCoverage"],"query":[{"key":"ZIP","value":"33431"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Fri, 09 Feb 2018 21:59:22 GMT","name":"Date","description":""},{"key":"Server","value":"Microsoft-IIS/7.5","name":"Server","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-AspNet-Version","value":"4.0.30319","name":"X-AspNet-Version","description":""},{"key":"X-AspNetMvc-Version","value":"5.2","name":"X-AspNetMvc-Version","description":""},{"key":"X-Powered-By","value":"ASP.NET","name":"X-Powered-By","description":""}],"cookie":[],"responseTime":"1494","body":"{\n    \"coverage\": true\n}"},{"id":"94eca599-8e26-bab0-18c5-3952d256a163","name":"checkCoverage (Pattern)","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n\t\"ZIP\":28617,\n    \t\"PrepaidWirelessCredential\":{\n\t\t\"USERNAME\":\"North American Local\",\n\t\t\"TOKENPASSWORD\":\"qAWufANapEye8uS\",\n\t\t\"PIN\":\"North American Local5691\",\n\t\t\"CLEC\":\"1004\",\n\t\t\"CLECID\": 47\n\t}\n}"},"url":{"raw":"checkCoverage?zip=integer","host":["checkCoverage"],"query":[{"key":"zip","value":"integer"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":"0","body":"{\n   \"coverage\":\"boolean\"\n}"}],"_postman_id":"96a43039-894a-5418-7a64-874d1ef5ad97"}],"event":[{"listen":"prerequest","script":{"id":"27ffcf4b-2679-4859-8abf-b474e0ab0a12","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7ac639d7-184d-407a-b11c-48af5afde61c","type":"text/javascript","exec":[""]}}]}