Advertisement
marcgruita

Untitled

Mar 27th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. {
  2. "info": {
  3. "_postman_id": "b008fce2-128b-4869-8f05-3f848301d056",
  4. "name": "hre-local",
  5. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
  6. "_exporter_id": "18745818"
  7. },
  8. "item": [
  9. {
  10. "name": "Get candidates by agency",
  11. "request": {
  12. "method": "GET",
  13. "header": [
  14. {
  15. "key": "Content-Type",
  16. "value": "application/json",
  17. "type": "text"
  18. }
  19. ],
  20. "url": {
  21. "raw": "localhost:8989/api/v1/candidates/:agencyId",
  22. "host": [
  23. "localhost"
  24. ],
  25. "port": "8989",
  26. "path": [
  27. "api",
  28. "v1",
  29. "candidates",
  30. ":agencyId"
  31. ],
  32. "variable": [
  33. {
  34. "key": "agencyId",
  35. "value": "5b73130a-32b5-4fe9-a46d-ca3a6f5898a5"
  36. }
  37. ]
  38. }
  39. },
  40. "response": []
  41. },
  42. {
  43. "name": "Add candidate",
  44. "request": {
  45. "method": "POST",
  46. "header": [],
  47. "body": {
  48. "mode": "raw",
  49. "raw": "{\n \"agencyId\": \"5b73130a-32b5-4fe9-a46d-ca3a6f5898a5\",\n \"forHire\": true,\n \"contactDetails\": {\n \"email\": \"marc@gruita.ro\",\n \"phoneNumber\": \"marc\",\n \"name\": \"Marc Gruita\"\n },\n \"profile\": {\n \"displayName\": \"marc\",\n \"location\": \"cluj\",\n \"timeZone\": \"UTC+2\",\n \"startDate\": \"2024-01-01\",\n \"preview\": \"ii bun\",\n \"technologies\": [\n {\n \"technology\": {\n \"name\": \"JAVA\"\n },\n \"yearsOfExperience\": 2\n },\n {\n \"technology\": {\n \"name\": \"mata\"\n },\n \"yearsOfExperience\": 2\n }\n ],\n \"industries\": [\n {\n \"industry\": {\n \"name\": \"WEB\"\n },\n \"yearsOfExperience\": 3\n },\n {\n \"industry\": {\n \"name\": \"MOBILE\"\n },\n \"yearsOfExperience\": 1\n }\n ]\n }\n}\n",
  50. "options": {
  51. "raw": {
  52. "language": "json"
  53. }
  54. }
  55. },
  56. "url": {
  57. "raw": "localhost:8989/api/v1/candidate",
  58. "host": [
  59. "localhost"
  60. ],
  61. "port": "8989",
  62. "path": [
  63. "api",
  64. "v1",
  65. "candidate"
  66. ]
  67. }
  68. },
  69. "response": []
  70. },
  71. {
  72. "name": "Get candidates for hire",
  73. "request": {
  74. "method": "GET",
  75. "header": [],
  76. "url": {
  77. "raw": "localhost:8989/api/v1/candidates",
  78. "host": [
  79. "localhost"
  80. ],
  81. "port": "8989",
  82. "path": [
  83. "api",
  84. "v1",
  85. "candidates"
  86. ]
  87. }
  88. },
  89. "response": []
  90. },
  91. {
  92. "name": "Get technologies",
  93. "request": {
  94. "method": "GET",
  95. "header": [],
  96. "url": {
  97. "raw": "localhost:8989/api/v1/technologies",
  98. "host": [
  99. "localhost"
  100. ],
  101. "port": "8989",
  102. "path": [
  103. "api",
  104. "v1",
  105. "technologies"
  106. ]
  107. }
  108. },
  109. "response": []
  110. },
  111. {
  112. "name": "Get industries",
  113. "request": {
  114. "method": "GET",
  115. "header": [],
  116. "url": {
  117. "raw": "localhost:8989/api/v1/industries",
  118. "host": [
  119. "localhost"
  120. ],
  121. "port": "8989",
  122. "path": [
  123. "api",
  124. "v1",
  125. "industries"
  126. ]
  127. }
  128. },
  129. "response": []
  130. }
  131. ]
  132. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement