|
8926 | 8926 | " const jsonResponse = pm.response.json();\r", |
8927 | 8927 | " pm.expect(jsonResponse.SchedulingMethod.value).to.eql('User Dates');\r", |
8928 | 8928 | "});\r", |
8929 | | - "pm.test(\"Start date is 2025-01-08\", function (){\r", |
| 8929 | + "pm.test(\"Start date is 2026-12-08\", function (){\r", |
8930 | 8930 | " const jsonResponse = pm.response.json();\r", |
8931 | | - " pm.expect(jsonResponse.StartDate.value).to.eql('2025-01-08T00:00:00+00:00');\r", |
| 8931 | + " pm.expect(jsonResponse.StartDate.value).to.eql('2026-12-08T00:00:00+00:00');\r", |
8932 | 8932 | "});\r", |
8933 | | - "pm.test(\"End date is 2025-01-30\", function (){\r", |
| 8933 | + "pm.test(\"End date is 2026-12-30\", function (){\r", |
8934 | 8934 | " const jsonResponse = pm.response.json();\r", |
8935 | | - " pm.expect(jsonResponse.EndDate.value).to.eql('2025-01-30T00:00:00+00:00');\r", |
| 8935 | + " pm.expect(jsonResponse.EndDate.value).to.eql('2026-12-30T00:00:00+00:00');\r", |
8936 | 8936 | "});\r", |
8937 | 8937 | "//Sign out and set the next request\r", |
8938 | 8938 | "var url = pm.collectionVariables.get('InstanceURL');\r", |
|
8977 | 8977 | ], |
8978 | 8978 | "body": { |
8979 | 8979 | "mode": "raw", |
8980 | | - "raw": "{\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"SchedulingMethod\": {\r\n \"value\": \"User Dates\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n}" |
| 8980 | + "raw": "{\r\n \"EndDate\": {\r\n \"value\": \"2026-12-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"SchedulingMethod\": {\r\n \"value\": \"User Dates\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2026-12-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-12-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2026-12-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-12-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2026-12-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n}" |
8981 | 8981 | }, |
8982 | 8982 | "url": { |
8983 | 8983 | "raw": "{{ManufacturingEndpointURL}}ProductionOrderDetail?$expand=Operations", |
|
0 commit comments