audiovalid.postman_collection.json 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334
  1. {
  2. "info": {
  3. "_postman_id": "56025a1d-d5fe-4829-b231-0e444257b5b1",
  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}",
  410. "options": {
  411. "raw": {
  412. "language": "json"
  413. }
  414. }
  415. },
  416. "url": {
  417. "raw": "{{url}}/v1/cuenta/recuperar",
  418. "host": [
  419. "{{url}}"
  420. ],
  421. "path": [
  422. "v1",
  423. "cuenta",
  424. "recuperar"
  425. ]
  426. }
  427. },
  428. "response": []
  429. }
  430. ],
  431. "protocolProfileBehavior": {}
  432. },
  433. {
  434. "name": "Dependencia",
  435. "item": [
  436. {
  437. "name": "/v1/dependencia",
  438. "protocolProfileBehavior": {
  439. "disableBodyPruning": true
  440. },
  441. "request": {
  442. "method": "GET",
  443. "header": [
  444. {
  445. "key": "Content-Type",
  446. "value": "application/json",
  447. "type": "text"
  448. },
  449. {
  450. "key": "Accept",
  451. "value": "application/json",
  452. "type": "text"
  453. },
  454. {
  455. "key": "Authorization",
  456. "value": "Bearer {{token}}",
  457. "type": "text"
  458. }
  459. ],
  460. "body": {
  461. "mode": "raw",
  462. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  463. },
  464. "url": {
  465. "raw": "{{url}}/v1/dependencia?expand=ciudades",
  466. "host": [
  467. "{{url}}"
  468. ],
  469. "path": [
  470. "v1",
  471. "dependencia"
  472. ],
  473. "query": [
  474. {
  475. "key": "expand",
  476. "value": "ciudades"
  477. }
  478. ]
  479. }
  480. },
  481. "response": [
  482. {
  483. "name": "/v1/entidad",
  484. "originalRequest": {
  485. "method": "POST",
  486. "header": [
  487. {
  488. "key": "Content-Type",
  489. "value": "application/json",
  490. "type": "text"
  491. },
  492. {
  493. "key": "Accept",
  494. "value": "application/json",
  495. "type": "text"
  496. }
  497. ],
  498. "body": {
  499. "mode": "raw",
  500. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  501. },
  502. "url": {
  503. "raw": "{{url}}/v1/entidad",
  504. "host": [
  505. "{{url}}"
  506. ],
  507. "path": [
  508. "v1",
  509. "entidad"
  510. ]
  511. }
  512. },
  513. "status": "OK",
  514. "code": 200,
  515. "_postman_previewlanguage": "json",
  516. "header": [
  517. {
  518. "key": "Date",
  519. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  520. },
  521. {
  522. "key": "Server",
  523. "value": "Apache/2.4.18 (Ubuntu)"
  524. },
  525. {
  526. "key": "Vary",
  527. "value": "Accept"
  528. },
  529. {
  530. "key": "Keep-Alive",
  531. "value": "timeout=5, max=100"
  532. },
  533. {
  534. "key": "Connection",
  535. "value": "Keep-Alive"
  536. },
  537. {
  538. "key": "Transfer-Encoding",
  539. "value": "chunked"
  540. },
  541. {
  542. "key": "Content-Type",
  543. "value": "application/json; charset=UTF-8"
  544. }
  545. ],
  546. "cookie": [],
  547. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  548. }
  549. ]
  550. },
  551. {
  552. "name": "/v1/dependencia/crear",
  553. "request": {
  554. "method": "POST",
  555. "header": [
  556. {
  557. "key": "Content-Type",
  558. "value": "application/json",
  559. "type": "text"
  560. },
  561. {
  562. "key": "Accept",
  563. "value": "application/json",
  564. "type": "text"
  565. },
  566. {
  567. "key": "Authorization",
  568. "value": "Bearer {{token}}",
  569. "type": "text"
  570. }
  571. ],
  572. "body": {
  573. "mode": "raw",
  574. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"beqWHWk7YkB1\",\n\t\t\"PruebaSubida\"\n\t]\n}"
  575. },
  576. "url": {
  577. "raw": "{{url}}/v1/dependencia/crear",
  578. "host": [
  579. "{{url}}"
  580. ],
  581. "path": [
  582. "v1",
  583. "dependencia",
  584. "crear"
  585. ]
  586. }
  587. },
  588. "response": [
  589. {
  590. "name": "/v1/entidad",
  591. "originalRequest": {
  592. "method": "POST",
  593. "header": [
  594. {
  595. "key": "Content-Type",
  596. "value": "application/json",
  597. "type": "text"
  598. },
  599. {
  600. "key": "Accept",
  601. "value": "application/json",
  602. "type": "text"
  603. }
  604. ],
  605. "body": {
  606. "mode": "raw",
  607. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  608. },
  609. "url": {
  610. "raw": "{{url}}/v1/entidad",
  611. "host": [
  612. "{{url}}"
  613. ],
  614. "path": [
  615. "v1",
  616. "entidad"
  617. ]
  618. }
  619. },
  620. "status": "OK",
  621. "code": 200,
  622. "_postman_previewlanguage": "json",
  623. "header": [
  624. {
  625. "key": "Date",
  626. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  627. },
  628. {
  629. "key": "Server",
  630. "value": "Apache/2.4.18 (Ubuntu)"
  631. },
  632. {
  633. "key": "Vary",
  634. "value": "Accept"
  635. },
  636. {
  637. "key": "Keep-Alive",
  638. "value": "timeout=5, max=100"
  639. },
  640. {
  641. "key": "Connection",
  642. "value": "Keep-Alive"
  643. },
  644. {
  645. "key": "Transfer-Encoding",
  646. "value": "chunked"
  647. },
  648. {
  649. "key": "Content-Type",
  650. "value": "application/json; charset=UTF-8"
  651. }
  652. ],
  653. "cookie": [],
  654. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  655. }
  656. ]
  657. },
  658. {
  659. "name": "/v1/dependencia/editar",
  660. "request": {
  661. "method": "POST",
  662. "header": [
  663. {
  664. "key": "Content-Type",
  665. "value": "application/json",
  666. "type": "text"
  667. },
  668. {
  669. "key": "Accept",
  670. "value": "application/json",
  671. "type": "text"
  672. },
  673. {
  674. "key": "Authorization",
  675. "value": "Bearer {{token}}",
  676. "type": "text"
  677. }
  678. ],
  679. "body": {
  680. "mode": "raw",
  681. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"PruebaSubida\"\n\t]\n}"
  682. },
  683. "url": {
  684. "raw": "{{url}}/v1/dependencia/editar?id=1&expand=ciudades",
  685. "host": [
  686. "{{url}}"
  687. ],
  688. "path": [
  689. "v1",
  690. "dependencia",
  691. "editar"
  692. ],
  693. "query": [
  694. {
  695. "key": "id",
  696. "value": "1"
  697. },
  698. {
  699. "key": "expand",
  700. "value": "ciudades"
  701. }
  702. ]
  703. }
  704. },
  705. "response": [
  706. {
  707. "name": "/v1/entidad",
  708. "originalRequest": {
  709. "method": "POST",
  710. "header": [
  711. {
  712. "key": "Content-Type",
  713. "value": "application/json",
  714. "type": "text"
  715. },
  716. {
  717. "key": "Accept",
  718. "value": "application/json",
  719. "type": "text"
  720. }
  721. ],
  722. "body": {
  723. "mode": "raw",
  724. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  725. },
  726. "url": {
  727. "raw": "{{url}}/v1/entidad",
  728. "host": [
  729. "{{url}}"
  730. ],
  731. "path": [
  732. "v1",
  733. "entidad"
  734. ]
  735. }
  736. },
  737. "status": "OK",
  738. "code": 200,
  739. "_postman_previewlanguage": "json",
  740. "header": [
  741. {
  742. "key": "Date",
  743. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  744. },
  745. {
  746. "key": "Server",
  747. "value": "Apache/2.4.18 (Ubuntu)"
  748. },
  749. {
  750. "key": "Vary",
  751. "value": "Accept"
  752. },
  753. {
  754. "key": "Keep-Alive",
  755. "value": "timeout=5, max=100"
  756. },
  757. {
  758. "key": "Connection",
  759. "value": "Keep-Alive"
  760. },
  761. {
  762. "key": "Transfer-Encoding",
  763. "value": "chunked"
  764. },
  765. {
  766. "key": "Content-Type",
  767. "value": "application/json; charset=UTF-8"
  768. }
  769. ],
  770. "cookie": [],
  771. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  772. }
  773. ]
  774. }
  775. ],
  776. "event": [
  777. {
  778. "listen": "prerequest",
  779. "script": {
  780. "id": "614a934e-a343-4749-b2df-14a256659bff",
  781. "type": "text/javascript",
  782. "exec": [
  783. ""
  784. ]
  785. }
  786. },
  787. {
  788. "listen": "test",
  789. "script": {
  790. "id": "d7af8a4a-2d70-4958-8625-d89421bb3c6f",
  791. "type": "text/javascript",
  792. "exec": [
  793. ""
  794. ]
  795. }
  796. }
  797. ],
  798. "protocolProfileBehavior": {}
  799. },
  800. {
  801. "name": "Entidad",
  802. "item": [
  803. {
  804. "name": "/v1/entidad",
  805. "request": {
  806. "method": "GET",
  807. "header": [
  808. {
  809. "key": "Authorization",
  810. "value": "Bearer {{token}}",
  811. "type": "text"
  812. }
  813. ],
  814. "url": {
  815. "raw": "{{url}}/v1/entidad?id=2",
  816. "host": [
  817. "{{url}}"
  818. ],
  819. "path": [
  820. "v1",
  821. "entidad"
  822. ],
  823. "query": [
  824. {
  825. "key": "id",
  826. "value": "2"
  827. }
  828. ]
  829. }
  830. },
  831. "response": []
  832. },
  833. {
  834. "name": "/v1/entidad/crear",
  835. "request": {
  836. "method": "POST",
  837. "header": [
  838. {
  839. "key": "Content-Type",
  840. "value": "application/json",
  841. "type": "text"
  842. },
  843. {
  844. "key": "Accept",
  845. "value": "application/json",
  846. "type": "text"
  847. },
  848. {
  849. "key": "Authorization",
  850. "value": "Bearer {{token}}",
  851. "type": "text"
  852. }
  853. ],
  854. "body": {
  855. "mode": "raw",
  856. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  857. },
  858. "url": {
  859. "raw": "{{url}}/v1/entidad/crear",
  860. "host": [
  861. "{{url}}"
  862. ],
  863. "path": [
  864. "v1",
  865. "entidad",
  866. "crear"
  867. ]
  868. }
  869. },
  870. "response": [
  871. {
  872. "name": "/v1/entidad",
  873. "originalRequest": {
  874. "method": "POST",
  875. "header": [
  876. {
  877. "key": "Content-Type",
  878. "value": "application/json",
  879. "type": "text"
  880. },
  881. {
  882. "key": "Accept",
  883. "value": "application/json",
  884. "type": "text"
  885. }
  886. ],
  887. "body": {
  888. "mode": "raw",
  889. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  890. },
  891. "url": {
  892. "raw": "{{url}}/v1/entidad",
  893. "host": [
  894. "{{url}}"
  895. ],
  896. "path": [
  897. "v1",
  898. "entidad"
  899. ]
  900. }
  901. },
  902. "status": "OK",
  903. "code": 200,
  904. "_postman_previewlanguage": "json",
  905. "header": [
  906. {
  907. "key": "Date",
  908. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  909. },
  910. {
  911. "key": "Server",
  912. "value": "Apache/2.4.18 (Ubuntu)"
  913. },
  914. {
  915. "key": "Vary",
  916. "value": "Accept"
  917. },
  918. {
  919. "key": "Keep-Alive",
  920. "value": "timeout=5, max=100"
  921. },
  922. {
  923. "key": "Connection",
  924. "value": "Keep-Alive"
  925. },
  926. {
  927. "key": "Transfer-Encoding",
  928. "value": "chunked"
  929. },
  930. {
  931. "key": "Content-Type",
  932. "value": "application/json; charset=UTF-8"
  933. }
  934. ],
  935. "cookie": [],
  936. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  937. }
  938. ]
  939. },
  940. {
  941. "name": "/v1/entidad/editar",
  942. "request": {
  943. "method": "POST",
  944. "header": [
  945. {
  946. "key": "Content-Type",
  947. "value": "application/json",
  948. "type": "text"
  949. },
  950. {
  951. "key": "Accept",
  952. "value": "application/json",
  953. "type": "text"
  954. },
  955. {
  956. "key": "Authorization",
  957. "value": "Bearer {{token}}",
  958. "type": "text"
  959. }
  960. ],
  961. "body": {
  962. "mode": "raw",
  963. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  964. },
  965. "url": {
  966. "raw": "{{url}}/v1/entidad/editar?id=1",
  967. "host": [
  968. "{{url}}"
  969. ],
  970. "path": [
  971. "v1",
  972. "entidad",
  973. "editar"
  974. ],
  975. "query": [
  976. {
  977. "key": "id",
  978. "value": "1"
  979. }
  980. ]
  981. }
  982. },
  983. "response": [
  984. {
  985. "name": "/v1/entidad",
  986. "originalRequest": {
  987. "method": "POST",
  988. "header": [
  989. {
  990. "key": "Content-Type",
  991. "value": "application/json",
  992. "type": "text"
  993. },
  994. {
  995. "key": "Accept",
  996. "value": "application/json",
  997. "type": "text"
  998. }
  999. ],
  1000. "body": {
  1001. "mode": "raw",
  1002. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1003. },
  1004. "url": {
  1005. "raw": "{{url}}/v1/entidad",
  1006. "host": [
  1007. "{{url}}"
  1008. ],
  1009. "path": [
  1010. "v1",
  1011. "entidad"
  1012. ]
  1013. }
  1014. },
  1015. "status": "OK",
  1016. "code": 200,
  1017. "_postman_previewlanguage": "json",
  1018. "header": [
  1019. {
  1020. "key": "Date",
  1021. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1022. },
  1023. {
  1024. "key": "Server",
  1025. "value": "Apache/2.4.18 (Ubuntu)"
  1026. },
  1027. {
  1028. "key": "Vary",
  1029. "value": "Accept"
  1030. },
  1031. {
  1032. "key": "Keep-Alive",
  1033. "value": "timeout=5, max=100"
  1034. },
  1035. {
  1036. "key": "Connection",
  1037. "value": "Keep-Alive"
  1038. },
  1039. {
  1040. "key": "Transfer-Encoding",
  1041. "value": "chunked"
  1042. },
  1043. {
  1044. "key": "Content-Type",
  1045. "value": "application/json; charset=UTF-8"
  1046. }
  1047. ],
  1048. "cookie": [],
  1049. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1050. }
  1051. ]
  1052. }
  1053. ],
  1054. "event": [
  1055. {
  1056. "listen": "prerequest",
  1057. "script": {
  1058. "id": "0e610f59-ff4a-4a4f-9695-40dbdb332932",
  1059. "type": "text/javascript",
  1060. "exec": [
  1061. ""
  1062. ]
  1063. }
  1064. },
  1065. {
  1066. "listen": "test",
  1067. "script": {
  1068. "id": "8347e897-c6ce-4046-8564-361680656626",
  1069. "type": "text/javascript",
  1070. "exec": [
  1071. ""
  1072. ]
  1073. }
  1074. }
  1075. ],
  1076. "protocolProfileBehavior": {}
  1077. },
  1078. {
  1079. "name": "Estación",
  1080. "item": [
  1081. {
  1082. "name": "/v1/estacion",
  1083. "request": {
  1084. "auth": {
  1085. "type": "noauth"
  1086. },
  1087. "method": "GET",
  1088. "header": [
  1089. {
  1090. "key": "Authorization",
  1091. "value": "Bearer {{token}}",
  1092. "type": "text"
  1093. },
  1094. {
  1095. "key": "Content-Type",
  1096. "name": "Content-Type",
  1097. "value": "application/json",
  1098. "type": "text"
  1099. }
  1100. ],
  1101. "url": {
  1102. "raw": "{{url}}/v1/estacion",
  1103. "host": [
  1104. "{{url}}"
  1105. ],
  1106. "path": [
  1107. "v1",
  1108. "estacion"
  1109. ]
  1110. }
  1111. },
  1112. "response": []
  1113. },
  1114. {
  1115. "name": "/v1/estacion/crear",
  1116. "request": {
  1117. "auth": {
  1118. "type": "noauth"
  1119. },
  1120. "method": "POST",
  1121. "header": [
  1122. {
  1123. "key": "Authorization",
  1124. "value": "Bearer {{token}}",
  1125. "type": "text"
  1126. },
  1127. {
  1128. "key": "Content-Type",
  1129. "name": "Content-Type",
  1130. "value": "application/json",
  1131. "type": "text"
  1132. }
  1133. ],
  1134. "url": {
  1135. "raw": "{{url}}/v1/estacion/crear",
  1136. "host": [
  1137. "{{url}}"
  1138. ],
  1139. "path": [
  1140. "v1",
  1141. "estacion",
  1142. "crear"
  1143. ]
  1144. }
  1145. },
  1146. "response": []
  1147. },
  1148. {
  1149. "name": "/v1/estacion/editar",
  1150. "request": {
  1151. "auth": {
  1152. "type": "noauth"
  1153. },
  1154. "method": "POST",
  1155. "header": [
  1156. {
  1157. "key": "Authorization",
  1158. "value": "Bearer {{token}}",
  1159. "type": "text"
  1160. },
  1161. {
  1162. "key": "Content-Type",
  1163. "name": "Content-Type",
  1164. "value": "application/json",
  1165. "type": "text"
  1166. }
  1167. ],
  1168. "body": {
  1169. "mode": "raw",
  1170. "raw": "{\n\t\"estado\": \"CIUDAD DE MEXICO\",\n\t\"clave\": \"100_3HMO\",\n\t\"siglas\": \"XXXX\",\n\t\"frecuencia\": 100.3\n}"
  1171. },
  1172. "url": {
  1173. "raw": "{{url}}/v1/estacion/editar?id=1",
  1174. "host": [
  1175. "{{url}}"
  1176. ],
  1177. "path": [
  1178. "v1",
  1179. "estacion",
  1180. "editar"
  1181. ],
  1182. "query": [
  1183. {
  1184. "key": "id",
  1185. "value": "1"
  1186. }
  1187. ]
  1188. }
  1189. },
  1190. "response": []
  1191. }
  1192. ],
  1193. "event": [
  1194. {
  1195. "listen": "prerequest",
  1196. "script": {
  1197. "id": "6a312333-f7cf-402b-b97d-64de8b443e0f",
  1198. "type": "text/javascript",
  1199. "exec": [
  1200. ""
  1201. ]
  1202. }
  1203. },
  1204. {
  1205. "listen": "test",
  1206. "script": {
  1207. "id": "9d98c212-2880-4fee-91db-439bc4b0ea26",
  1208. "type": "text/javascript",
  1209. "exec": [
  1210. ""
  1211. ]
  1212. }
  1213. }
  1214. ],
  1215. "protocolProfileBehavior": {}
  1216. },
  1217. {
  1218. "name": "Estado",
  1219. "item": [
  1220. {
  1221. "name": "/v1/estado",
  1222. "request": {
  1223. "auth": {
  1224. "type": "noauth"
  1225. },
  1226. "method": "GET",
  1227. "header": [
  1228. {
  1229. "key": "Authorization",
  1230. "value": "Bearer {{token}}",
  1231. "type": "text"
  1232. }
  1233. ],
  1234. "url": {
  1235. "raw": "{{url}}/v1/estado",
  1236. "host": [
  1237. "{{url}}"
  1238. ],
  1239. "path": [
  1240. "v1",
  1241. "estado"
  1242. ]
  1243. }
  1244. },
  1245. "response": []
  1246. },
  1247. {
  1248. "name": "/v1/estado/crear",
  1249. "request": {
  1250. "auth": {
  1251. "type": "noauth"
  1252. },
  1253. "method": "POST",
  1254. "header": [
  1255. {
  1256. "key": "Authorization",
  1257. "value": "Bearer {{token}}",
  1258. "type": "text"
  1259. },
  1260. {
  1261. "key": "Content-Type",
  1262. "name": "Content-Type",
  1263. "value": "application/json",
  1264. "type": "text"
  1265. }
  1266. ],
  1267. "body": {
  1268. "mode": "raw",
  1269. "raw": "{\n\t\"id\": \"CIUDAD DE MEXICO\"\n}"
  1270. },
  1271. "url": {
  1272. "raw": "{{url}}/v1/estado/crear",
  1273. "host": [
  1274. "{{url}}"
  1275. ],
  1276. "path": [
  1277. "v1",
  1278. "estado",
  1279. "crear"
  1280. ]
  1281. }
  1282. },
  1283. "response": []
  1284. }
  1285. ],
  1286. "event": [
  1287. {
  1288. "listen": "prerequest",
  1289. "script": {
  1290. "id": "2a657a25-9888-4378-99f0-7af5248ae06f",
  1291. "type": "text/javascript",
  1292. "exec": [
  1293. ""
  1294. ]
  1295. }
  1296. },
  1297. {
  1298. "listen": "test",
  1299. "script": {
  1300. "id": "e922125e-582d-47f7-8fd8-e0c641563b05",
  1301. "type": "text/javascript",
  1302. "exec": [
  1303. ""
  1304. ]
  1305. }
  1306. }
  1307. ],
  1308. "protocolProfileBehavior": {}
  1309. }
  1310. ],
  1311. "event": [
  1312. {
  1313. "listen": "prerequest",
  1314. "script": {
  1315. "id": "c6e1c907-8527-41c3-a54d-29c153d91237",
  1316. "type": "text/javascript",
  1317. "exec": [
  1318. ""
  1319. ]
  1320. }
  1321. },
  1322. {
  1323. "listen": "test",
  1324. "script": {
  1325. "id": "345e8197-137f-460d-bbd5-3c11878035b8",
  1326. "type": "text/javascript",
  1327. "exec": [
  1328. ""
  1329. ]
  1330. }
  1331. }
  1332. ],
  1333. "protocolProfileBehavior": {}
  1334. }