audiovalid.postman_collection.json 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515
  1. {
  2. "info": {
  3. "_postman_id": "0a004ee8-1c34-4a7f-b332-056ee5557880",
  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",
  229. "request": {
  230. "method": "GET",
  231. "header": [
  232. {
  233. "key": "Content-Type",
  234. "name": "Content-Type",
  235. "value": "application/x-www-form-urlencoded",
  236. "type": "text"
  237. },
  238. {
  239. "key": "Authorization",
  240. "value": "Bearer {{token}}",
  241. "type": "text"
  242. }
  243. ],
  244. "url": {
  245. "raw": "{{url}}/v1/campana",
  246. "host": [
  247. "{{url}}"
  248. ],
  249. "path": [
  250. "v1",
  251. "campana"
  252. ]
  253. }
  254. },
  255. "response": []
  256. },
  257. {
  258. "name": "/v1/campana/ordenes",
  259. "request": {
  260. "method": "GET",
  261. "header": [
  262. {
  263. "key": "Content-Type",
  264. "name": "Content-Type",
  265. "value": "application/x-www-form-urlencoded",
  266. "type": "text"
  267. },
  268. {
  269. "key": "Authorization",
  270. "value": "Bearer {{token}}",
  271. "type": "text"
  272. }
  273. ],
  274. "url": {
  275. "raw": "{{url}}/v1/campana/ordenes",
  276. "host": [
  277. "{{url}}"
  278. ],
  279. "path": [
  280. "v1",
  281. "campana",
  282. "ordenes"
  283. ]
  284. }
  285. },
  286. "response": []
  287. },
  288. {
  289. "name": "/v1/campana/crear",
  290. "request": {
  291. "method": "POST",
  292. "header": [
  293. {
  294. "key": "Content-Type",
  295. "name": "Content-Type",
  296. "value": "application/json",
  297. "type": "text"
  298. },
  299. {
  300. "key": "Authorization",
  301. "value": "Bearer {{token}}",
  302. "type": "text"
  303. }
  304. ],
  305. "body": {
  306. "mode": "raw",
  307. "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}",
  308. "options": {
  309. "raw": {
  310. "language": "json"
  311. }
  312. }
  313. },
  314. "url": {
  315. "raw": "{{url}}/v1/campana?id=2&expand=pautas",
  316. "host": [
  317. "{{url}}"
  318. ],
  319. "path": [
  320. "v1",
  321. "campana"
  322. ],
  323. "query": [
  324. {
  325. "key": "id",
  326. "value": "2"
  327. },
  328. {
  329. "key": "expand",
  330. "value": "pautas"
  331. }
  332. ]
  333. }
  334. },
  335. "response": []
  336. }
  337. ],
  338. "event": [
  339. {
  340. "listen": "prerequest",
  341. "script": {
  342. "id": "99490fa1-1020-4979-853a-ae8b3ca68d52",
  343. "type": "text/javascript",
  344. "exec": [
  345. ""
  346. ]
  347. }
  348. },
  349. {
  350. "listen": "test",
  351. "script": {
  352. "id": "8fabd20a-900a-47eb-aa21-6e20a2f7bffa",
  353. "type": "text/javascript",
  354. "exec": [
  355. ""
  356. ]
  357. }
  358. }
  359. ],
  360. "protocolProfileBehavior": {}
  361. },
  362. {
  363. "name": "Ciudad",
  364. "item": [
  365. {
  366. "name": "/v1/ciudad",
  367. "request": {
  368. "method": "GET",
  369. "header": [
  370. {
  371. "key": "Authorization",
  372. "value": "Bearer {{token}}",
  373. "type": "text"
  374. }
  375. ],
  376. "url": {
  377. "raw": "{{url}}/v1/ciudad?expand=estaciones",
  378. "host": [
  379. "{{url}}"
  380. ],
  381. "path": [
  382. "v1",
  383. "ciudad"
  384. ],
  385. "query": [
  386. {
  387. "key": "expand",
  388. "value": "estaciones"
  389. }
  390. ]
  391. }
  392. },
  393. "response": []
  394. },
  395. {
  396. "name": "/v1/ciudad/editar",
  397. "request": {
  398. "method": "POST",
  399. "header": [
  400. {
  401. "key": "Content-Type",
  402. "value": "application/json",
  403. "type": "text"
  404. },
  405. {
  406. "key": "Authorization",
  407. "value": "Bearer {{token}}",
  408. "type": "text"
  409. }
  410. ],
  411. "body": {
  412. "mode": "raw",
  413. "raw": "{\n\t\"idEstado\": \"CIUDAD DE MEXICO\"\n}"
  414. },
  415. "url": {
  416. "raw": "{{url}}/v1/ciudad/editar?id=VhTifIvKH8",
  417. "host": [
  418. "{{url}}"
  419. ],
  420. "path": [
  421. "v1",
  422. "ciudad",
  423. "editar"
  424. ],
  425. "query": [
  426. {
  427. "key": "id",
  428. "value": "VhTifIvKH8"
  429. }
  430. ]
  431. }
  432. },
  433. "response": []
  434. }
  435. ],
  436. "protocolProfileBehavior": {}
  437. },
  438. {
  439. "name": "Cuenta",
  440. "item": [
  441. {
  442. "name": "/v1/cuenta/iniciar-sesion",
  443. "event": [
  444. {
  445. "listen": "test",
  446. "script": {
  447. "id": "96c4d830-6243-4290-a423-107b4e9b3b02",
  448. "exec": [
  449. "var jsonData = pm.response.json();",
  450. "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {",
  451. " pm.environment.set(\"token\", jsonData[\"token\"]);",
  452. "}"
  453. ],
  454. "type": "text/javascript"
  455. }
  456. }
  457. ],
  458. "request": {
  459. "method": "POST",
  460. "header": [
  461. {
  462. "key": "Content-Type",
  463. "name": "Content-Type",
  464. "value": "application/json",
  465. "type": "text"
  466. }
  467. ],
  468. "body": {
  469. "mode": "raw",
  470. "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\",\n\t\"clave\": \"hquijada\"\n}",
  471. "options": {
  472. "raw": {
  473. "language": "json"
  474. }
  475. }
  476. },
  477. "url": {
  478. "raw": "{{url}}/v1/cuenta/iniciar-sesion",
  479. "host": [
  480. "{{url}}"
  481. ],
  482. "path": [
  483. "v1",
  484. "cuenta",
  485. "iniciar-sesion"
  486. ]
  487. }
  488. },
  489. "response": []
  490. },
  491. {
  492. "name": "/v1/cuenta/recuperar",
  493. "event": [
  494. {
  495. "listen": "test",
  496. "script": {
  497. "id": "96c4d830-6243-4290-a423-107b4e9b3b02",
  498. "exec": [
  499. "var jsonData = pm.response.json();",
  500. "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {",
  501. " pm.environment.set(\"token\", jsonData[\"token\"]);",
  502. "}"
  503. ],
  504. "type": "text/javascript"
  505. }
  506. }
  507. ],
  508. "request": {
  509. "method": "POST",
  510. "header": [
  511. {
  512. "key": "Content-Type",
  513. "name": "Content-Type",
  514. "value": "application/json",
  515. "type": "text"
  516. }
  517. ],
  518. "body": {
  519. "mode": "raw",
  520. "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\"\n}",
  521. "options": {
  522. "raw": {
  523. "language": "json"
  524. }
  525. }
  526. },
  527. "url": {
  528. "raw": "{{url}}/v1/cuenta/recuperar",
  529. "host": [
  530. "{{url}}"
  531. ],
  532. "path": [
  533. "v1",
  534. "cuenta",
  535. "recuperar"
  536. ]
  537. }
  538. },
  539. "response": []
  540. }
  541. ],
  542. "protocolProfileBehavior": {}
  543. },
  544. {
  545. "name": "Dependencia",
  546. "item": [
  547. {
  548. "name": "/v1/dependencia",
  549. "protocolProfileBehavior": {
  550. "disableBodyPruning": true
  551. },
  552. "request": {
  553. "method": "GET",
  554. "header": [
  555. {
  556. "key": "Content-Type",
  557. "value": "application/json",
  558. "type": "text"
  559. },
  560. {
  561. "key": "Accept",
  562. "value": "application/json",
  563. "type": "text"
  564. },
  565. {
  566. "key": "Authorization",
  567. "value": "Bearer {{token}}",
  568. "type": "text"
  569. }
  570. ],
  571. "body": {
  572. "mode": "raw",
  573. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  574. },
  575. "url": {
  576. "raw": "{{url}}/v1/dependencia?expand=ciudades",
  577. "host": [
  578. "{{url}}"
  579. ],
  580. "path": [
  581. "v1",
  582. "dependencia"
  583. ],
  584. "query": [
  585. {
  586. "key": "expand",
  587. "value": "ciudades"
  588. }
  589. ]
  590. }
  591. },
  592. "response": [
  593. {
  594. "name": "/v1/entidad",
  595. "originalRequest": {
  596. "method": "POST",
  597. "header": [
  598. {
  599. "key": "Content-Type",
  600. "value": "application/json",
  601. "type": "text"
  602. },
  603. {
  604. "key": "Accept",
  605. "value": "application/json",
  606. "type": "text"
  607. }
  608. ],
  609. "body": {
  610. "mode": "raw",
  611. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  612. },
  613. "url": {
  614. "raw": "{{url}}/v1/entidad",
  615. "host": [
  616. "{{url}}"
  617. ],
  618. "path": [
  619. "v1",
  620. "entidad"
  621. ]
  622. }
  623. },
  624. "status": "OK",
  625. "code": 200,
  626. "_postman_previewlanguage": "json",
  627. "header": [
  628. {
  629. "key": "Date",
  630. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  631. },
  632. {
  633. "key": "Server",
  634. "value": "Apache/2.4.18 (Ubuntu)"
  635. },
  636. {
  637. "key": "Vary",
  638. "value": "Accept"
  639. },
  640. {
  641. "key": "Keep-Alive",
  642. "value": "timeout=5, max=100"
  643. },
  644. {
  645. "key": "Connection",
  646. "value": "Keep-Alive"
  647. },
  648. {
  649. "key": "Transfer-Encoding",
  650. "value": "chunked"
  651. },
  652. {
  653. "key": "Content-Type",
  654. "value": "application/json; charset=UTF-8"
  655. }
  656. ],
  657. "cookie": [],
  658. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  659. }
  660. ]
  661. },
  662. {
  663. "name": "/v1/dependencia/crear",
  664. "request": {
  665. "method": "POST",
  666. "header": [
  667. {
  668. "key": "Content-Type",
  669. "value": "application/json",
  670. "type": "text"
  671. },
  672. {
  673. "key": "Accept",
  674. "value": "application/json",
  675. "type": "text"
  676. },
  677. {
  678. "key": "Authorization",
  679. "value": "Bearer {{token}}",
  680. "type": "text"
  681. }
  682. ],
  683. "body": {
  684. "mode": "raw",
  685. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"beqWHWk7YkB1\",\n\t\t\"PruebaSubida\"\n\t]\n}"
  686. },
  687. "url": {
  688. "raw": "{{url}}/v1/dependencia/crear",
  689. "host": [
  690. "{{url}}"
  691. ],
  692. "path": [
  693. "v1",
  694. "dependencia",
  695. "crear"
  696. ]
  697. }
  698. },
  699. "response": [
  700. {
  701. "name": "/v1/entidad",
  702. "originalRequest": {
  703. "method": "POST",
  704. "header": [
  705. {
  706. "key": "Content-Type",
  707. "value": "application/json",
  708. "type": "text"
  709. },
  710. {
  711. "key": "Accept",
  712. "value": "application/json",
  713. "type": "text"
  714. }
  715. ],
  716. "body": {
  717. "mode": "raw",
  718. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  719. },
  720. "url": {
  721. "raw": "{{url}}/v1/entidad",
  722. "host": [
  723. "{{url}}"
  724. ],
  725. "path": [
  726. "v1",
  727. "entidad"
  728. ]
  729. }
  730. },
  731. "status": "OK",
  732. "code": 200,
  733. "_postman_previewlanguage": "json",
  734. "header": [
  735. {
  736. "key": "Date",
  737. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  738. },
  739. {
  740. "key": "Server",
  741. "value": "Apache/2.4.18 (Ubuntu)"
  742. },
  743. {
  744. "key": "Vary",
  745. "value": "Accept"
  746. },
  747. {
  748. "key": "Keep-Alive",
  749. "value": "timeout=5, max=100"
  750. },
  751. {
  752. "key": "Connection",
  753. "value": "Keep-Alive"
  754. },
  755. {
  756. "key": "Transfer-Encoding",
  757. "value": "chunked"
  758. },
  759. {
  760. "key": "Content-Type",
  761. "value": "application/json; charset=UTF-8"
  762. }
  763. ],
  764. "cookie": [],
  765. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  766. }
  767. ]
  768. },
  769. {
  770. "name": "/v1/dependencia/editar",
  771. "request": {
  772. "method": "POST",
  773. "header": [
  774. {
  775. "key": "Content-Type",
  776. "value": "application/json",
  777. "type": "text"
  778. },
  779. {
  780. "key": "Accept",
  781. "value": "application/json",
  782. "type": "text"
  783. },
  784. {
  785. "key": "Authorization",
  786. "value": "Bearer {{token}}",
  787. "type": "text"
  788. }
  789. ],
  790. "body": {
  791. "mode": "raw",
  792. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"PruebaSubida\"\n\t]\n}"
  793. },
  794. "url": {
  795. "raw": "{{url}}/v1/dependencia/editar?id=1&expand=ciudades",
  796. "host": [
  797. "{{url}}"
  798. ],
  799. "path": [
  800. "v1",
  801. "dependencia",
  802. "editar"
  803. ],
  804. "query": [
  805. {
  806. "key": "id",
  807. "value": "1"
  808. },
  809. {
  810. "key": "expand",
  811. "value": "ciudades"
  812. }
  813. ]
  814. }
  815. },
  816. "response": [
  817. {
  818. "name": "/v1/entidad",
  819. "originalRequest": {
  820. "method": "POST",
  821. "header": [
  822. {
  823. "key": "Content-Type",
  824. "value": "application/json",
  825. "type": "text"
  826. },
  827. {
  828. "key": "Accept",
  829. "value": "application/json",
  830. "type": "text"
  831. }
  832. ],
  833. "body": {
  834. "mode": "raw",
  835. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  836. },
  837. "url": {
  838. "raw": "{{url}}/v1/entidad",
  839. "host": [
  840. "{{url}}"
  841. ],
  842. "path": [
  843. "v1",
  844. "entidad"
  845. ]
  846. }
  847. },
  848. "status": "OK",
  849. "code": 200,
  850. "_postman_previewlanguage": "json",
  851. "header": [
  852. {
  853. "key": "Date",
  854. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  855. },
  856. {
  857. "key": "Server",
  858. "value": "Apache/2.4.18 (Ubuntu)"
  859. },
  860. {
  861. "key": "Vary",
  862. "value": "Accept"
  863. },
  864. {
  865. "key": "Keep-Alive",
  866. "value": "timeout=5, max=100"
  867. },
  868. {
  869. "key": "Connection",
  870. "value": "Keep-Alive"
  871. },
  872. {
  873. "key": "Transfer-Encoding",
  874. "value": "chunked"
  875. },
  876. {
  877. "key": "Content-Type",
  878. "value": "application/json; charset=UTF-8"
  879. }
  880. ],
  881. "cookie": [],
  882. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  883. }
  884. ]
  885. }
  886. ],
  887. "event": [
  888. {
  889. "listen": "prerequest",
  890. "script": {
  891. "id": "614a934e-a343-4749-b2df-14a256659bff",
  892. "type": "text/javascript",
  893. "exec": [
  894. ""
  895. ]
  896. }
  897. },
  898. {
  899. "listen": "test",
  900. "script": {
  901. "id": "d7af8a4a-2d70-4958-8625-d89421bb3c6f",
  902. "type": "text/javascript",
  903. "exec": [
  904. ""
  905. ]
  906. }
  907. }
  908. ],
  909. "protocolProfileBehavior": {}
  910. },
  911. {
  912. "name": "Entidad",
  913. "item": [
  914. {
  915. "name": "/v1/entidad",
  916. "request": {
  917. "method": "GET",
  918. "header": [
  919. {
  920. "key": "Authorization",
  921. "value": "Bearer {{token}}",
  922. "type": "text"
  923. }
  924. ],
  925. "url": {
  926. "raw": "{{url}}/v1/entidad?id=2",
  927. "host": [
  928. "{{url}}"
  929. ],
  930. "path": [
  931. "v1",
  932. "entidad"
  933. ],
  934. "query": [
  935. {
  936. "key": "id",
  937. "value": "2"
  938. }
  939. ]
  940. }
  941. },
  942. "response": []
  943. },
  944. {
  945. "name": "/v1/entidad/crear",
  946. "request": {
  947. "method": "POST",
  948. "header": [
  949. {
  950. "key": "Content-Type",
  951. "value": "application/json",
  952. "type": "text"
  953. },
  954. {
  955. "key": "Accept",
  956. "value": "application/json",
  957. "type": "text"
  958. },
  959. {
  960. "key": "Authorization",
  961. "value": "Bearer {{token}}",
  962. "type": "text"
  963. }
  964. ],
  965. "body": {
  966. "mode": "raw",
  967. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  968. },
  969. "url": {
  970. "raw": "{{url}}/v1/entidad/crear",
  971. "host": [
  972. "{{url}}"
  973. ],
  974. "path": [
  975. "v1",
  976. "entidad",
  977. "crear"
  978. ]
  979. }
  980. },
  981. "response": [
  982. {
  983. "name": "/v1/entidad",
  984. "originalRequest": {
  985. "method": "POST",
  986. "header": [
  987. {
  988. "key": "Content-Type",
  989. "value": "application/json",
  990. "type": "text"
  991. },
  992. {
  993. "key": "Accept",
  994. "value": "application/json",
  995. "type": "text"
  996. }
  997. ],
  998. "body": {
  999. "mode": "raw",
  1000. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1001. },
  1002. "url": {
  1003. "raw": "{{url}}/v1/entidad",
  1004. "host": [
  1005. "{{url}}"
  1006. ],
  1007. "path": [
  1008. "v1",
  1009. "entidad"
  1010. ]
  1011. }
  1012. },
  1013. "status": "OK",
  1014. "code": 200,
  1015. "_postman_previewlanguage": "json",
  1016. "header": [
  1017. {
  1018. "key": "Date",
  1019. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1020. },
  1021. {
  1022. "key": "Server",
  1023. "value": "Apache/2.4.18 (Ubuntu)"
  1024. },
  1025. {
  1026. "key": "Vary",
  1027. "value": "Accept"
  1028. },
  1029. {
  1030. "key": "Keep-Alive",
  1031. "value": "timeout=5, max=100"
  1032. },
  1033. {
  1034. "key": "Connection",
  1035. "value": "Keep-Alive"
  1036. },
  1037. {
  1038. "key": "Transfer-Encoding",
  1039. "value": "chunked"
  1040. },
  1041. {
  1042. "key": "Content-Type",
  1043. "value": "application/json; charset=UTF-8"
  1044. }
  1045. ],
  1046. "cookie": [],
  1047. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1048. }
  1049. ]
  1050. },
  1051. {
  1052. "name": "/v1/entidad/editar",
  1053. "request": {
  1054. "method": "POST",
  1055. "header": [
  1056. {
  1057. "key": "Content-Type",
  1058. "value": "application/json",
  1059. "type": "text"
  1060. },
  1061. {
  1062. "key": "Accept",
  1063. "value": "application/json",
  1064. "type": "text"
  1065. },
  1066. {
  1067. "key": "Authorization",
  1068. "value": "Bearer {{token}}",
  1069. "type": "text"
  1070. }
  1071. ],
  1072. "body": {
  1073. "mode": "raw",
  1074. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1075. },
  1076. "url": {
  1077. "raw": "{{url}}/v1/entidad/editar?id=1",
  1078. "host": [
  1079. "{{url}}"
  1080. ],
  1081. "path": [
  1082. "v1",
  1083. "entidad",
  1084. "editar"
  1085. ],
  1086. "query": [
  1087. {
  1088. "key": "id",
  1089. "value": "1"
  1090. }
  1091. ]
  1092. }
  1093. },
  1094. "response": [
  1095. {
  1096. "name": "/v1/entidad",
  1097. "originalRequest": {
  1098. "method": "POST",
  1099. "header": [
  1100. {
  1101. "key": "Content-Type",
  1102. "value": "application/json",
  1103. "type": "text"
  1104. },
  1105. {
  1106. "key": "Accept",
  1107. "value": "application/json",
  1108. "type": "text"
  1109. }
  1110. ],
  1111. "body": {
  1112. "mode": "raw",
  1113. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1114. },
  1115. "url": {
  1116. "raw": "{{url}}/v1/entidad",
  1117. "host": [
  1118. "{{url}}"
  1119. ],
  1120. "path": [
  1121. "v1",
  1122. "entidad"
  1123. ]
  1124. }
  1125. },
  1126. "status": "OK",
  1127. "code": 200,
  1128. "_postman_previewlanguage": "json",
  1129. "header": [
  1130. {
  1131. "key": "Date",
  1132. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1133. },
  1134. {
  1135. "key": "Server",
  1136. "value": "Apache/2.4.18 (Ubuntu)"
  1137. },
  1138. {
  1139. "key": "Vary",
  1140. "value": "Accept"
  1141. },
  1142. {
  1143. "key": "Keep-Alive",
  1144. "value": "timeout=5, max=100"
  1145. },
  1146. {
  1147. "key": "Connection",
  1148. "value": "Keep-Alive"
  1149. },
  1150. {
  1151. "key": "Transfer-Encoding",
  1152. "value": "chunked"
  1153. },
  1154. {
  1155. "key": "Content-Type",
  1156. "value": "application/json; charset=UTF-8"
  1157. }
  1158. ],
  1159. "cookie": [],
  1160. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1161. }
  1162. ]
  1163. }
  1164. ],
  1165. "event": [
  1166. {
  1167. "listen": "prerequest",
  1168. "script": {
  1169. "id": "0e610f59-ff4a-4a4f-9695-40dbdb332932",
  1170. "type": "text/javascript",
  1171. "exec": [
  1172. ""
  1173. ]
  1174. }
  1175. },
  1176. {
  1177. "listen": "test",
  1178. "script": {
  1179. "id": "8347e897-c6ce-4046-8564-361680656626",
  1180. "type": "text/javascript",
  1181. "exec": [
  1182. ""
  1183. ]
  1184. }
  1185. }
  1186. ],
  1187. "protocolProfileBehavior": {}
  1188. },
  1189. {
  1190. "name": "Estación",
  1191. "item": [
  1192. {
  1193. "name": "/v1/estacion",
  1194. "request": {
  1195. "auth": {
  1196. "type": "noauth"
  1197. },
  1198. "method": "GET",
  1199. "header": [
  1200. {
  1201. "key": "Authorization",
  1202. "value": "Bearer {{token}}",
  1203. "type": "text"
  1204. },
  1205. {
  1206. "key": "Content-Type",
  1207. "name": "Content-Type",
  1208. "value": "application/json",
  1209. "type": "text"
  1210. }
  1211. ],
  1212. "url": {
  1213. "raw": "{{url}}/v1/estacion",
  1214. "host": [
  1215. "{{url}}"
  1216. ],
  1217. "path": [
  1218. "v1",
  1219. "estacion"
  1220. ]
  1221. }
  1222. },
  1223. "response": []
  1224. },
  1225. {
  1226. "name": "/v1/estacion/crear",
  1227. "request": {
  1228. "auth": {
  1229. "type": "noauth"
  1230. },
  1231. "method": "POST",
  1232. "header": [
  1233. {
  1234. "key": "Authorization",
  1235. "value": "Bearer {{token}}",
  1236. "type": "text"
  1237. },
  1238. {
  1239. "key": "Content-Type",
  1240. "name": "Content-Type",
  1241. "value": "application/json",
  1242. "type": "text"
  1243. }
  1244. ],
  1245. "url": {
  1246. "raw": "{{url}}/v1/estacion/crear",
  1247. "host": [
  1248. "{{url}}"
  1249. ],
  1250. "path": [
  1251. "v1",
  1252. "estacion",
  1253. "crear"
  1254. ]
  1255. }
  1256. },
  1257. "response": []
  1258. },
  1259. {
  1260. "name": "/v1/estacion/editar",
  1261. "request": {
  1262. "auth": {
  1263. "type": "noauth"
  1264. },
  1265. "method": "POST",
  1266. "header": [
  1267. {
  1268. "key": "Authorization",
  1269. "value": "Bearer {{token}}",
  1270. "type": "text"
  1271. },
  1272. {
  1273. "key": "Content-Type",
  1274. "name": "Content-Type",
  1275. "value": "application/json",
  1276. "type": "text"
  1277. }
  1278. ],
  1279. "body": {
  1280. "mode": "raw",
  1281. "raw": "{\n\t\"estado\": \"CIUDAD DE MEXICO\",\n\t\"clave\": \"100_3HMO\",\n\t\"siglas\": \"XXXX\",\n\t\"frecuencia\": 100.3\n}"
  1282. },
  1283. "url": {
  1284. "raw": "{{url}}/v1/estacion/editar?id=1",
  1285. "host": [
  1286. "{{url}}"
  1287. ],
  1288. "path": [
  1289. "v1",
  1290. "estacion",
  1291. "editar"
  1292. ],
  1293. "query": [
  1294. {
  1295. "key": "id",
  1296. "value": "1"
  1297. }
  1298. ]
  1299. }
  1300. },
  1301. "response": []
  1302. }
  1303. ],
  1304. "event": [
  1305. {
  1306. "listen": "prerequest",
  1307. "script": {
  1308. "id": "6a312333-f7cf-402b-b97d-64de8b443e0f",
  1309. "type": "text/javascript",
  1310. "exec": [
  1311. ""
  1312. ]
  1313. }
  1314. },
  1315. {
  1316. "listen": "test",
  1317. "script": {
  1318. "id": "9d98c212-2880-4fee-91db-439bc4b0ea26",
  1319. "type": "text/javascript",
  1320. "exec": [
  1321. ""
  1322. ]
  1323. }
  1324. }
  1325. ],
  1326. "protocolProfileBehavior": {}
  1327. },
  1328. {
  1329. "name": "Estado",
  1330. "item": [
  1331. {
  1332. "name": "/v1/estado",
  1333. "request": {
  1334. "auth": {
  1335. "type": "noauth"
  1336. },
  1337. "method": "GET",
  1338. "header": [
  1339. {
  1340. "key": "Authorization",
  1341. "value": "Bearer {{token}}",
  1342. "type": "text"
  1343. }
  1344. ],
  1345. "url": {
  1346. "raw": "{{url}}/v1/estado",
  1347. "host": [
  1348. "{{url}}"
  1349. ],
  1350. "path": [
  1351. "v1",
  1352. "estado"
  1353. ]
  1354. }
  1355. },
  1356. "response": []
  1357. },
  1358. {
  1359. "name": "/v1/estado/crear",
  1360. "request": {
  1361. "auth": {
  1362. "type": "noauth"
  1363. },
  1364. "method": "POST",
  1365. "header": [
  1366. {
  1367. "key": "Authorization",
  1368. "value": "Bearer {{token}}",
  1369. "type": "text"
  1370. },
  1371. {
  1372. "key": "Content-Type",
  1373. "name": "Content-Type",
  1374. "value": "application/json",
  1375. "type": "text"
  1376. }
  1377. ],
  1378. "body": {
  1379. "mode": "raw",
  1380. "raw": "{\n\t\"id\": \"CIUDAD DE MEXICO\"\n}"
  1381. },
  1382. "url": {
  1383. "raw": "{{url}}/v1/estado/crear",
  1384. "host": [
  1385. "{{url}}"
  1386. ],
  1387. "path": [
  1388. "v1",
  1389. "estado",
  1390. "crear"
  1391. ]
  1392. }
  1393. },
  1394. "response": []
  1395. }
  1396. ],
  1397. "event": [
  1398. {
  1399. "listen": "prerequest",
  1400. "script": {
  1401. "id": "2a657a25-9888-4378-99f0-7af5248ae06f",
  1402. "type": "text/javascript",
  1403. "exec": [
  1404. ""
  1405. ]
  1406. }
  1407. },
  1408. {
  1409. "listen": "test",
  1410. "script": {
  1411. "id": "e922125e-582d-47f7-8fd8-e0c641563b05",
  1412. "type": "text/javascript",
  1413. "exec": [
  1414. ""
  1415. ]
  1416. }
  1417. }
  1418. ],
  1419. "protocolProfileBehavior": {}
  1420. },
  1421. {
  1422. "name": "Perfil",
  1423. "item": [
  1424. {
  1425. "name": "/v1/perfil",
  1426. "request": {
  1427. "method": "GET",
  1428. "header": [
  1429. {
  1430. "key": "Content-Type",
  1431. "name": "Content-Type",
  1432. "value": "application/x-www-form-urlencoded",
  1433. "type": "text"
  1434. },
  1435. {
  1436. "key": "Authorization",
  1437. "value": "Bearer {{token}}",
  1438. "type": "text"
  1439. }
  1440. ],
  1441. "url": {
  1442. "raw": "{{url}}/v1/perfil",
  1443. "host": [
  1444. "{{url}}"
  1445. ],
  1446. "path": [
  1447. "v1",
  1448. "perfil"
  1449. ]
  1450. }
  1451. },
  1452. "response": []
  1453. },
  1454. {
  1455. "name": "/v1/perfil/editar",
  1456. "request": {
  1457. "method": "POST",
  1458. "header": [
  1459. {
  1460. "key": "Content-Type",
  1461. "value": "application/json",
  1462. "type": "text"
  1463. },
  1464. {
  1465. "key": "Authorization",
  1466. "value": "Bearer {{token}}",
  1467. "type": "text"
  1468. }
  1469. ],
  1470. "body": {
  1471. "mode": "raw",
  1472. "raw": "{\n\t\"nombre\": \"Hugo Quijada García\"\n}"
  1473. },
  1474. "url": {
  1475. "raw": "{{url}}/v1/perfil/editar",
  1476. "host": [
  1477. "{{url}}"
  1478. ],
  1479. "path": [
  1480. "v1",
  1481. "perfil",
  1482. "editar"
  1483. ]
  1484. }
  1485. },
  1486. "response": []
  1487. }
  1488. ],
  1489. "protocolProfileBehavior": {}
  1490. }
  1491. ],
  1492. "event": [
  1493. {
  1494. "listen": "prerequest",
  1495. "script": {
  1496. "id": "c6e1c907-8527-41c3-a54d-29c153d91237",
  1497. "type": "text/javascript",
  1498. "exec": [
  1499. ""
  1500. ]
  1501. }
  1502. },
  1503. {
  1504. "listen": "test",
  1505. "script": {
  1506. "id": "345e8197-137f-460d-bbd5-3c11878035b8",
  1507. "type": "text/javascript",
  1508. "exec": [
  1509. ""
  1510. ]
  1511. }
  1512. }
  1513. ],
  1514. "protocolProfileBehavior": {}
  1515. }