{"info":{"_postman_id":"581ff57d-de62-4d6a-80c5-eae131ab72f3","name":"WoClearFlagsCommand","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19494308","collectionId":"581ff57d-de62-4d6a-80c5-eae131ab72f3","publishedId":"UVz1Ms5A","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-01-05T15:11:35.000Z"},"item":[{"name":"WoClearFlagsCommand","id":"4e5f8f16-95b2-482a-a33d-f63f7ce8022e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"accessTokenUrl","value":"<access-token-url>"},{"key":"clientSecret","value":"<client-secret>"},{"key":"clientId","value":"<client-id>"},{"key":"tokenType","value":"<token-type>"},{"key":"tokenName","value":"<token-name>"},{"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\": 4741,\r\n        \"FlagsToClear\": [\r\n            3334,\r\n            3340\r\n        ],\r\n        \"Comment\": \"Test Clear Flags\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WoClearFlagsCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","WoClearFlagsCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"8fe448e4-88ce-4e37-8437-675ac62c443f","name":"WoClearFlagsCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 4741,\r\n        \"FlagsToClear\": [\r\n            3334,\r\n            3340\r\n        ],\r\n        \"Comment\": \"Test Clear Flags\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WoClearFlagsCommand"},"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":"Tue, 08 Mar 2022 13:15:32 GMT"},{"key":"Content-Length","value":"1071"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Wo\": {\n            \"Number\": \"OCA000318\",\n            \"TypeCategory\": \"Request\",\n            \"WorkOrderCost\": {\n                \"Id\": 4741\n            },\n            \"Priority\": {\n                \"Id\": 2\n            },\n            \"StatusId\": \"New\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 4127\n            },\n            \"ShortLocation\": \"KFC-15475-WAXAHACHIE\",\n            \"TaskRefinement\": \"Ice Machine:Making loud or unusual noise:Creation Comment here\",\n            \"WorkZone\": {\n                \"Id\": 1\n            },\n            \"Employee\": {\n                \"Id\": 18\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0.0000\n            },\n            \"Specialty\": {\n                \"Id\": 10054\n            },\n            \"PoNumber\": \"12345\",\n            \"SubType\": {\n                \"Id\": 259\n            },\n            \"Customer\": {\n                \"Id\": 3\n            },\n            \"ContactName\": \"Contact Name\",\n            \"WonId\": 0,\n            \"IsWarranty\": true,\n            \"Flag\": {\n                \"Id\": 3330\n            },\n            \"FlagId\": 3330,\n            \"TimeZone\": 20,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2022-08-18T11:29:18.81\",\n            \"DtCreated\": \"2022-07-14T09:40:10.15\",\n            \"DtDue\": \"2022-08-15T07:00:00\",\n            \"DtAcknowledgeBy\": \"2022-07-18T07:00:00\",\n            \"AcknowledgeByUtc\": \"2022-07-18T12:00:00\",\n            \"LastActionDateUtc\": \"2022-08-18T16:29:18.81\",\n            \"CreatedDateUtc\": \"2022-07-14T14:40:10.15\",\n            \"DueDateUtc\": \"2022-08-15T12:00:00\",\n            \"DtOnSiteBy\": \"2022-07-18T07:00:00\",\n            \"DtUtcOnSiteBy\": \"2022-07-18T12:00:00\",\n            \"LastAction\": {\n                \"Id\": 4741\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 37,\n            \"Id\": 4741\n        }\n    }\n}"}],"_postman_id":"4e5f8f16-95b2-482a-a33d-f63f7ce8022e"}]}