audiovalid.postman_collection.json 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384
  1. {
  2. "info": {
  3. "_postman_id": "e420d1be-c89d-4d49-8a1f-939fefd6a896",
  4. "name": "AudioValid",
  5. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  6. },
  7. "item": [
  8. {
  9. "name": "Archivo",
  10. "item": [
  11. {
  12. "name": "/v1/archivo",
  13. "request": {
  14. "method": "GET",
  15. "header": [
  16. {
  17. "key": "Authorization",
  18. "value": "Bearer {{token}}",
  19. "type": "text"
  20. }
  21. ],
  22. "url": {
  23. "raw": "{{url}}/v1/archivo?ciudad=prueba&estacion=100_3HMO&fecha=2020-02-10",
  24. "host": [
  25. "{{url}}"
  26. ],
  27. "path": [
  28. "v1",
  29. "archivo"
  30. ],
  31. "query": [
  32. {
  33. "key": "ciudad",
  34. "value": "prueba"
  35. },
  36. {
  37. "key": "estacion",
  38. "value": "100_3HMO"
  39. },
  40. {
  41. "key": "fecha",
  42. "value": "2020-02-10"
  43. }
  44. ]
  45. }
  46. },
  47. "response": []
  48. }
  49. ],
  50. "event": [
  51. {
  52. "listen": "prerequest",
  53. "script": {
  54. "id": "340dce24-32de-48b6-8671-58f333228f11",
  55. "type": "text/javascript",
  56. "exec": [
  57. ""
  58. ]
  59. }
  60. },
  61. {
  62. "listen": "test",
  63. "script": {
  64. "id": "50212eaf-0fd0-42fc-883b-0d87435f8cad",
  65. "type": "text/javascript",
  66. "exec": [
  67. ""
  68. ]
  69. }
  70. }
  71. ],
  72. "protocolProfileBehavior": {}
  73. },
  74. {
  75. "name": "Audio",
  76. "item": [
  77. {
  78. "name": "/v1/audio",
  79. "request": {
  80. "method": "GET",
  81. "header": [
  82. {
  83. "key": "Content-Type",
  84. "name": "Content-Type",
  85. "value": "application/x-www-form-urlencoded",
  86. "type": "text"
  87. },
  88. {
  89. "key": "Authorization",
  90. "value": "Bearer {{token}}",
  91. "type": "text"
  92. }
  93. ],
  94. "url": {
  95. "raw": "{{url}}/v1/audio",
  96. "host": [
  97. "{{url}}"
  98. ],
  99. "path": [
  100. "v1",
  101. "audio"
  102. ]
  103. }
  104. },
  105. "response": []
  106. },
  107. {
  108. "name": "/v1/audio/crear",
  109. "request": {
  110. "method": "POST",
  111. "header": [
  112. {
  113. "key": "Content-Type",
  114. "name": "Content-Type",
  115. "value": "application/json",
  116. "type": "text"
  117. },
  118. {
  119. "key": "Authorization",
  120. "value": "Bearer {{token}}",
  121. "type": "text"
  122. }
  123. ],
  124. "body": {
  125. "mode": "raw",
  126. "raw": "{\n\t\"clave\": \"TVP0212020\",\n\t\"dependencia\": \"PROFECO\",\n\t\"nombre\": \"TVP0212020_PROFECO_RC2020_TV_REVISTA_No_08.mp3\",\n\t\"ruta\": \"/ruta/firebase/storage/-abcdef\",\n\t\"duracion\": 0\n}",
  127. "options": {
  128. "raw": {
  129. "language": "json"
  130. }
  131. }
  132. },
  133. "url": {
  134. "raw": "{{url}}/v1/audio/crear?=",
  135. "host": [
  136. "{{url}}"
  137. ],
  138. "path": [
  139. "v1",
  140. "audio",
  141. "crear"
  142. ],
  143. "query": [
  144. {
  145. "key": "",
  146. "value": ""
  147. }
  148. ]
  149. }
  150. },
  151. "response": []
  152. },
  153. {
  154. "name": "/v1/audio/editar",
  155. "request": {
  156. "method": "POST",
  157. "header": [
  158. {
  159. "key": "Content-Type",
  160. "name": "Content-Type",
  161. "value": "application/json",
  162. "type": "text"
  163. },
  164. {
  165. "key": "Authorization",
  166. "value": "Bearer {{token}}",
  167. "type": "text"
  168. }
  169. ],
  170. "body": {
  171. "mode": "raw",
  172. "raw": "{\n\t\"clave\": \"TVP0212020\",\n\t\"dependencia\": \"PROFECO\",\n\t\"nombre\": \"TVP0212020_PROFECO_RC2020_TV_REVISTA_No_08.mp3\",\n\t\"ruta\": \"/ruta/firebase/storage/-abcdef\",\n\t\"duracion\": 0\n}",
  173. "options": {
  174. "raw": {
  175. "language": "json"
  176. }
  177. }
  178. },
  179. "url": {
  180. "raw": "{{url}}/v1/audio/editar?id=1",
  181. "host": [
  182. "{{url}}"
  183. ],
  184. "path": [
  185. "v1",
  186. "audio",
  187. "editar"
  188. ],
  189. "query": [
  190. {
  191. "key": "id",
  192. "value": "1"
  193. }
  194. ]
  195. }
  196. },
  197. "response": []
  198. }
  199. ],
  200. "event": [
  201. {
  202. "listen": "prerequest",
  203. "script": {
  204. "id": "6784d688-1efb-49dd-94c4-4fc8c40f68f0",
  205. "type": "text/javascript",
  206. "exec": [
  207. ""
  208. ]
  209. }
  210. },
  211. {
  212. "listen": "test",
  213. "script": {
  214. "id": "71dc1bc6-cdb6-4ff7-bb9d-8af625e059b8",
  215. "type": "text/javascript",
  216. "exec": [
  217. ""
  218. ]
  219. }
  220. }
  221. ],
  222. "protocolProfileBehavior": {}
  223. },
  224. {
  225. "name": "Campaña",
  226. "item": [
  227. {
  228. "name": "/v1/campana/crear",
  229. "request": {
  230. "method": "POST",
  231. "header": [
  232. {
  233. "key": "Content-Type",
  234. "name": "Content-Type",
  235. "value": "application/json",
  236. "type": "text"
  237. },
  238. {
  239. "key": "Authorization",
  240. "value": "Bearer {{token}}",
  241. "type": "text"
  242. }
  243. ],
  244. "body": {
  245. "mode": "raw",
  246. "raw": "{\n\t\"estado\": \"SONORA\",\n\t\"siglas\": \"XENW-AM\",\n\t\"orden\": \"DTORT/0241/2020\",\n\t\"tipo\": \"FISCAL\",\n\t\"pautas\": [\n\t\t{\n\t\t\t\"clave\": \"RDF3662019\",\n\t\t\t\"dependencia\": \"COFECE\",\n\t\t\t\"campana\": \"La COFECE Trabaja en tu Favor\",\n\t\t\t\"version\": \"Panaderias\",\n\t\t\t\"duracion\": 30,\n\t\t\t\"fecha\": [\n\t\t\t\t\"2020-02-18 06:00:00\",\n\t\t\t\t\"2020-02-18 07:00:00\"\n\t\t\t],\n\t\t\t\"repeticiones\": 1\n\t\t}\n\t]\n}",
  247. "options": {
  248. "raw": {
  249. "language": "json"
  250. }
  251. }
  252. },
  253. "url": {
  254. "raw": "{{url}}/v1/campana?id=2&expand=pautas",
  255. "host": [
  256. "{{url}}"
  257. ],
  258. "path": [
  259. "v1",
  260. "campana"
  261. ],
  262. "query": [
  263. {
  264. "key": "id",
  265. "value": "2"
  266. },
  267. {
  268. "key": "expand",
  269. "value": "pautas"
  270. }
  271. ]
  272. }
  273. },
  274. "response": []
  275. }
  276. ],
  277. "event": [
  278. {
  279. "listen": "prerequest",
  280. "script": {
  281. "id": "99490fa1-1020-4979-853a-ae8b3ca68d52",
  282. "type": "text/javascript",
  283. "exec": [
  284. ""
  285. ]
  286. }
  287. },
  288. {
  289. "listen": "test",
  290. "script": {
  291. "id": "8fabd20a-900a-47eb-aa21-6e20a2f7bffa",
  292. "type": "text/javascript",
  293. "exec": [
  294. ""
  295. ]
  296. }
  297. }
  298. ],
  299. "protocolProfileBehavior": {}
  300. },
  301. {
  302. "name": "Ciudad",
  303. "item": [
  304. {
  305. "name": "/v1/ciudad",
  306. "request": {
  307. "method": "GET",
  308. "header": [
  309. {
  310. "key": "Authorization",
  311. "value": "Bearer {{token}}",
  312. "type": "text"
  313. }
  314. ],
  315. "url": {
  316. "raw": "{{url}}/v1/ciudad?expand=estaciones",
  317. "host": [
  318. "{{url}}"
  319. ],
  320. "path": [
  321. "v1",
  322. "ciudad"
  323. ],
  324. "query": [
  325. {
  326. "key": "expand",
  327. "value": "estaciones"
  328. }
  329. ]
  330. }
  331. },
  332. "response": []
  333. },
  334. {
  335. "name": "/v1/ciudad/editar",
  336. "request": {
  337. "method": "POST",
  338. "header": [
  339. {
  340. "key": "Content-Type",
  341. "value": "application/json",
  342. "type": "text"
  343. },
  344. {
  345. "key": "Authorization",
  346. "value": "Bearer {{token}}",
  347. "type": "text"
  348. }
  349. ],
  350. "body": {
  351. "mode": "raw",
  352. "raw": "{\n\t\"idEstado\": \"CIUDAD DE MEXICO\"\n}"
  353. },
  354. "url": {
  355. "raw": "{{url}}/v1/ciudad/editar?id=VhTifIvKH8",
  356. "host": [
  357. "{{url}}"
  358. ],
  359. "path": [
  360. "v1",
  361. "ciudad",
  362. "editar"
  363. ],
  364. "query": [
  365. {
  366. "key": "id",
  367. "value": "VhTifIvKH8"
  368. }
  369. ]
  370. }
  371. },
  372. "response": []
  373. }
  374. ],
  375. "protocolProfileBehavior": {}
  376. },
  377. {
  378. "name": "Cuenta",
  379. "item": [
  380. {
  381. "name": "/v1/cuenta/iniciar-sesion",
  382. "event": [
  383. {
  384. "listen": "test",
  385. "script": {
  386. "id": "96c4d830-6243-4290-a423-107b4e9b3b02",
  387. "exec": [
  388. "var jsonData = pm.response.json();",
  389. "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {",
  390. " pm.environment.set(\"token\", jsonData[\"token\"]);",
  391. "}"
  392. ],
  393. "type": "text/javascript"
  394. }
  395. }
  396. ],
  397. "request": {
  398. "method": "POST",
  399. "header": [
  400. {
  401. "key": "Content-Type",
  402. "name": "Content-Type",
  403. "value": "application/json",
  404. "type": "text"
  405. }
  406. ],
  407. "body": {
  408. "mode": "raw",
  409. "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\",\n\t\"clave\": \"hquijada\"\n}",
  410. "options": {
  411. "raw": {
  412. "language": "json"
  413. }
  414. }
  415. },
  416. "url": {
  417. "raw": "{{url}}/v1/cuenta/iniciar-sesion",
  418. "host": [
  419. "{{url}}"
  420. ],
  421. "path": [
  422. "v1",
  423. "cuenta",
  424. "iniciar-sesion"
  425. ]
  426. }
  427. },
  428. "response": []
  429. },
  430. {
  431. "name": "/v1/cuenta/recuperar",
  432. "event": [
  433. {
  434. "listen": "test",
  435. "script": {
  436. "id": "96c4d830-6243-4290-a423-107b4e9b3b02",
  437. "exec": [
  438. "var jsonData = pm.response.json();",
  439. "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {",
  440. " pm.environment.set(\"token\", jsonData[\"token\"]);",
  441. "}"
  442. ],
  443. "type": "text/javascript"
  444. }
  445. }
  446. ],
  447. "request": {
  448. "method": "POST",
  449. "header": [
  450. {
  451. "key": "Content-Type",
  452. "name": "Content-Type",
  453. "value": "application/json",
  454. "type": "text"
  455. }
  456. ],
  457. "body": {
  458. "mode": "raw",
  459. "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\"\n}",
  460. "options": {
  461. "raw": {
  462. "language": "json"
  463. }
  464. }
  465. },
  466. "url": {
  467. "raw": "{{url}}/v1/cuenta/recuperar",
  468. "host": [
  469. "{{url}}"
  470. ],
  471. "path": [
  472. "v1",
  473. "cuenta",
  474. "recuperar"
  475. ]
  476. }
  477. },
  478. "response": []
  479. }
  480. ],
  481. "protocolProfileBehavior": {}
  482. },
  483. {
  484. "name": "Dependencia",
  485. "item": [
  486. {
  487. "name": "/v1/dependencia",
  488. "protocolProfileBehavior": {
  489. "disableBodyPruning": true
  490. },
  491. "request": {
  492. "method": "GET",
  493. "header": [
  494. {
  495. "key": "Content-Type",
  496. "value": "application/json",
  497. "type": "text"
  498. },
  499. {
  500. "key": "Accept",
  501. "value": "application/json",
  502. "type": "text"
  503. },
  504. {
  505. "key": "Authorization",
  506. "value": "Bearer {{token}}",
  507. "type": "text"
  508. }
  509. ],
  510. "body": {
  511. "mode": "raw",
  512. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  513. },
  514. "url": {
  515. "raw": "{{url}}/v1/dependencia?expand=ciudades",
  516. "host": [
  517. "{{url}}"
  518. ],
  519. "path": [
  520. "v1",
  521. "dependencia"
  522. ],
  523. "query": [
  524. {
  525. "key": "expand",
  526. "value": "ciudades"
  527. }
  528. ]
  529. }
  530. },
  531. "response": [
  532. {
  533. "name": "/v1/entidad",
  534. "originalRequest": {
  535. "method": "POST",
  536. "header": [
  537. {
  538. "key": "Content-Type",
  539. "value": "application/json",
  540. "type": "text"
  541. },
  542. {
  543. "key": "Accept",
  544. "value": "application/json",
  545. "type": "text"
  546. }
  547. ],
  548. "body": {
  549. "mode": "raw",
  550. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  551. },
  552. "url": {
  553. "raw": "{{url}}/v1/entidad",
  554. "host": [
  555. "{{url}}"
  556. ],
  557. "path": [
  558. "v1",
  559. "entidad"
  560. ]
  561. }
  562. },
  563. "status": "OK",
  564. "code": 200,
  565. "_postman_previewlanguage": "json",
  566. "header": [
  567. {
  568. "key": "Date",
  569. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  570. },
  571. {
  572. "key": "Server",
  573. "value": "Apache/2.4.18 (Ubuntu)"
  574. },
  575. {
  576. "key": "Vary",
  577. "value": "Accept"
  578. },
  579. {
  580. "key": "Keep-Alive",
  581. "value": "timeout=5, max=100"
  582. },
  583. {
  584. "key": "Connection",
  585. "value": "Keep-Alive"
  586. },
  587. {
  588. "key": "Transfer-Encoding",
  589. "value": "chunked"
  590. },
  591. {
  592. "key": "Content-Type",
  593. "value": "application/json; charset=UTF-8"
  594. }
  595. ],
  596. "cookie": [],
  597. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  598. }
  599. ]
  600. },
  601. {
  602. "name": "/v1/dependencia/crear",
  603. "request": {
  604. "method": "POST",
  605. "header": [
  606. {
  607. "key": "Content-Type",
  608. "value": "application/json",
  609. "type": "text"
  610. },
  611. {
  612. "key": "Accept",
  613. "value": "application/json",
  614. "type": "text"
  615. },
  616. {
  617. "key": "Authorization",
  618. "value": "Bearer {{token}}",
  619. "type": "text"
  620. }
  621. ],
  622. "body": {
  623. "mode": "raw",
  624. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"beqWHWk7YkB1\",\n\t\t\"PruebaSubida\"\n\t]\n}"
  625. },
  626. "url": {
  627. "raw": "{{url}}/v1/dependencia/crear",
  628. "host": [
  629. "{{url}}"
  630. ],
  631. "path": [
  632. "v1",
  633. "dependencia",
  634. "crear"
  635. ]
  636. }
  637. },
  638. "response": [
  639. {
  640. "name": "/v1/entidad",
  641. "originalRequest": {
  642. "method": "POST",
  643. "header": [
  644. {
  645. "key": "Content-Type",
  646. "value": "application/json",
  647. "type": "text"
  648. },
  649. {
  650. "key": "Accept",
  651. "value": "application/json",
  652. "type": "text"
  653. }
  654. ],
  655. "body": {
  656. "mode": "raw",
  657. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  658. },
  659. "url": {
  660. "raw": "{{url}}/v1/entidad",
  661. "host": [
  662. "{{url}}"
  663. ],
  664. "path": [
  665. "v1",
  666. "entidad"
  667. ]
  668. }
  669. },
  670. "status": "OK",
  671. "code": 200,
  672. "_postman_previewlanguage": "json",
  673. "header": [
  674. {
  675. "key": "Date",
  676. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  677. },
  678. {
  679. "key": "Server",
  680. "value": "Apache/2.4.18 (Ubuntu)"
  681. },
  682. {
  683. "key": "Vary",
  684. "value": "Accept"
  685. },
  686. {
  687. "key": "Keep-Alive",
  688. "value": "timeout=5, max=100"
  689. },
  690. {
  691. "key": "Connection",
  692. "value": "Keep-Alive"
  693. },
  694. {
  695. "key": "Transfer-Encoding",
  696. "value": "chunked"
  697. },
  698. {
  699. "key": "Content-Type",
  700. "value": "application/json; charset=UTF-8"
  701. }
  702. ],
  703. "cookie": [],
  704. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  705. }
  706. ]
  707. },
  708. {
  709. "name": "/v1/dependencia/editar",
  710. "request": {
  711. "method": "POST",
  712. "header": [
  713. {
  714. "key": "Content-Type",
  715. "value": "application/json",
  716. "type": "text"
  717. },
  718. {
  719. "key": "Accept",
  720. "value": "application/json",
  721. "type": "text"
  722. },
  723. {
  724. "key": "Authorization",
  725. "value": "Bearer {{token}}",
  726. "type": "text"
  727. }
  728. ],
  729. "body": {
  730. "mode": "raw",
  731. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"PruebaSubida\"\n\t]\n}"
  732. },
  733. "url": {
  734. "raw": "{{url}}/v1/dependencia/editar?id=1&expand=ciudades",
  735. "host": [
  736. "{{url}}"
  737. ],
  738. "path": [
  739. "v1",
  740. "dependencia",
  741. "editar"
  742. ],
  743. "query": [
  744. {
  745. "key": "id",
  746. "value": "1"
  747. },
  748. {
  749. "key": "expand",
  750. "value": "ciudades"
  751. }
  752. ]
  753. }
  754. },
  755. "response": [
  756. {
  757. "name": "/v1/entidad",
  758. "originalRequest": {
  759. "method": "POST",
  760. "header": [
  761. {
  762. "key": "Content-Type",
  763. "value": "application/json",
  764. "type": "text"
  765. },
  766. {
  767. "key": "Accept",
  768. "value": "application/json",
  769. "type": "text"
  770. }
  771. ],
  772. "body": {
  773. "mode": "raw",
  774. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  775. },
  776. "url": {
  777. "raw": "{{url}}/v1/entidad",
  778. "host": [
  779. "{{url}}"
  780. ],
  781. "path": [
  782. "v1",
  783. "entidad"
  784. ]
  785. }
  786. },
  787. "status": "OK",
  788. "code": 200,
  789. "_postman_previewlanguage": "json",
  790. "header": [
  791. {
  792. "key": "Date",
  793. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  794. },
  795. {
  796. "key": "Server",
  797. "value": "Apache/2.4.18 (Ubuntu)"
  798. },
  799. {
  800. "key": "Vary",
  801. "value": "Accept"
  802. },
  803. {
  804. "key": "Keep-Alive",
  805. "value": "timeout=5, max=100"
  806. },
  807. {
  808. "key": "Connection",
  809. "value": "Keep-Alive"
  810. },
  811. {
  812. "key": "Transfer-Encoding",
  813. "value": "chunked"
  814. },
  815. {
  816. "key": "Content-Type",
  817. "value": "application/json; charset=UTF-8"
  818. }
  819. ],
  820. "cookie": [],
  821. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  822. }
  823. ]
  824. }
  825. ],
  826. "event": [
  827. {
  828. "listen": "prerequest",
  829. "script": {
  830. "id": "614a934e-a343-4749-b2df-14a256659bff",
  831. "type": "text/javascript",
  832. "exec": [
  833. ""
  834. ]
  835. }
  836. },
  837. {
  838. "listen": "test",
  839. "script": {
  840. "id": "d7af8a4a-2d70-4958-8625-d89421bb3c6f",
  841. "type": "text/javascript",
  842. "exec": [
  843. ""
  844. ]
  845. }
  846. }
  847. ],
  848. "protocolProfileBehavior": {}
  849. },
  850. {
  851. "name": "Entidad",
  852. "item": [
  853. {
  854. "name": "/v1/entidad",
  855. "request": {
  856. "method": "GET",
  857. "header": [
  858. {
  859. "key": "Authorization",
  860. "value": "Bearer {{token}}",
  861. "type": "text"
  862. }
  863. ],
  864. "url": {
  865. "raw": "{{url}}/v1/entidad?id=2",
  866. "host": [
  867. "{{url}}"
  868. ],
  869. "path": [
  870. "v1",
  871. "entidad"
  872. ],
  873. "query": [
  874. {
  875. "key": "id",
  876. "value": "2"
  877. }
  878. ]
  879. }
  880. },
  881. "response": []
  882. },
  883. {
  884. "name": "/v1/entidad/crear",
  885. "request": {
  886. "method": "POST",
  887. "header": [
  888. {
  889. "key": "Content-Type",
  890. "value": "application/json",
  891. "type": "text"
  892. },
  893. {
  894. "key": "Accept",
  895. "value": "application/json",
  896. "type": "text"
  897. },
  898. {
  899. "key": "Authorization",
  900. "value": "Bearer {{token}}",
  901. "type": "text"
  902. }
  903. ],
  904. "body": {
  905. "mode": "raw",
  906. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  907. },
  908. "url": {
  909. "raw": "{{url}}/v1/entidad/crear",
  910. "host": [
  911. "{{url}}"
  912. ],
  913. "path": [
  914. "v1",
  915. "entidad",
  916. "crear"
  917. ]
  918. }
  919. },
  920. "response": [
  921. {
  922. "name": "/v1/entidad",
  923. "originalRequest": {
  924. "method": "POST",
  925. "header": [
  926. {
  927. "key": "Content-Type",
  928. "value": "application/json",
  929. "type": "text"
  930. },
  931. {
  932. "key": "Accept",
  933. "value": "application/json",
  934. "type": "text"
  935. }
  936. ],
  937. "body": {
  938. "mode": "raw",
  939. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  940. },
  941. "url": {
  942. "raw": "{{url}}/v1/entidad",
  943. "host": [
  944. "{{url}}"
  945. ],
  946. "path": [
  947. "v1",
  948. "entidad"
  949. ]
  950. }
  951. },
  952. "status": "OK",
  953. "code": 200,
  954. "_postman_previewlanguage": "json",
  955. "header": [
  956. {
  957. "key": "Date",
  958. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  959. },
  960. {
  961. "key": "Server",
  962. "value": "Apache/2.4.18 (Ubuntu)"
  963. },
  964. {
  965. "key": "Vary",
  966. "value": "Accept"
  967. },
  968. {
  969. "key": "Keep-Alive",
  970. "value": "timeout=5, max=100"
  971. },
  972. {
  973. "key": "Connection",
  974. "value": "Keep-Alive"
  975. },
  976. {
  977. "key": "Transfer-Encoding",
  978. "value": "chunked"
  979. },
  980. {
  981. "key": "Content-Type",
  982. "value": "application/json; charset=UTF-8"
  983. }
  984. ],
  985. "cookie": [],
  986. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  987. }
  988. ]
  989. },
  990. {
  991. "name": "/v1/entidad/editar",
  992. "request": {
  993. "method": "POST",
  994. "header": [
  995. {
  996. "key": "Content-Type",
  997. "value": "application/json",
  998. "type": "text"
  999. },
  1000. {
  1001. "key": "Accept",
  1002. "value": "application/json",
  1003. "type": "text"
  1004. },
  1005. {
  1006. "key": "Authorization",
  1007. "value": "Bearer {{token}}",
  1008. "type": "text"
  1009. }
  1010. ],
  1011. "body": {
  1012. "mode": "raw",
  1013. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1014. },
  1015. "url": {
  1016. "raw": "{{url}}/v1/entidad/editar?id=1",
  1017. "host": [
  1018. "{{url}}"
  1019. ],
  1020. "path": [
  1021. "v1",
  1022. "entidad",
  1023. "editar"
  1024. ],
  1025. "query": [
  1026. {
  1027. "key": "id",
  1028. "value": "1"
  1029. }
  1030. ]
  1031. }
  1032. },
  1033. "response": [
  1034. {
  1035. "name": "/v1/entidad",
  1036. "originalRequest": {
  1037. "method": "POST",
  1038. "header": [
  1039. {
  1040. "key": "Content-Type",
  1041. "value": "application/json",
  1042. "type": "text"
  1043. },
  1044. {
  1045. "key": "Accept",
  1046. "value": "application/json",
  1047. "type": "text"
  1048. }
  1049. ],
  1050. "body": {
  1051. "mode": "raw",
  1052. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1053. },
  1054. "url": {
  1055. "raw": "{{url}}/v1/entidad",
  1056. "host": [
  1057. "{{url}}"
  1058. ],
  1059. "path": [
  1060. "v1",
  1061. "entidad"
  1062. ]
  1063. }
  1064. },
  1065. "status": "OK",
  1066. "code": 200,
  1067. "_postman_previewlanguage": "json",
  1068. "header": [
  1069. {
  1070. "key": "Date",
  1071. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1072. },
  1073. {
  1074. "key": "Server",
  1075. "value": "Apache/2.4.18 (Ubuntu)"
  1076. },
  1077. {
  1078. "key": "Vary",
  1079. "value": "Accept"
  1080. },
  1081. {
  1082. "key": "Keep-Alive",
  1083. "value": "timeout=5, max=100"
  1084. },
  1085. {
  1086. "key": "Connection",
  1087. "value": "Keep-Alive"
  1088. },
  1089. {
  1090. "key": "Transfer-Encoding",
  1091. "value": "chunked"
  1092. },
  1093. {
  1094. "key": "Content-Type",
  1095. "value": "application/json; charset=UTF-8"
  1096. }
  1097. ],
  1098. "cookie": [],
  1099. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1100. }
  1101. ]
  1102. }
  1103. ],
  1104. "event": [
  1105. {
  1106. "listen": "prerequest",
  1107. "script": {
  1108. "id": "0e610f59-ff4a-4a4f-9695-40dbdb332932",
  1109. "type": "text/javascript",
  1110. "exec": [
  1111. ""
  1112. ]
  1113. }
  1114. },
  1115. {
  1116. "listen": "test",
  1117. "script": {
  1118. "id": "8347e897-c6ce-4046-8564-361680656626",
  1119. "type": "text/javascript",
  1120. "exec": [
  1121. ""
  1122. ]
  1123. }
  1124. }
  1125. ],
  1126. "protocolProfileBehavior": {}
  1127. },
  1128. {
  1129. "name": "Estación",
  1130. "item": [
  1131. {
  1132. "name": "/v1/estacion",
  1133. "request": {
  1134. "auth": {
  1135. "type": "noauth"
  1136. },
  1137. "method": "GET",
  1138. "header": [
  1139. {
  1140. "key": "Authorization",
  1141. "value": "Bearer {{token}}",
  1142. "type": "text"
  1143. },
  1144. {
  1145. "key": "Content-Type",
  1146. "name": "Content-Type",
  1147. "value": "application/json",
  1148. "type": "text"
  1149. }
  1150. ],
  1151. "url": {
  1152. "raw": "{{url}}/v1/estacion",
  1153. "host": [
  1154. "{{url}}"
  1155. ],
  1156. "path": [
  1157. "v1",
  1158. "estacion"
  1159. ]
  1160. }
  1161. },
  1162. "response": []
  1163. },
  1164. {
  1165. "name": "/v1/estacion/crear",
  1166. "request": {
  1167. "auth": {
  1168. "type": "noauth"
  1169. },
  1170. "method": "POST",
  1171. "header": [
  1172. {
  1173. "key": "Authorization",
  1174. "value": "Bearer {{token}}",
  1175. "type": "text"
  1176. },
  1177. {
  1178. "key": "Content-Type",
  1179. "name": "Content-Type",
  1180. "value": "application/json",
  1181. "type": "text"
  1182. }
  1183. ],
  1184. "url": {
  1185. "raw": "{{url}}/v1/estacion/crear",
  1186. "host": [
  1187. "{{url}}"
  1188. ],
  1189. "path": [
  1190. "v1",
  1191. "estacion",
  1192. "crear"
  1193. ]
  1194. }
  1195. },
  1196. "response": []
  1197. },
  1198. {
  1199. "name": "/v1/estacion/editar",
  1200. "request": {
  1201. "auth": {
  1202. "type": "noauth"
  1203. },
  1204. "method": "POST",
  1205. "header": [
  1206. {
  1207. "key": "Authorization",
  1208. "value": "Bearer {{token}}",
  1209. "type": "text"
  1210. },
  1211. {
  1212. "key": "Content-Type",
  1213. "name": "Content-Type",
  1214. "value": "application/json",
  1215. "type": "text"
  1216. }
  1217. ],
  1218. "body": {
  1219. "mode": "raw",
  1220. "raw": "{\n\t\"estado\": \"CIUDAD DE MEXICO\",\n\t\"clave\": \"100_3HMO\",\n\t\"siglas\": \"XXXX\",\n\t\"frecuencia\": 100.3\n}"
  1221. },
  1222. "url": {
  1223. "raw": "{{url}}/v1/estacion/editar?id=1",
  1224. "host": [
  1225. "{{url}}"
  1226. ],
  1227. "path": [
  1228. "v1",
  1229. "estacion",
  1230. "editar"
  1231. ],
  1232. "query": [
  1233. {
  1234. "key": "id",
  1235. "value": "1"
  1236. }
  1237. ]
  1238. }
  1239. },
  1240. "response": []
  1241. }
  1242. ],
  1243. "event": [
  1244. {
  1245. "listen": "prerequest",
  1246. "script": {
  1247. "id": "6a312333-f7cf-402b-b97d-64de8b443e0f",
  1248. "type": "text/javascript",
  1249. "exec": [
  1250. ""
  1251. ]
  1252. }
  1253. },
  1254. {
  1255. "listen": "test",
  1256. "script": {
  1257. "id": "9d98c212-2880-4fee-91db-439bc4b0ea26",
  1258. "type": "text/javascript",
  1259. "exec": [
  1260. ""
  1261. ]
  1262. }
  1263. }
  1264. ],
  1265. "protocolProfileBehavior": {}
  1266. },
  1267. {
  1268. "name": "Estado",
  1269. "item": [
  1270. {
  1271. "name": "/v1/estado",
  1272. "request": {
  1273. "auth": {
  1274. "type": "noauth"
  1275. },
  1276. "method": "GET",
  1277. "header": [
  1278. {
  1279. "key": "Authorization",
  1280. "value": "Bearer {{token}}",
  1281. "type": "text"
  1282. }
  1283. ],
  1284. "url": {
  1285. "raw": "{{url}}/v1/estado",
  1286. "host": [
  1287. "{{url}}"
  1288. ],
  1289. "path": [
  1290. "v1",
  1291. "estado"
  1292. ]
  1293. }
  1294. },
  1295. "response": []
  1296. },
  1297. {
  1298. "name": "/v1/estado/crear",
  1299. "request": {
  1300. "auth": {
  1301. "type": "noauth"
  1302. },
  1303. "method": "POST",
  1304. "header": [
  1305. {
  1306. "key": "Authorization",
  1307. "value": "Bearer {{token}}",
  1308. "type": "text"
  1309. },
  1310. {
  1311. "key": "Content-Type",
  1312. "name": "Content-Type",
  1313. "value": "application/json",
  1314. "type": "text"
  1315. }
  1316. ],
  1317. "body": {
  1318. "mode": "raw",
  1319. "raw": "{\n\t\"id\": \"CIUDAD DE MEXICO\"\n}"
  1320. },
  1321. "url": {
  1322. "raw": "{{url}}/v1/estado/crear",
  1323. "host": [
  1324. "{{url}}"
  1325. ],
  1326. "path": [
  1327. "v1",
  1328. "estado",
  1329. "crear"
  1330. ]
  1331. }
  1332. },
  1333. "response": []
  1334. }
  1335. ],
  1336. "event": [
  1337. {
  1338. "listen": "prerequest",
  1339. "script": {
  1340. "id": "2a657a25-9888-4378-99f0-7af5248ae06f",
  1341. "type": "text/javascript",
  1342. "exec": [
  1343. ""
  1344. ]
  1345. }
  1346. },
  1347. {
  1348. "listen": "test",
  1349. "script": {
  1350. "id": "e922125e-582d-47f7-8fd8-e0c641563b05",
  1351. "type": "text/javascript",
  1352. "exec": [
  1353. ""
  1354. ]
  1355. }
  1356. }
  1357. ],
  1358. "protocolProfileBehavior": {}
  1359. }
  1360. ],
  1361. "event": [
  1362. {
  1363. "listen": "prerequest",
  1364. "script": {
  1365. "id": "c6e1c907-8527-41c3-a54d-29c153d91237",
  1366. "type": "text/javascript",
  1367. "exec": [
  1368. ""
  1369. ]
  1370. }
  1371. },
  1372. {
  1373. "listen": "test",
  1374. "script": {
  1375. "id": "345e8197-137f-460d-bbd5-3c11878035b8",
  1376. "type": "text/javascript",
  1377. "exec": [
  1378. ""
  1379. ]
  1380. }
  1381. }
  1382. ],
  1383. "protocolProfileBehavior": {}
  1384. }