{"info":{"_postman_id":"615bb751-beaa-43ec-990a-3f5351e2ce5b","name":"WoCancelCommand","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19494308","collectionId":"615bb751-beaa-43ec-990a-3f5351e2ce5b","publishedId":"UVz1Mrzc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-12T16:44:28.000Z"},"item":[{"name":"WoCancelCommand","id":"74d16800-be96-4f3c-8d65-50781339114c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"tokenType","value":"<token-type>"},{"key":"client_authentication","value":"<client_authentication>"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":false},"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 388037,\r\n        \"Comment\": \"Cancelled\",\r\n        \"ActionReasonId\":1796\r\n    },\r\n    \"RequestId\": \"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WoCancelCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","WoCancelCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"5f2cfbee-ec3f-4ec1-b072-8b5d4818d268","name":"WoCancelCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 388037,\r\n        \"Comment\": \"Cancelled\",\r\n        \"ActionReasonId\":1796\r\n    },\r\n    \"RequestId\": \"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WoCancelCommand"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Pragma","value":"no-cache"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Expires","value":"-1"},{"key":"Date","value":"Fri, 08 Apr 2022 09:39:52 GMT"},{"key":"Content-Length","value":"1406"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Wo\": {\n            \"Number\": \"ASN0233562\",\n            \"TypeCategory\": \"PMRM\",\n            \"WorkOrderCost\": {\n                \"Id\": 388037\n            },\n            \"Priority\": {\n                \"Id\": 5\n            },\n            \"StatusId\": \"Cancelled\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 16001\n            },\n            \"ShortLocation\": \"PAR Floor 1\",\n            \"TaskRefinement\": \"Building Interior>Environmental, Health & Safety:Fire Services:Evacuation Plan/New/Update:Review and validate all evacuation plans on each floor of the property. Need to confirm the accuracy of the evacuation plans and make any necessary changes if needed. Updates to the evacuation plans could be due to layout changes or other factors.\",\n            \"WorkZone\": {\n                \"Id\": 23\n            },\n            \"Employee\": {\n                \"Id\": 208\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 200\n            },\n            \"Specialty\": {\n                \"Id\": 10144\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 260\n            },\n            \"Customer\": {\n                \"Id\": 25\n            },\n            \"ContactName\": \"!JLL Self Gen\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 15,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2022-04-08T02:39:52.3020502\",\n            \"DtCreated\": \"2021-09-14T09:09:54.37\",\n            \"DtScheduledStart\": \"2021-09-14T08:00:00\",\n            \"DtDue\": \"2021-10-14T08:00:00\",\n            \"DtAcknowledgeBy\": \"2021-10-14T08:00:00\",\n            \"AcknowledgeByUtc\": \"2021-10-14T15:00:00\",\n            \"LastActionDateUtc\": \"2022-04-08T09:39:52.3020502Z\",\n            \"CreatedDateUtc\": \"2021-09-14T16:09:54.37\",\n            \"ScheduledStartUtc\": \"2021-09-14T15:00:00\",\n            \"DueDateUtc\": \"2021-10-14T15:00:00\",\n            \"LastAction\": {\n                \"Id\": 388037\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 2,\n            \"Id\": 388037\n        }\n    },\n    \"RequestId\": \"12345\"\n}"}],"_postman_id":"74d16800-be96-4f3c-8d65-50781339114c"}]}