audiovalid.postman_collection.json 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313
  1. {
  2. "info": {
  3. "_postman_id": "7af29f76-58a7-491a-ad86-2648a363a1c1",
  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": "0dc70370-33a7-4420-ae11-6d1eaa580175",
  55. "type": "text/javascript",
  56. "exec": [
  57. ""
  58. ]
  59. }
  60. },
  61. {
  62. "listen": "test",
  63. "script": {
  64. "id": "40872341-a603-4002-a30b-6682164e4675",
  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": "59ebf22b-3770-4969-afa4-efc5c0c52e7a",
  205. "type": "text/javascript",
  206. "exec": [
  207. ""
  208. ]
  209. }
  210. },
  211. {
  212. "listen": "test",
  213. "script": {
  214. "id": "c11cb9df-f9bf-4e2b-ba12-6560a349ff1e",
  215. "type": "text/javascript",
  216. "exec": [
  217. ""
  218. ]
  219. }
  220. }
  221. ],
  222. "protocolProfileBehavior": {}
  223. },
  224. {
  225. "name": "Bitacora",
  226. "item": [
  227. {
  228. "name": "/v1/bitacora",
  229. "request": {
  230. "method": "GET",
  231. "header": [
  232. {
  233. "key": "Authorization",
  234. "value": "Bearer {{token}}",
  235. "type": "text"
  236. },
  237. {
  238. "key": "Content-Type",
  239. "value": "application/json",
  240. "type": "text"
  241. }
  242. ],
  243. "url": {
  244. "raw": "{{url}}/v1/bitacora?idCiudad=prueba",
  245. "host": [
  246. "{{url}}"
  247. ],
  248. "path": [
  249. "v1",
  250. "bitacora"
  251. ],
  252. "query": [
  253. {
  254. "key": "idCiudad",
  255. "value": "prueba"
  256. }
  257. ]
  258. }
  259. },
  260. "response": []
  261. },
  262. {
  263. "name": "/v1/bitacora/eliminar",
  264. "request": {
  265. "method": "POST",
  266. "header": [
  267. {
  268. "key": "Authorization",
  269. "value": "Bearer {{token}}",
  270. "type": "text"
  271. },
  272. {
  273. "key": "Content-Type",
  274. "value": "application/json",
  275. "type": "text"
  276. }
  277. ],
  278. "url": {
  279. "raw": "{{url}}/v1/bitacora/eliminar?id=1983",
  280. "host": [
  281. "{{url}}"
  282. ],
  283. "path": [
  284. "v1",
  285. "bitacora",
  286. "eliminar"
  287. ],
  288. "query": [
  289. {
  290. "key": "id",
  291. "value": "1983"
  292. }
  293. ]
  294. }
  295. },
  296. "response": []
  297. }
  298. ],
  299. "protocolProfileBehavior": {}
  300. },
  301. {
  302. "name": "Calendario",
  303. "item": [
  304. {
  305. "name": "/v1/calendario/reiniciar-estado",
  306. "request": {
  307. "method": "POST",
  308. "header": [
  309. {
  310. "key": "Authorization",
  311. "value": "Bearer {{token}}",
  312. "type": "text"
  313. },
  314. {
  315. "key": "Content-Type",
  316. "value": "application/json",
  317. "type": "text"
  318. }
  319. ],
  320. "body": {
  321. "mode": "raw",
  322. "raw": "{\n \"id\": 577\n}"
  323. },
  324. "url": {
  325. "raw": "{{url}}/v1/calendario/reiniciar-estado",
  326. "host": [
  327. "{{url}}"
  328. ],
  329. "path": [
  330. "v1",
  331. "calendario",
  332. "reiniciar-estado"
  333. ]
  334. }
  335. },
  336. "response": []
  337. }
  338. ],
  339. "protocolProfileBehavior": {}
  340. },
  341. {
  342. "name": "Campaña",
  343. "item": [
  344. {
  345. "name": "/v1/campana",
  346. "request": {
  347. "method": "GET",
  348. "header": [
  349. {
  350. "key": "Content-Type",
  351. "name": "Content-Type",
  352. "value": "application/x-www-form-urlencoded",
  353. "type": "text"
  354. },
  355. {
  356. "key": "Authorization",
  357. "value": "Bearer {{token}}",
  358. "type": "text"
  359. }
  360. ],
  361. "url": {
  362. "raw": "{{url}}/v1/campana",
  363. "host": [
  364. "{{url}}"
  365. ],
  366. "path": [
  367. "v1",
  368. "campana"
  369. ]
  370. }
  371. },
  372. "response": []
  373. },
  374. {
  375. "name": "/v1/campana/ordenes",
  376. "request": {
  377. "method": "GET",
  378. "header": [
  379. {
  380. "key": "Content-Type",
  381. "name": "Content-Type",
  382. "value": "application/x-www-form-urlencoded",
  383. "type": "text"
  384. },
  385. {
  386. "key": "Authorization",
  387. "value": "Bearer {{token}}",
  388. "type": "text"
  389. }
  390. ],
  391. "url": {
  392. "raw": "{{url}}/v1/campana/ordenes",
  393. "host": [
  394. "{{url}}"
  395. ],
  396. "path": [
  397. "v1",
  398. "campana",
  399. "ordenes"
  400. ]
  401. }
  402. },
  403. "response": []
  404. },
  405. {
  406. "name": "/v1/campana/crear",
  407. "request": {
  408. "method": "POST",
  409. "header": [
  410. {
  411. "key": "Content-Type",
  412. "name": "Content-Type",
  413. "value": "application/json",
  414. "type": "text"
  415. },
  416. {
  417. "key": "Authorization",
  418. "value": "Bearer {{token}}",
  419. "type": "text"
  420. }
  421. ],
  422. "body": {
  423. "mode": "raw",
  424. "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}",
  425. "options": {
  426. "raw": {
  427. "language": "json"
  428. }
  429. }
  430. },
  431. "url": {
  432. "raw": "{{url}}/v1/campana?id=2&expand=pautas",
  433. "host": [
  434. "{{url}}"
  435. ],
  436. "path": [
  437. "v1",
  438. "campana"
  439. ],
  440. "query": [
  441. {
  442. "key": "id",
  443. "value": "2"
  444. },
  445. {
  446. "key": "expand",
  447. "value": "pautas"
  448. }
  449. ]
  450. }
  451. },
  452. "response": []
  453. },
  454. {
  455. "name": "/v1/campana/agregar-eventos",
  456. "request": {
  457. "method": "POST",
  458. "header": [
  459. {
  460. "key": "Authorization",
  461. "value": "Bearer {{token}}",
  462. "type": "text"
  463. },
  464. {
  465. "key": "Content-Type",
  466. "value": "application/json",
  467. "type": "text"
  468. }
  469. ],
  470. "body": {
  471. "mode": "raw",
  472. "raw": "{\n \"fechas\": [1589090500]\n}"
  473. },
  474. "url": {
  475. "raw": "{{url}}/v1/campana/agregar-eventos?idPauta=27",
  476. "host": [
  477. "{{url}}"
  478. ],
  479. "path": [
  480. "v1",
  481. "campana",
  482. "agregar-eventos"
  483. ],
  484. "query": [
  485. {
  486. "key": "idPauta",
  487. "value": "27"
  488. }
  489. ]
  490. }
  491. },
  492. "response": []
  493. },
  494. {
  495. "name": "/v1/campana/agregar-encontrado",
  496. "request": {
  497. "method": "POST",
  498. "header": [
  499. {
  500. "key": "Authorization",
  501. "value": "Bearer {{token}}",
  502. "type": "text"
  503. },
  504. {
  505. "key": "Content-Type",
  506. "value": "application/json",
  507. "type": "text"
  508. }
  509. ],
  510. "body": {
  511. "mode": "raw",
  512. "raw": "{\n \"fecha\": 1588763511,\n \"id\": 577\n}"
  513. },
  514. "url": {
  515. "raw": "{{url}}/v1/campana/agregar-encontrado",
  516. "host": [
  517. "{{url}}"
  518. ],
  519. "path": [
  520. "v1",
  521. "campana",
  522. "agregar-encontrado"
  523. ]
  524. }
  525. },
  526. "response": []
  527. },
  528. {
  529. "name": "/v1/campana/eliminar-encontrado",
  530. "request": {
  531. "method": "POST",
  532. "header": [
  533. {
  534. "key": "Authorization",
  535. "value": "Bearer {{token}}",
  536. "type": "text"
  537. },
  538. {
  539. "key": "Content-Type",
  540. "value": "application/json",
  541. "type": "text"
  542. }
  543. ],
  544. "body": {
  545. "mode": "raw",
  546. "raw": "{\n \"fecha\": 1588763511,\n \"id\": 577\n}",
  547. "options": {
  548. "raw": {
  549. "language": "json"
  550. }
  551. }
  552. },
  553. "url": {
  554. "raw": "{{url}}/v1/campana/eliminar-encontrado",
  555. "host": [
  556. "{{url}}"
  557. ],
  558. "path": [
  559. "v1",
  560. "campana",
  561. "eliminar-encontrado"
  562. ]
  563. }
  564. },
  565. "response": []
  566. },
  567. {
  568. "name": "/v1/campana/crear-manual",
  569. "request": {
  570. "method": "POST",
  571. "header": [
  572. {
  573. "key": "Authorization",
  574. "value": "Bearer {{token}}",
  575. "type": "text"
  576. },
  577. {
  578. "key": "Content-Type",
  579. "value": "application/json",
  580. "type": "text"
  581. }
  582. ],
  583. "body": {
  584. "mode": "raw",
  585. "raw": "{\n \"folio\": \"folio-test\",\n \"audio\": 25,\n \"ciudad\": [],\n \"fecha\": []\n}"
  586. },
  587. "url": {
  588. "raw": "{{url}}/v1/campana/crear-manual",
  589. "host": [
  590. "{{url}}"
  591. ],
  592. "path": [
  593. "v1",
  594. "campana",
  595. "crear-manual"
  596. ]
  597. }
  598. },
  599. "response": []
  600. },
  601. {
  602. "name": "/v1/calendario/reiniciar-estado",
  603. "request": {
  604. "method": "POST",
  605. "header": [
  606. {
  607. "key": "Authorization",
  608. "value": "Bearer {{token}}",
  609. "type": "text"
  610. },
  611. {
  612. "key": "Content-Type",
  613. "value": "application/json",
  614. "type": "text"
  615. }
  616. ],
  617. "body": {
  618. "mode": "raw",
  619. "raw": "{\r\n \"id\": 593\r\n}"
  620. },
  621. "url": {
  622. "raw": "/v1/calendario/reiniciar-estado",
  623. "path": [
  624. "v1",
  625. "calendario",
  626. "reiniciar-estado"
  627. ]
  628. }
  629. },
  630. "response": []
  631. }
  632. ],
  633. "event": [
  634. {
  635. "listen": "prerequest",
  636. "script": {
  637. "id": "96717d5a-25be-4297-9f0a-cad64ff62f3e",
  638. "type": "text/javascript",
  639. "exec": [
  640. ""
  641. ]
  642. }
  643. },
  644. {
  645. "listen": "test",
  646. "script": {
  647. "id": "b5da3ee2-234a-4c47-9035-12c353a43803",
  648. "type": "text/javascript",
  649. "exec": [
  650. ""
  651. ]
  652. }
  653. }
  654. ],
  655. "protocolProfileBehavior": {}
  656. },
  657. {
  658. "name": "Ciudad",
  659. "item": [
  660. {
  661. "name": "/v1/ciudad",
  662. "request": {
  663. "method": "GET",
  664. "header": [
  665. {
  666. "key": "Authorization",
  667. "value": "Bearer {{token}}",
  668. "type": "text"
  669. }
  670. ],
  671. "url": {
  672. "raw": "{{url}}/v1/ciudad?expand=estaciones",
  673. "host": [
  674. "{{url}}"
  675. ],
  676. "path": [
  677. "v1",
  678. "ciudad"
  679. ],
  680. "query": [
  681. {
  682. "key": "expand",
  683. "value": "estaciones"
  684. }
  685. ]
  686. }
  687. },
  688. "response": []
  689. },
  690. {
  691. "name": "/v1/ciudad/editar",
  692. "request": {
  693. "method": "POST",
  694. "header": [
  695. {
  696. "key": "Content-Type",
  697. "value": "application/json",
  698. "type": "text"
  699. },
  700. {
  701. "key": "Authorization",
  702. "value": "Bearer {{token}}",
  703. "type": "text"
  704. }
  705. ],
  706. "body": {
  707. "mode": "raw",
  708. "raw": "{\n\t\"idEstado\": \"CIUDAD DE MEXICO\"\n}"
  709. },
  710. "url": {
  711. "raw": "{{url}}/v1/ciudad/editar?id=VhTifIvKH8",
  712. "host": [
  713. "{{url}}"
  714. ],
  715. "path": [
  716. "v1",
  717. "ciudad",
  718. "editar"
  719. ],
  720. "query": [
  721. {
  722. "key": "id",
  723. "value": "VhTifIvKH8"
  724. }
  725. ]
  726. }
  727. },
  728. "response": []
  729. },
  730. {
  731. "name": "/v1/ciudad/bitacora",
  732. "request": {
  733. "method": "POST",
  734. "header": [
  735. {
  736. "key": "Authorization",
  737. "value": "Bearer {{token}}",
  738. "type": "text"
  739. },
  740. {
  741. "key": "Content-Type",
  742. "value": "application/json",
  743. "type": "text"
  744. }
  745. ],
  746. "body": {
  747. "mode": "raw",
  748. "raw": "{\n \"comentario\": \"comentario de prueba\"\n}"
  749. },
  750. "url": {
  751. "raw": "{{url}}/v1/ciudad/bitacora?id=prueba",
  752. "host": [
  753. "{{url}}"
  754. ],
  755. "path": [
  756. "v1",
  757. "ciudad",
  758. "bitacora"
  759. ],
  760. "query": [
  761. {
  762. "key": "id",
  763. "value": "prueba"
  764. }
  765. ]
  766. }
  767. },
  768. "response": []
  769. },
  770. {
  771. "name": "/v1/ciudad/calidad",
  772. "request": {
  773. "method": "GET",
  774. "header": [],
  775. "url": {
  776. "raw": ""
  777. }
  778. },
  779. "response": []
  780. },
  781. {
  782. "name": "/v1/ciudad/generar",
  783. "request": {
  784. "method": "POST",
  785. "header": [
  786. {
  787. "key": "Authorization",
  788. "value": "Bearer {{token}}",
  789. "type": "text"
  790. },
  791. {
  792. "key": "Content-Type",
  793. "value": "application/json",
  794. "type": "text"
  795. }
  796. ],
  797. "url": {
  798. "raw": "/v1/ciudad/generar",
  799. "path": [
  800. "v1",
  801. "ciudad",
  802. "generar"
  803. ]
  804. }
  805. },
  806. "response": []
  807. },
  808. {
  809. "name": "/v1/ciudad/calidad-estacion",
  810. "request": {
  811. "method": "POST",
  812. "header": [
  813. {
  814. "key": "Authorization",
  815. "value": "Bearer {{token}}",
  816. "type": "text"
  817. },
  818. {
  819. "key": "Content-Type",
  820. "value": "application/json",
  821. "type": "text"
  822. }
  823. ],
  824. "body": {
  825. "mode": "raw",
  826. "raw": "{\r\n \"calidad\": \"bad\",\r\n \"comentario\": \"comentario de prueba\",\r\n \"estacion\": 707\r\n}"
  827. },
  828. "url": {
  829. "raw": "{{url}}/v1/ciudad/calidad-estacion?id=prueba",
  830. "host": [
  831. "{{url}}"
  832. ],
  833. "path": [
  834. "v1",
  835. "ciudad",
  836. "calidad-estacion"
  837. ],
  838. "query": [
  839. {
  840. "key": "id",
  841. "value": "prueba"
  842. }
  843. ]
  844. }
  845. },
  846. "response": []
  847. },
  848. {
  849. "name": "/v1/ciudad/asignar-estaciones",
  850. "protocolProfileBehavior": {
  851. "disableBodyPruning": true
  852. },
  853. "request": {
  854. "method": "GET",
  855. "header": [
  856. {
  857. "key": "Authorization",
  858. "value": "Bearer {{token}}",
  859. "type": "text"
  860. },
  861. {
  862. "key": "Content-Type",
  863. "value": "application/json",
  864. "type": "text"
  865. }
  866. ],
  867. "body": {
  868. "mode": "raw",
  869. "raw": "{\r\n \"estaciones\": [708, 707, 712]\r\n}"
  870. },
  871. "url": {
  872. "raw": "{{url}}/v1/ciudad/asignar-estaciones?id=prueba",
  873. "host": [
  874. "{{url}}"
  875. ],
  876. "path": [
  877. "v1",
  878. "ciudad",
  879. "asignar-estaciones"
  880. ],
  881. "query": [
  882. {
  883. "key": "id",
  884. "value": "prueba"
  885. }
  886. ]
  887. }
  888. },
  889. "response": []
  890. }
  891. ],
  892. "protocolProfileBehavior": {}
  893. },
  894. {
  895. "name": "Cuenta",
  896. "item": [
  897. {
  898. "name": "/v1/cuenta/iniciar-sesion",
  899. "event": [
  900. {
  901. "listen": "test",
  902. "script": {
  903. "id": "65208194-2de4-4eea-8bcc-32bd229e6461",
  904. "exec": [
  905. "var jsonData = pm.response.json();",
  906. "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {",
  907. " pm.environment.set(\"token\", jsonData[\"token\"]);",
  908. "}"
  909. ],
  910. "type": "text/javascript"
  911. }
  912. }
  913. ],
  914. "request": {
  915. "method": "POST",
  916. "header": [
  917. {
  918. "key": "Content-Type",
  919. "name": "Content-Type",
  920. "value": "application/json",
  921. "type": "text"
  922. }
  923. ],
  924. "body": {
  925. "mode": "raw",
  926. "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\",\n\t\"clave\": \"hquijada\"\n}",
  927. "options": {
  928. "raw": {
  929. "language": "json"
  930. }
  931. }
  932. },
  933. "url": {
  934. "raw": "{{url}}/v1/cuenta/iniciar-sesion",
  935. "host": [
  936. "{{url}}"
  937. ],
  938. "path": [
  939. "v1",
  940. "cuenta",
  941. "iniciar-sesion"
  942. ]
  943. }
  944. },
  945. "response": []
  946. },
  947. {
  948. "name": "/v1/cuenta/recuperar",
  949. "event": [
  950. {
  951. "listen": "test",
  952. "script": {
  953. "id": "331bd18d-b951-4f9c-aba9-e031e1b344d7",
  954. "exec": [
  955. "var jsonData = pm.response.json();",
  956. "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {",
  957. " pm.environment.set(\"token\", jsonData[\"token\"]);",
  958. "}"
  959. ],
  960. "type": "text/javascript"
  961. }
  962. }
  963. ],
  964. "request": {
  965. "method": "POST",
  966. "header": [
  967. {
  968. "key": "Content-Type",
  969. "name": "Content-Type",
  970. "value": "application/json",
  971. "type": "text"
  972. }
  973. ],
  974. "body": {
  975. "mode": "raw",
  976. "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\"\n}",
  977. "options": {
  978. "raw": {
  979. "language": "json"
  980. }
  981. }
  982. },
  983. "url": {
  984. "raw": "{{url}}/v1/cuenta/recuperar",
  985. "host": [
  986. "{{url}}"
  987. ],
  988. "path": [
  989. "v1",
  990. "cuenta",
  991. "recuperar"
  992. ]
  993. }
  994. },
  995. "response": []
  996. }
  997. ],
  998. "protocolProfileBehavior": {}
  999. },
  1000. {
  1001. "name": "Dependencia",
  1002. "item": [
  1003. {
  1004. "name": "/v1/dependencia",
  1005. "protocolProfileBehavior": {
  1006. "disableBodyPruning": true
  1007. },
  1008. "request": {
  1009. "method": "GET",
  1010. "header": [
  1011. {
  1012. "key": "Content-Type",
  1013. "value": "application/json",
  1014. "type": "text"
  1015. },
  1016. {
  1017. "key": "Accept",
  1018. "value": "application/json",
  1019. "type": "text"
  1020. },
  1021. {
  1022. "key": "Authorization",
  1023. "value": "Bearer {{token}}",
  1024. "type": "text"
  1025. }
  1026. ],
  1027. "body": {
  1028. "mode": "raw",
  1029. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1030. },
  1031. "url": {
  1032. "raw": "{{url}}/v1/dependencia?expand=ciudades",
  1033. "host": [
  1034. "{{url}}"
  1035. ],
  1036. "path": [
  1037. "v1",
  1038. "dependencia"
  1039. ],
  1040. "query": [
  1041. {
  1042. "key": "expand",
  1043. "value": "ciudades"
  1044. }
  1045. ]
  1046. }
  1047. },
  1048. "response": [
  1049. {
  1050. "name": "/v1/entidad",
  1051. "originalRequest": {
  1052. "method": "POST",
  1053. "header": [
  1054. {
  1055. "key": "Content-Type",
  1056. "value": "application/json",
  1057. "type": "text"
  1058. },
  1059. {
  1060. "key": "Accept",
  1061. "value": "application/json",
  1062. "type": "text"
  1063. }
  1064. ],
  1065. "body": {
  1066. "mode": "raw",
  1067. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1068. },
  1069. "url": {
  1070. "raw": "{{url}}/v1/entidad",
  1071. "host": [
  1072. "{{url}}"
  1073. ],
  1074. "path": [
  1075. "v1",
  1076. "entidad"
  1077. ]
  1078. }
  1079. },
  1080. "status": "OK",
  1081. "code": 200,
  1082. "_postman_previewlanguage": "json",
  1083. "header": [
  1084. {
  1085. "key": "Date",
  1086. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1087. },
  1088. {
  1089. "key": "Server",
  1090. "value": "Apache/2.4.18 (Ubuntu)"
  1091. },
  1092. {
  1093. "key": "Vary",
  1094. "value": "Accept"
  1095. },
  1096. {
  1097. "key": "Keep-Alive",
  1098. "value": "timeout=5, max=100"
  1099. },
  1100. {
  1101. "key": "Connection",
  1102. "value": "Keep-Alive"
  1103. },
  1104. {
  1105. "key": "Transfer-Encoding",
  1106. "value": "chunked"
  1107. },
  1108. {
  1109. "key": "Content-Type",
  1110. "value": "application/json; charset=UTF-8"
  1111. }
  1112. ],
  1113. "cookie": [],
  1114. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1115. }
  1116. ]
  1117. },
  1118. {
  1119. "name": "/v1/dependencia/crear",
  1120. "request": {
  1121. "method": "POST",
  1122. "header": [
  1123. {
  1124. "key": "Content-Type",
  1125. "value": "application/json",
  1126. "type": "text"
  1127. },
  1128. {
  1129. "key": "Accept",
  1130. "value": "application/json",
  1131. "type": "text"
  1132. },
  1133. {
  1134. "key": "Authorization",
  1135. "value": "Bearer {{token}}",
  1136. "type": "text"
  1137. }
  1138. ],
  1139. "body": {
  1140. "mode": "raw",
  1141. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"beqWHWk7YkB1\",\n\t\t\"PruebaSubida\"\n\t]\n}"
  1142. },
  1143. "url": {
  1144. "raw": "{{url}}/v1/dependencia/crear",
  1145. "host": [
  1146. "{{url}}"
  1147. ],
  1148. "path": [
  1149. "v1",
  1150. "dependencia",
  1151. "crear"
  1152. ]
  1153. }
  1154. },
  1155. "response": [
  1156. {
  1157. "name": "/v1/entidad",
  1158. "originalRequest": {
  1159. "method": "POST",
  1160. "header": [
  1161. {
  1162. "key": "Content-Type",
  1163. "value": "application/json",
  1164. "type": "text"
  1165. },
  1166. {
  1167. "key": "Accept",
  1168. "value": "application/json",
  1169. "type": "text"
  1170. }
  1171. ],
  1172. "body": {
  1173. "mode": "raw",
  1174. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1175. },
  1176. "url": {
  1177. "raw": "{{url}}/v1/entidad",
  1178. "host": [
  1179. "{{url}}"
  1180. ],
  1181. "path": [
  1182. "v1",
  1183. "entidad"
  1184. ]
  1185. }
  1186. },
  1187. "status": "OK",
  1188. "code": 200,
  1189. "_postman_previewlanguage": "json",
  1190. "header": [
  1191. {
  1192. "key": "Date",
  1193. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1194. },
  1195. {
  1196. "key": "Server",
  1197. "value": "Apache/2.4.18 (Ubuntu)"
  1198. },
  1199. {
  1200. "key": "Vary",
  1201. "value": "Accept"
  1202. },
  1203. {
  1204. "key": "Keep-Alive",
  1205. "value": "timeout=5, max=100"
  1206. },
  1207. {
  1208. "key": "Connection",
  1209. "value": "Keep-Alive"
  1210. },
  1211. {
  1212. "key": "Transfer-Encoding",
  1213. "value": "chunked"
  1214. },
  1215. {
  1216. "key": "Content-Type",
  1217. "value": "application/json; charset=UTF-8"
  1218. }
  1219. ],
  1220. "cookie": [],
  1221. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1222. }
  1223. ]
  1224. },
  1225. {
  1226. "name": "/v1/dependencia/editar",
  1227. "request": {
  1228. "method": "POST",
  1229. "header": [
  1230. {
  1231. "key": "Content-Type",
  1232. "value": "application/json",
  1233. "type": "text"
  1234. },
  1235. {
  1236. "key": "Accept",
  1237. "value": "application/json",
  1238. "type": "text"
  1239. },
  1240. {
  1241. "key": "Authorization",
  1242. "value": "Bearer {{token}}",
  1243. "type": "text"
  1244. }
  1245. ],
  1246. "body": {
  1247. "mode": "raw",
  1248. "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"PruebaSubida\"\n\t]\n}"
  1249. },
  1250. "url": {
  1251. "raw": "{{url}}/v1/dependencia/editar?id=1&expand=ciudades",
  1252. "host": [
  1253. "{{url}}"
  1254. ],
  1255. "path": [
  1256. "v1",
  1257. "dependencia",
  1258. "editar"
  1259. ],
  1260. "query": [
  1261. {
  1262. "key": "id",
  1263. "value": "1"
  1264. },
  1265. {
  1266. "key": "expand",
  1267. "value": "ciudades"
  1268. }
  1269. ]
  1270. }
  1271. },
  1272. "response": [
  1273. {
  1274. "name": "/v1/entidad",
  1275. "originalRequest": {
  1276. "method": "POST",
  1277. "header": [
  1278. {
  1279. "key": "Content-Type",
  1280. "value": "application/json",
  1281. "type": "text"
  1282. },
  1283. {
  1284. "key": "Accept",
  1285. "value": "application/json",
  1286. "type": "text"
  1287. }
  1288. ],
  1289. "body": {
  1290. "mode": "raw",
  1291. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1292. },
  1293. "url": {
  1294. "raw": "{{url}}/v1/entidad",
  1295. "host": [
  1296. "{{url}}"
  1297. ],
  1298. "path": [
  1299. "v1",
  1300. "entidad"
  1301. ]
  1302. }
  1303. },
  1304. "status": "OK",
  1305. "code": 200,
  1306. "_postman_previewlanguage": "json",
  1307. "header": [
  1308. {
  1309. "key": "Date",
  1310. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1311. },
  1312. {
  1313. "key": "Server",
  1314. "value": "Apache/2.4.18 (Ubuntu)"
  1315. },
  1316. {
  1317. "key": "Vary",
  1318. "value": "Accept"
  1319. },
  1320. {
  1321. "key": "Keep-Alive",
  1322. "value": "timeout=5, max=100"
  1323. },
  1324. {
  1325. "key": "Connection",
  1326. "value": "Keep-Alive"
  1327. },
  1328. {
  1329. "key": "Transfer-Encoding",
  1330. "value": "chunked"
  1331. },
  1332. {
  1333. "key": "Content-Type",
  1334. "value": "application/json; charset=UTF-8"
  1335. }
  1336. ],
  1337. "cookie": [],
  1338. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1339. }
  1340. ]
  1341. }
  1342. ],
  1343. "event": [
  1344. {
  1345. "listen": "prerequest",
  1346. "script": {
  1347. "id": "b1c69096-7475-4765-811f-a2da30209416",
  1348. "type": "text/javascript",
  1349. "exec": [
  1350. ""
  1351. ]
  1352. }
  1353. },
  1354. {
  1355. "listen": "test",
  1356. "script": {
  1357. "id": "f8f7d2d8-9bc0-4a58-864c-2cbf12cc5f0c",
  1358. "type": "text/javascript",
  1359. "exec": [
  1360. ""
  1361. ]
  1362. }
  1363. }
  1364. ],
  1365. "protocolProfileBehavior": {}
  1366. },
  1367. {
  1368. "name": "Entidad",
  1369. "item": [
  1370. {
  1371. "name": "/v1/entidad",
  1372. "request": {
  1373. "method": "GET",
  1374. "header": [
  1375. {
  1376. "key": "Authorization",
  1377. "value": "Bearer {{token}}",
  1378. "type": "text"
  1379. }
  1380. ],
  1381. "url": {
  1382. "raw": "{{url}}/v1/entidad?id=1",
  1383. "host": [
  1384. "{{url}}"
  1385. ],
  1386. "path": [
  1387. "v1",
  1388. "entidad"
  1389. ],
  1390. "query": [
  1391. {
  1392. "key": "id",
  1393. "value": "1"
  1394. }
  1395. ]
  1396. }
  1397. },
  1398. "response": []
  1399. },
  1400. {
  1401. "name": "/v1/entidad/crear",
  1402. "request": {
  1403. "method": "POST",
  1404. "header": [
  1405. {
  1406. "key": "Content-Type",
  1407. "value": "application/json",
  1408. "type": "text"
  1409. },
  1410. {
  1411. "key": "Accept",
  1412. "value": "application/json",
  1413. "type": "text"
  1414. },
  1415. {
  1416. "key": "Authorization",
  1417. "value": "Bearer {{token}}",
  1418. "type": "text"
  1419. }
  1420. ],
  1421. "body": {
  1422. "mode": "raw",
  1423. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1424. },
  1425. "url": {
  1426. "raw": "{{url}}/v1/entidad/crear",
  1427. "host": [
  1428. "{{url}}"
  1429. ],
  1430. "path": [
  1431. "v1",
  1432. "entidad",
  1433. "crear"
  1434. ]
  1435. }
  1436. },
  1437. "response": [
  1438. {
  1439. "name": "/v1/entidad",
  1440. "originalRequest": {
  1441. "method": "POST",
  1442. "header": [
  1443. {
  1444. "key": "Content-Type",
  1445. "value": "application/json",
  1446. "type": "text"
  1447. },
  1448. {
  1449. "key": "Accept",
  1450. "value": "application/json",
  1451. "type": "text"
  1452. }
  1453. ],
  1454. "body": {
  1455. "mode": "raw",
  1456. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1457. },
  1458. "url": {
  1459. "raw": "{{url}}/v1/entidad",
  1460. "host": [
  1461. "{{url}}"
  1462. ],
  1463. "path": [
  1464. "v1",
  1465. "entidad"
  1466. ]
  1467. }
  1468. },
  1469. "status": "OK",
  1470. "code": 200,
  1471. "_postman_previewlanguage": "json",
  1472. "header": [
  1473. {
  1474. "key": "Date",
  1475. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1476. },
  1477. {
  1478. "key": "Server",
  1479. "value": "Apache/2.4.18 (Ubuntu)"
  1480. },
  1481. {
  1482. "key": "Vary",
  1483. "value": "Accept"
  1484. },
  1485. {
  1486. "key": "Keep-Alive",
  1487. "value": "timeout=5, max=100"
  1488. },
  1489. {
  1490. "key": "Connection",
  1491. "value": "Keep-Alive"
  1492. },
  1493. {
  1494. "key": "Transfer-Encoding",
  1495. "value": "chunked"
  1496. },
  1497. {
  1498. "key": "Content-Type",
  1499. "value": "application/json; charset=UTF-8"
  1500. }
  1501. ],
  1502. "cookie": [],
  1503. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1504. }
  1505. ]
  1506. },
  1507. {
  1508. "name": "/v1/entidad/editar",
  1509. "request": {
  1510. "method": "POST",
  1511. "header": [
  1512. {
  1513. "key": "Content-Type",
  1514. "value": "application/json",
  1515. "type": "text"
  1516. },
  1517. {
  1518. "key": "Accept",
  1519. "value": "application/json",
  1520. "type": "text"
  1521. },
  1522. {
  1523. "key": "Authorization",
  1524. "value": "Bearer {{token}}",
  1525. "type": "text"
  1526. }
  1527. ],
  1528. "body": {
  1529. "mode": "raw",
  1530. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1531. },
  1532. "url": {
  1533. "raw": "{{url}}/v1/entidad/editar?id=1",
  1534. "host": [
  1535. "{{url}}"
  1536. ],
  1537. "path": [
  1538. "v1",
  1539. "entidad",
  1540. "editar"
  1541. ],
  1542. "query": [
  1543. {
  1544. "key": "id",
  1545. "value": "1"
  1546. }
  1547. ]
  1548. }
  1549. },
  1550. "response": [
  1551. {
  1552. "name": "/v1/entidad",
  1553. "originalRequest": {
  1554. "method": "POST",
  1555. "header": [
  1556. {
  1557. "key": "Content-Type",
  1558. "value": "application/json",
  1559. "type": "text"
  1560. },
  1561. {
  1562. "key": "Accept",
  1563. "value": "application/json",
  1564. "type": "text"
  1565. }
  1566. ],
  1567. "body": {
  1568. "mode": "raw",
  1569. "raw": "{\n\t\"nombre\": \"RTC\"\n}"
  1570. },
  1571. "url": {
  1572. "raw": "{{url}}/v1/entidad",
  1573. "host": [
  1574. "{{url}}"
  1575. ],
  1576. "path": [
  1577. "v1",
  1578. "entidad"
  1579. ]
  1580. }
  1581. },
  1582. "status": "OK",
  1583. "code": 200,
  1584. "_postman_previewlanguage": "json",
  1585. "header": [
  1586. {
  1587. "key": "Date",
  1588. "value": "Tue, 18 Feb 2020 16:51:12 GMT"
  1589. },
  1590. {
  1591. "key": "Server",
  1592. "value": "Apache/2.4.18 (Ubuntu)"
  1593. },
  1594. {
  1595. "key": "Vary",
  1596. "value": "Accept"
  1597. },
  1598. {
  1599. "key": "Keep-Alive",
  1600. "value": "timeout=5, max=100"
  1601. },
  1602. {
  1603. "key": "Connection",
  1604. "value": "Keep-Alive"
  1605. },
  1606. {
  1607. "key": "Transfer-Encoding",
  1608. "value": "chunked"
  1609. },
  1610. {
  1611. "key": "Content-Type",
  1612. "value": "application/json; charset=UTF-8"
  1613. }
  1614. ],
  1615. "cookie": [],
  1616. "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]"
  1617. }
  1618. ]
  1619. }
  1620. ],
  1621. "event": [
  1622. {
  1623. "listen": "prerequest",
  1624. "script": {
  1625. "id": "93a6c0e7-de84-456d-8652-ba53f98285b9",
  1626. "type": "text/javascript",
  1627. "exec": [
  1628. ""
  1629. ]
  1630. }
  1631. },
  1632. {
  1633. "listen": "test",
  1634. "script": {
  1635. "id": "46cd0ee5-c770-4e8b-b1eb-3143f2cf3672",
  1636. "type": "text/javascript",
  1637. "exec": [
  1638. ""
  1639. ]
  1640. }
  1641. }
  1642. ],
  1643. "protocolProfileBehavior": {}
  1644. },
  1645. {
  1646. "name": "Estación",
  1647. "item": [
  1648. {
  1649. "name": "/v1/estacion",
  1650. "request": {
  1651. "auth": {
  1652. "type": "noauth"
  1653. },
  1654. "method": "GET",
  1655. "header": [
  1656. {
  1657. "key": "Authorization",
  1658. "value": "Bearer {{token}}",
  1659. "type": "text"
  1660. },
  1661. {
  1662. "key": "Content-Type",
  1663. "name": "Content-Type",
  1664. "value": "application/json",
  1665. "type": "text"
  1666. }
  1667. ],
  1668. "url": {
  1669. "raw": "{{url}}/v1/estacion",
  1670. "host": [
  1671. "{{url}}"
  1672. ],
  1673. "path": [
  1674. "v1",
  1675. "estacion"
  1676. ]
  1677. }
  1678. },
  1679. "response": []
  1680. },
  1681. {
  1682. "name": "/v1/estacion/crear",
  1683. "request": {
  1684. "auth": {
  1685. "type": "noauth"
  1686. },
  1687. "method": "POST",
  1688. "header": [
  1689. {
  1690. "key": "Authorization",
  1691. "value": "Bearer {{token}}",
  1692. "type": "text"
  1693. },
  1694. {
  1695. "key": "Content-Type",
  1696. "name": "Content-Type",
  1697. "value": "application/json",
  1698. "type": "text"
  1699. }
  1700. ],
  1701. "url": {
  1702. "raw": "{{url}}/v1/estacion/crear",
  1703. "host": [
  1704. "{{url}}"
  1705. ],
  1706. "path": [
  1707. "v1",
  1708. "estacion",
  1709. "crear"
  1710. ]
  1711. }
  1712. },
  1713. "response": []
  1714. },
  1715. {
  1716. "name": "/v1/estacion/editar",
  1717. "request": {
  1718. "auth": {
  1719. "type": "noauth"
  1720. },
  1721. "method": "POST",
  1722. "header": [
  1723. {
  1724. "key": "Authorization",
  1725. "value": "Bearer {{token}}",
  1726. "type": "text"
  1727. },
  1728. {
  1729. "key": "Content-Type",
  1730. "name": "Content-Type",
  1731. "value": "application/json",
  1732. "type": "text"
  1733. }
  1734. ],
  1735. "body": {
  1736. "mode": "raw",
  1737. "raw": "{\n\t\"estado\": \"CIUDAD DE MEXICO\",\n\t\"clave\": \"100_3HMO\",\n\t\"siglas\": \"XXXX\",\n\t\"frecuencia\": 100.3\n}"
  1738. },
  1739. "url": {
  1740. "raw": "{{url}}/v1/estacion/editar?id=1",
  1741. "host": [
  1742. "{{url}}"
  1743. ],
  1744. "path": [
  1745. "v1",
  1746. "estacion",
  1747. "editar"
  1748. ],
  1749. "query": [
  1750. {
  1751. "key": "id",
  1752. "value": "1"
  1753. }
  1754. ]
  1755. }
  1756. },
  1757. "response": []
  1758. }
  1759. ],
  1760. "event": [
  1761. {
  1762. "listen": "prerequest",
  1763. "script": {
  1764. "id": "23c9b407-d81e-413d-961d-660a402fd1af",
  1765. "type": "text/javascript",
  1766. "exec": [
  1767. ""
  1768. ]
  1769. }
  1770. },
  1771. {
  1772. "listen": "test",
  1773. "script": {
  1774. "id": "5864df79-f6fa-4407-be0f-c121a8a82efd",
  1775. "type": "text/javascript",
  1776. "exec": [
  1777. ""
  1778. ]
  1779. }
  1780. }
  1781. ],
  1782. "protocolProfileBehavior": {}
  1783. },
  1784. {
  1785. "name": "Estado",
  1786. "item": [
  1787. {
  1788. "name": "/v1/estado",
  1789. "request": {
  1790. "auth": {
  1791. "type": "noauth"
  1792. },
  1793. "method": "GET",
  1794. "header": [
  1795. {
  1796. "key": "Authorization",
  1797. "value": "Bearer {{token}}",
  1798. "type": "text"
  1799. }
  1800. ],
  1801. "url": {
  1802. "raw": "{{url}}/v1/estado",
  1803. "host": [
  1804. "{{url}}"
  1805. ],
  1806. "path": [
  1807. "v1",
  1808. "estado"
  1809. ]
  1810. }
  1811. },
  1812. "response": []
  1813. },
  1814. {
  1815. "name": "/v1/estado/crear",
  1816. "request": {
  1817. "auth": {
  1818. "type": "noauth"
  1819. },
  1820. "method": "POST",
  1821. "header": [
  1822. {
  1823. "key": "Authorization",
  1824. "value": "Bearer {{token}}",
  1825. "type": "text"
  1826. },
  1827. {
  1828. "key": "Content-Type",
  1829. "name": "Content-Type",
  1830. "value": "application/json",
  1831. "type": "text"
  1832. }
  1833. ],
  1834. "body": {
  1835. "mode": "raw",
  1836. "raw": "{\n\t\"id\": \"CIUDAD DE MEXICO\"\n}"
  1837. },
  1838. "url": {
  1839. "raw": "{{url}}/v1/estado/crear",
  1840. "host": [
  1841. "{{url}}"
  1842. ],
  1843. "path": [
  1844. "v1",
  1845. "estado",
  1846. "crear"
  1847. ]
  1848. }
  1849. },
  1850. "response": []
  1851. },
  1852. {
  1853. "name": "/v1/estado/editar",
  1854. "request": {
  1855. "method": "POST",
  1856. "header": [
  1857. {
  1858. "key": "Authorization",
  1859. "value": "Bearer {{token}}",
  1860. "type": "text"
  1861. },
  1862. {
  1863. "key": "Content-Type",
  1864. "value": "application/json",
  1865. "type": "text"
  1866. }
  1867. ],
  1868. "body": {
  1869. "mode": "raw",
  1870. "raw": "{\r\n \"nombresAlternos\": [ \"DF\" ]\r\n}"
  1871. },
  1872. "url": {
  1873. "raw": "{{url}}/v1/estado/editar?id=DISTRITO%20FEDERAL",
  1874. "host": [
  1875. "{{url}}"
  1876. ],
  1877. "path": [
  1878. "v1",
  1879. "estado",
  1880. "editar"
  1881. ],
  1882. "query": [
  1883. {
  1884. "key": "id",
  1885. "value": "DISTRITO%20FEDERAL"
  1886. }
  1887. ]
  1888. }
  1889. },
  1890. "response": []
  1891. }
  1892. ],
  1893. "event": [
  1894. {
  1895. "listen": "prerequest",
  1896. "script": {
  1897. "id": "bd245b2e-9cc7-4001-a3c2-0ff8808867ec",
  1898. "type": "text/javascript",
  1899. "exec": [
  1900. ""
  1901. ]
  1902. }
  1903. },
  1904. {
  1905. "listen": "test",
  1906. "script": {
  1907. "id": "d8aff6b5-6ec4-4bf4-b3c9-4517247b46d1",
  1908. "type": "text/javascript",
  1909. "exec": [
  1910. ""
  1911. ]
  1912. }
  1913. }
  1914. ],
  1915. "protocolProfileBehavior": {}
  1916. },
  1917. {
  1918. "name": "Perfil",
  1919. "item": [
  1920. {
  1921. "name": "/v1/perfil",
  1922. "request": {
  1923. "method": "GET",
  1924. "header": [
  1925. {
  1926. "key": "Content-Type",
  1927. "name": "Content-Type",
  1928. "value": "application/x-www-form-urlencoded",
  1929. "type": "text"
  1930. },
  1931. {
  1932. "key": "Authorization",
  1933. "value": "Bearer {{token}}",
  1934. "type": "text"
  1935. }
  1936. ],
  1937. "url": {
  1938. "raw": "{{url}}/v1/perfil",
  1939. "host": [
  1940. "{{url}}"
  1941. ],
  1942. "path": [
  1943. "v1",
  1944. "perfil"
  1945. ]
  1946. }
  1947. },
  1948. "response": []
  1949. },
  1950. {
  1951. "name": "/v1/perfil/editar",
  1952. "request": {
  1953. "method": "POST",
  1954. "header": [
  1955. {
  1956. "key": "Content-Type",
  1957. "value": "application/json",
  1958. "type": "text"
  1959. },
  1960. {
  1961. "key": "Authorization",
  1962. "value": "Bearer {{token}}",
  1963. "type": "text"
  1964. }
  1965. ],
  1966. "body": {
  1967. "mode": "raw",
  1968. "raw": "{\n\t\"nombre\": \"Hugo Quijada García\"\n}"
  1969. },
  1970. "url": {
  1971. "raw": "{{url}}/v1/perfil/editar",
  1972. "host": [
  1973. "{{url}}"
  1974. ],
  1975. "path": [
  1976. "v1",
  1977. "perfil",
  1978. "editar"
  1979. ]
  1980. }
  1981. },
  1982. "response": []
  1983. }
  1984. ],
  1985. "protocolProfileBehavior": {}
  1986. },
  1987. {
  1988. "name": "Usuario",
  1989. "item": [
  1990. {
  1991. "name": "/v1/usuario",
  1992. "request": {
  1993. "method": "GET",
  1994. "header": [
  1995. {
  1996. "key": "Content-Type",
  1997. "name": "Content-Type",
  1998. "type": "text",
  1999. "value": "application/x-www-form-urlencoded"
  2000. },
  2001. {
  2002. "key": "Authorization",
  2003. "type": "text",
  2004. "value": "Bearer {{token}}"
  2005. }
  2006. ],
  2007. "url": {
  2008. "raw": "{{url}}/v1/usuario",
  2009. "host": [
  2010. "{{url}}"
  2011. ],
  2012. "path": [
  2013. "v1",
  2014. "usuario"
  2015. ]
  2016. }
  2017. },
  2018. "response": []
  2019. },
  2020. {
  2021. "name": "/v1/usuario/crear",
  2022. "request": {
  2023. "method": "POST",
  2024. "header": [
  2025. {
  2026. "key": "Content-Type",
  2027. "value": "application/json",
  2028. "type": "text"
  2029. },
  2030. {
  2031. "key": "Authorization",
  2032. "value": "Bearer {{token}}",
  2033. "type": "text"
  2034. }
  2035. ],
  2036. "body": {
  2037. "mode": "raw",
  2038. "raw": "{\n \"idEntidad\": null,\n \"nombre\": \"Rafael Soto Bernal\",\n \"correo\": \"rsotobernal@edesarrollos.com\",\n \"clave\": \"aquí va la contraseña\",\n \"rol\": 1,\n \"permiso\": [\n 7,\n 7,\n 3,\n 5,\n 7,\n 5,\n 3,\n 3,\n 3,\n 1,\n 1,\n 1\n ],\n \"dependencias\": []\n}"
  2039. },
  2040. "url": {
  2041. "raw": "{{url}}/v1/usuario/crear",
  2042. "host": [
  2043. "{{url}}"
  2044. ],
  2045. "path": [
  2046. "v1",
  2047. "usuario",
  2048. "crear"
  2049. ]
  2050. }
  2051. },
  2052. "response": []
  2053. },
  2054. {
  2055. "name": "/v1/usuario/editar",
  2056. "request": {
  2057. "method": "POST",
  2058. "header": [
  2059. {
  2060. "key": "Content-Type",
  2061. "value": "application/json",
  2062. "type": "text"
  2063. },
  2064. {
  2065. "key": "Authorization",
  2066. "value": "Bearer {{token}}",
  2067. "type": "text"
  2068. }
  2069. ],
  2070. "body": {
  2071. "mode": "raw",
  2072. "raw": "{\n \"idEntidad\": null,\n \"nombre\": \"Rafael Soto Bernal\",\n \"correo\": \"rsotobernal@edesarrollos.com\",\n \"clave\": \"aquí va la contraseña\",\n \"rol\": 1,\n \"permiso\": [\n 7,\n 7,\n 3,\n 5,\n 7,\n 5,\n 3,\n 3,\n 3,\n 1,\n 1,\n 1\n ],\n \"dependencias\": []\n}"
  2073. },
  2074. "url": {
  2075. "raw": "{{url}}/v1/usuario/editar?id=2",
  2076. "host": [
  2077. "{{url}}"
  2078. ],
  2079. "path": [
  2080. "v1",
  2081. "usuario",
  2082. "editar"
  2083. ],
  2084. "query": [
  2085. {
  2086. "key": "id",
  2087. "value": "2"
  2088. }
  2089. ]
  2090. }
  2091. },
  2092. "response": []
  2093. }
  2094. ],
  2095. "protocolProfileBehavior": {}
  2096. },
  2097. {
  2098. "name": "Reporte",
  2099. "item": [
  2100. {
  2101. "name": "/v1/reporte/:idCampana",
  2102. "request": {
  2103. "method": "GET",
  2104. "header": [],
  2105. "url": {
  2106. "raw": "{{url}}/v1/reporte/2",
  2107. "host": [
  2108. "{{url}}"
  2109. ],
  2110. "path": [
  2111. "v1",
  2112. "reporte",
  2113. "2"
  2114. ]
  2115. }
  2116. },
  2117. "response": []
  2118. },
  2119. {
  2120. "name": "/v1/reporte/archivo/:idCampana",
  2121. "request": {
  2122. "method": "GET",
  2123. "header": [],
  2124. "url": {
  2125. "raw": "{{url}}/v1/reporte/archivo/2?formato=pdf",
  2126. "host": [
  2127. "{{url}}"
  2128. ],
  2129. "path": [
  2130. "v1",
  2131. "reporte",
  2132. "archivo",
  2133. "2"
  2134. ],
  2135. "query": [
  2136. {
  2137. "key": "formato",
  2138. "value": "pdf"
  2139. }
  2140. ]
  2141. }
  2142. },
  2143. "response": []
  2144. },
  2145. {
  2146. "name": "/v1/reporte/archivo/:idCampana?columnas=[]",
  2147. "request": {
  2148. "method": "GET",
  2149. "header": [],
  2150. "url": {
  2151. "raw": "{{url}}/v1/reporte/archivo/2?columnas=fecha,clave,transmitido",
  2152. "host": [
  2153. "{{url}}"
  2154. ],
  2155. "path": [
  2156. "v1",
  2157. "reporte",
  2158. "archivo",
  2159. "2"
  2160. ],
  2161. "query": [
  2162. {
  2163. "key": "columnas",
  2164. "value": "fecha,clave,transmitido"
  2165. }
  2166. ]
  2167. }
  2168. },
  2169. "response": []
  2170. },
  2171. {
  2172. "name": "/v1/reporte/estacion",
  2173. "request": {
  2174. "method": "GET",
  2175. "header": [],
  2176. "url": {
  2177. "raw": "{{url}}/v1/reporte/estacion?estacion=405&inicio=2020-05-01&fin=2020-05-30",
  2178. "host": [
  2179. "{{url}}"
  2180. ],
  2181. "path": [
  2182. "v1",
  2183. "reporte",
  2184. "estacion"
  2185. ],
  2186. "query": [
  2187. {
  2188. "key": "estacion",
  2189. "value": "405"
  2190. },
  2191. {
  2192. "key": "inicio",
  2193. "value": "2020-05-01"
  2194. },
  2195. {
  2196. "key": "fin",
  2197. "value": "2020-05-30"
  2198. }
  2199. ]
  2200. }
  2201. },
  2202. "response": []
  2203. },
  2204. {
  2205. "name": "/v1/reporte/estacion/archivo",
  2206. "request": {
  2207. "method": "GET",
  2208. "header": [],
  2209. "url": {
  2210. "raw": "{{url}}/v1/reporte/estacion/archivo?estacion=405&inicio=2020-05-01&fin=2020-05-30&formato=excel",
  2211. "host": [
  2212. "{{url}}"
  2213. ],
  2214. "path": [
  2215. "v1",
  2216. "reporte",
  2217. "estacion",
  2218. "archivo"
  2219. ],
  2220. "query": [
  2221. {
  2222. "key": "estacion",
  2223. "value": "405"
  2224. },
  2225. {
  2226. "key": "inicio",
  2227. "value": "2020-05-01"
  2228. },
  2229. {
  2230. "key": "fin",
  2231. "value": "2020-05-30"
  2232. },
  2233. {
  2234. "key": "formato",
  2235. "value": "excel"
  2236. }
  2237. ]
  2238. }
  2239. },
  2240. "response": []
  2241. }
  2242. ],
  2243. "protocolProfileBehavior": {}
  2244. },
  2245. {
  2246. "name": "Permisos",
  2247. "item": [
  2248. {
  2249. "name": "/v1/permiso",
  2250. "request": {
  2251. "method": "GET",
  2252. "header": [],
  2253. "url": {
  2254. "raw": "{{url}}/v1/permiso/",
  2255. "host": [
  2256. "{{url}}"
  2257. ],
  2258. "path": [
  2259. "v1",
  2260. "permiso",
  2261. ""
  2262. ]
  2263. }
  2264. },
  2265. "response": []
  2266. }
  2267. ],
  2268. "protocolProfileBehavior": {}
  2269. },
  2270. {
  2271. "name": "/v1/info/por-caja",
  2272. "request": {
  2273. "method": "GET",
  2274. "header": [],
  2275. "url": {
  2276. "raw": "{{url}}/v1/info/por-caja",
  2277. "host": [
  2278. "{{url}}"
  2279. ],
  2280. "path": [
  2281. "v1",
  2282. "info",
  2283. "por-caja"
  2284. ]
  2285. }
  2286. },
  2287. "response": []
  2288. }
  2289. ],
  2290. "event": [
  2291. {
  2292. "listen": "prerequest",
  2293. "script": {
  2294. "id": "407c6117-143d-41b5-b375-bcd2eb0af8db",
  2295. "type": "text/javascript",
  2296. "exec": [
  2297. ""
  2298. ]
  2299. }
  2300. },
  2301. {
  2302. "listen": "test",
  2303. "script": {
  2304. "id": "5d735f92-de15-4d0e-b99f-3bfc845eb7e1",
  2305. "type": "text/javascript",
  2306. "exec": [
  2307. ""
  2308. ]
  2309. }
  2310. }
  2311. ],
  2312. "protocolProfileBehavior": {}
  2313. }