|
1 | 1 | { |
2 | 2 | "info": { |
3 | | - "_postman_id": "34327e29-e237-4bca-9101-5d2b6a1e25ff", |
| 3 | + "_postman_id": "52f34e21-5b0b-4eb0-99fa-cbd1ac7f215a", |
4 | 4 | "name": "Project API", |
5 | 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" |
6 | 6 | }, |
|
5240 | 5240 | ], |
5241 | 5241 | "body": { |
5242 | 5242 | "mode": "raw", |
5243 | | - "raw": "{\n\t\"name\": \"test project phase xxx\",\n\t\"status\": \"inactive\",\n\t\"startDate\": \"2018-05-14T00:00:00\",\n\t\"endDate\": \"2018-05-15T00:00:00\",\n\t\"budget\": 30,\n\t\"progress\": 15,\n\t\"details\": {\n\t\t\"message\": \"phase details\"\n\t}\n}" |
| 5243 | + "raw": "{\n\t\"name\": \"test project phase xxx\",\n\t\"status\": \"in_review\",\n\t\"startDate\": \"2018-05-14T00:00:00\",\n\t\"endDate\": \"2018-05-15T00:00:00\",\n\t\"budget\": 30,\n\t\"progress\": 15,\n\t\"details\": {\n\t\t\"message\": \"phase details\"\n\t}\n}" |
5244 | 5244 | }, |
5245 | 5245 | "url": { |
5246 | 5246 | "raw": "{{api-url}}/projects/{{projectId}}/phases/{{phaseId}}", |
|
5273 | 5273 | ], |
5274 | 5274 | "body": { |
5275 | 5275 | "mode": "raw", |
5276 | | - "raw": "{\n\t\"name\": \"test project phase xxx\",\n\t\"status\": \"inactive\",\n\t\"startDate\": \"2018-05-14T00:00:00\",\n\t\"endDate\": \"2018-05-15T00:00:00\",\n\t\"budget\": 30,\n\t\"progress\": 15,\n\t\"details\": {\n\t\t\"message\": \"phase details\"\n\t},\n\t\"order\": 1\n}" |
| 5276 | + "raw": "{\n\t\"name\": \"test project phase xxx\",\n\t\"status\": \"in_review\",\n\t\"startDate\": \"2018-05-14T00:00:00\",\n\t\"endDate\": \"2018-05-15T00:00:00\",\n\t\"budget\": 30,\n\t\"progress\": 15,\n\t\"details\": {\n\t\t\"message\": \"phase details\"\n\t},\n\t\"order\": 1\n}" |
5277 | 5277 | }, |
5278 | 5278 | "url": { |
5279 | 5279 | "raw": "{{api-url}}/projects/{{projectId}}/phases/{{phaseId}}", |
|
5306 | 5306 | ], |
5307 | 5307 | "body": { |
5308 | 5308 | "mode": "raw", |
5309 | | - "raw": "{\n\t\"name\": \"test project phase xxx\",\n\t\"status\": \"inactive\",\n\t\"startDate\": \"2018-05-14T00:00:00\",\n\t\"endDate\": \"2018-05-15T00:00:00\",\n\t\"budget\": 30,\n\t\"progress\": 15,\n\t\"details\": {\n\t\t\"message\": \"phase details\"\n\t},\n \"members\": [{{phaseMemberId-1}},{{phaseMemberId-2}}]\n}" |
| 5309 | + "raw": "{\n\t\"name\": \"test project phase xxx\",\n\t\"status\": \"in_review\",\n\t\"startDate\": \"2018-05-14T00:00:00\",\n\t\"endDate\": \"2018-05-15T00:00:00\",\n\t\"budget\": 30,\n\t\"progress\": 15,\n\t\"details\": {\n\t\t\"message\": \"phase details\"\n\t},\n \"members\": [{{phaseMemberId-1}},{{phaseMemberId-2}}]\n}" |
5310 | 5310 | }, |
5311 | 5311 | "url": { |
5312 | 5312 | "raw": "{{api-url}}/projects/{{projectId}}/phases/{{phaseId}}", |
|
6106 | 6106 | ], |
6107 | 6107 | "body": { |
6108 | 6108 | "mode": "raw", |
6109 | | - "raw": "{\n\t\"name\": \"test project phase\",\n\t\"status\": \"active\",\n\t\"startDate\": \"2018-05-15T00:00:00\",\n\t\"endDate\": \"2018-05-16T00:00:00\",\n\t\"budget\": 20,\n\t\"details\": {\n\t\t\"aDetails\": \"a details\"\n\t}\n}" |
| 6109 | + "raw": "{\n\t\"name\": \"test project phase\",\n\t\"status\": \"in_review\",\n\t\"startDate\": \"2018-05-15T00:00:00\",\n\t\"endDate\": \"2018-05-16T00:00:00\",\n\t\"budget\": 20,\n\t\"details\": {\n\t\t\"aDetails\": \"a details\"\n\t}\n}" |
6110 | 6110 | }, |
6111 | 6111 | "url": { |
6112 | 6112 | "raw": "{{api-url}}/projects/{{projectId}}/phases", |
|
6171 | 6171 | }, |
6172 | 6172 | "response": [] |
6173 | 6173 | }, |
| 6174 | + { |
| 6175 | + "name": "Update Phase", |
| 6176 | + "request": { |
| 6177 | + "method": "PATCH", |
| 6178 | + "header": [ |
| 6179 | + { |
| 6180 | + "key": "Authorization", |
| 6181 | + "value": "Bearer {{jwt-token}}" |
| 6182 | + }, |
| 6183 | + { |
| 6184 | + "key": "Content-Type", |
| 6185 | + "value": "application/json" |
| 6186 | + } |
| 6187 | + ], |
| 6188 | + "body": { |
| 6189 | + "mode": "raw", |
| 6190 | + "raw": "{\n\t\"status\": \"in_review\"\n}" |
| 6191 | + }, |
| 6192 | + "url": { |
| 6193 | + "raw": "{{api-url}}/projects/{{projectId}}/phases/{{phaseId}}", |
| 6194 | + "host": [ |
| 6195 | + "{{api-url}}" |
| 6196 | + ], |
| 6197 | + "path": [ |
| 6198 | + "projects", |
| 6199 | + "{{projectId}}", |
| 6200 | + "phases", |
| 6201 | + "{{phaseId}}" |
| 6202 | + ] |
| 6203 | + } |
| 6204 | + }, |
| 6205 | + "response": [] |
| 6206 | + }, |
6174 | 6207 | { |
6175 | 6208 | "name": "Create Phase Approval - approve Copy", |
6176 | 6209 | "event": [ |
|
0 commit comments