{"info":{"_postman_id":"f1c4c22b-216c-4949-ac86-c3ee71cfa0b1","name":"All Commands","description":"<html><head></head><body><p>This endpoint provides a mechanism to create more advanced Entities and specialized workflow logic. Especially when working with integrated workflows the command endpoint is a important tool for implementing business logic across integrated applications.</p>\n<p>POST&nbsp;<strong>{Host Name}</strong>/api/v1/cmd/<strong>{Command Class Name}</strong></p>\n<p>where&nbsp;<strong>{Host Name}</strong>&nbsp;is derived from&nbsp;<a href=\"https://corrigo-enterprise-2022.readme.io/reference/cmd#getcompanywsdkurlcommand\">GetCompanyWsdkUrlCommand.Url</a>, and<br><strong>{Command Class Name}</strong>&nbsp;is any Class in the&nbsp;<a href=\"https://corrigo-enterprise-2022.readme.io/docs/commands\">Commands</a>&nbsp;Namespace, and<br><strong>{Request body}</strong>&nbsp;contains valid JSON data per the Class properties.</p>\n<p>JSON content for each Command is listed in this document.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18831016","collectionId":"f1c4c22b-216c-4949-ac86-c3ee71cfa0b1","publishedId":"UVkpPvTZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-25T12:52:15.000Z"},"item":[{"name":"Add Space","id":"7ce56809-c1e2-4ab0-a5ee-76432cd019af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"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    \"CustomerId\":10,\r\n    \"UnitId\": 0,\r\n    \"NewUnitSpecifier\": {\r\n        \"UnitName\":\"Test BL building\",\r\n        \"UnitFloorPlan\":\"Base Space\",\r\n        \"StreetAddress\":{\r\n            \"PerformDeletion\":false,\r\n            \"ConcurrencyId\":0,\r\n            \"ActorTypeId\":\"Unknown\",\r\n            \"Street\":200,\r\n            \"City\":\"Allen\",\r\n            \"State\":\"TX\",\r\n            \"Zip\":75002,\r\n            \"Country\":\"US\"\r\n        }\r\n    },\r\n   \"RequestId\" : \"1234\"\r\n    }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/SpaceCreateCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","SpaceCreateCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"5cc9725d-9fd9-40a7-a863-3ea667678081","name":"Add Space","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"Command\" : {\r\n    \"CustomerId\":10,\r\n    \"UnitId\": 0,\r\n    \"NewUnitSpecifier\": {\r\n        \"UnitName\":\"Test BL building\",\r\n        \"UnitFloorPlan\":\"STORE\",\r\n        \"StreetAddress\":{\r\n            \"PerformDeletion\":false,\r\n            \"ConcurrencyId\":0,\r\n            \"ActorTypeId\":\"Unknown\",\r\n            \"Street\":200,\r\n            \"City\":\"Allen\",\r\n            \"State\":\"TX\",\r\n            \"Zip\":75002,\r\n            \"Country\":\"US\"\r\n        }\r\n    },\r\n   \"RequestId\" : \"1234\"\r\n    }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/SpaceCreateCommand"},"status":"Bad Request","code":400,"_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 16:39:21 GMT"},{"key":"Content-Length","value":"160"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"Template 'STORE123' cannot be found; or ambiguous template name\",\n    \"ErrorCode\": \"BUSINESS_LOGIC_ERROR\",\n    \"TimeStamp\": \"2022-03-08T16:39:21.6729387Z\"\n}"}],"_postman_id":"7ce56809-c1e2-4ab0-a5ee-76432cd019af"},{"name":"ApStatusChangeCommand","id":"bcfe5f1c-e1f7-46a1-9926-44dfaca3f5bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"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\": 100,\r\n        \"VendorInvoiceStatusId\": 2\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/ApStatusChangeCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","ApStatusChangeCommand"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"8748ebe8-3108-4fae-9337-e9f5ccb7b335","name":"ApStatusChangeCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderid\": 100,\r\n        \"VendorInvoiceStatusId\": 2\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://am-ce98c.corrigo.com/api/v1/cmd/ApStatusChangeCommand","protocol":"https","host":["am-ce98c","corrigo","com"],"path":["api","v1","cmd","ApStatusChangeCommand"],"query":[{"key":"","value":"","disabled":true}]}},"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 11:30:03 GMT"},{"key":"Content-Length","value":"913"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Financial\": {\n            \"Id\": 100,\n            \"CurrencyTypeId\": \"USD\",\n            \"BillToOption\": {\n                \"Id\": 0\n            },\n            \"CostsTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"ApStateId\": \"Received\",\n            \"ApStatusId\": 2,\n            \"JobCode\": \"\",\n            \"AuthorizationCode\": \"0000601004\",\n            \"CheckNumber\": \"\",\n            \"PaymentAmount\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"PaymentNotes\": \"Exported by integration to BTAP\",\n            \"GlAccount\": \"552205.601\",\n            \"Number\": \"120.17.01.1103/558\",\n            \"VendorInvoiceDate\": \"2017-01-20T00:00:00\",\n            \"VendorInvoiceReceivedDate\": \"2017-01-26T00:00:00\",\n            \"VendorInvoiceTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 3402.25\n            },\n            \"IsPreBilled\": false,\n            \"ExpensesTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 3402.25\n            },\n            \"BillingRule\": \"NotBilled\",\n            \"TaxStatus\": \"Success\",\n            \"CustomerNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"ServiceFeesTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"CostStatusId\": 1,\n            \"CostState\": \"Pending\",\n            \"ChargeCode\": {\n                \"Id\": 1\n            },\n            \"ExternalId\": \"\",\n            \"ConcurrencyId\": 9\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"bcfe5f1c-e1f7-46a1-9926-44dfaca3f5bb"},{"name":"ApSubmitPaymentCommand","id":"ca1cd293-47aa-4354-b44c-4596f07de852","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\": 100,\r\n        \"VendorInvoiceStatusId\": \"Paid\"\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/ApSubmitPaymentCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","ApSubmitPaymentCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"b82d3d57-511d-49e9-9a2c-21d8d06f2e93","name":"ApSubmitPaymentCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderid\": 100,\r\n        \"VendorInvoiceStatusId\": \"Paid\"\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/ApSubmitPaymentCommand"},"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 11:29:31 GMT"},{"key":"Content-Length","value":"906"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Financial\": {\n            \"Id\": 100,\n            \"CurrencyTypeId\": \"USD\",\n            \"BillToOption\": {\n                \"Id\": 0\n            },\n            \"CostsTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"ApStateId\": \"Paid\",\n            \"ApStatusId\": 3,\n            \"JobCode\": \"\",\n            \"AuthorizationCode\": \"0000601004\",\n            \"CheckNumber\": \"\",\n            \"PaymentAmount\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"PaymentNotes\": \"Exported by integration to BTAP\",\n            \"GlAccount\": \"552205.601\",\n            \"Number\": \"120.17.01.1103/558\",\n            \"VendorInvoiceDate\": \"2017-01-20T00:00:00\",\n            \"VendorInvoiceReceivedDate\": \"2017-01-26T00:00:00\",\n            \"VendorInvoiceTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 3402.25\n            },\n            \"IsPreBilled\": false,\n            \"ExpensesTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 3402.25\n            },\n            \"BillingRule\": \"NotBilled\",\n            \"TaxStatus\": \"Success\",\n            \"CustomerNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"ServiceFeesTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"CostStatusId\": 1,\n            \"CostState\": \"Pending\",\n            \"ChargeCode\": {\n                \"Id\": 1\n            },\n            \"ExternalId\": \"\",\n            \"ConcurrencyId\": 8\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"ca1cd293-47aa-4354-b44c-4596f07de852"},{"name":"PostPaymentCommand","id":"a070135a-a400-4561-86f0-d357c9712460","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        \"PaymentId\": 1\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/PostPaymentCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","PostPaymentCommand"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"a070135a-a400-4561-86f0-d357c9712460"},{"name":"InvoiceDisputeCommand","id":"b4a48d38-ef49-4266-be02-811bf1e33428","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\": 100\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/InvoiceDisputeCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","InvoiceDisputeCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4a48d38-ef49-4266-be02-811bf1e33428"},{"name":"WorkZoneCreateCommand","id":"c064f755-eeb2-4f7c-95c1-022cbe2d2379","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        \"WorkZone\":{\r\n         \"DisplayAs\":\"Test142\",\r\n         \"Name\":\"test1243\",\r\n         \"AssetTemplateID\": 10,\r\n         \"LatestSlot\":3,\r\n         \"SlotsCount\":3,\r\n         \"SkipDefaultSettings\":false,\r\n         \"WoNumberPrefix\":\"test1243\" \r\n        }     \r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WorkZoneCreateCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","WorkZoneCreateCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"4c1d4645-24ad-452b-921a-28a3ae173b77","name":"WorkZoneCreateCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkZone\":{\r\n         \"DisplayAs\":\"Test142\",\r\n         \"Name\":\"test1243\",\r\n         \"AssetTemplateID\": 10,\r\n         \"LatestSlot\":3,\r\n         \"SlotsCount\":3,\r\n         \"SkipDefaultSettings\":false,\r\n         \"WoNumberPrefix\":\"test1243\" \r\n        }     \r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WorkZoneCreateCommand"},"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 11:41:04 GMT"},{"key":"Content-Length","value":"1043"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"WorkZone\": {\n            \"DisplayAs\": \"Test142\",\n            \"Asset\": {\n                \"Id\": 199444\n            },\n            \"TimeZone\": 20,\n            \"LanguageId\": 1033,\n            \"WoNumberPrefix\": \"test1243\",\n            \"Entity\": \"\",\n            \"SchedulingWindow\": 120,\n            \"NoIncompleteProcedure\": false,\n            \"AccessOptionsMask\": 12,\n            \"Number\": \"\",\n            \"AdvanceNotice\": 24,\n            \"WoNumberDigits\": 4,\n            \"RoundApptTimeTo\": 60,\n            \"WorkPlanAutoCancel\": false,\n            \"WorkPlanChildResolution\": false,\n            \"WorkPlanAutoDependency\": false,\n            \"CpThemeId\": 0,\n            \"DefaultAccess\": \"NotApplicable\",\n            \"AutoAssignEnabled\": true,\n            \"BackupRoutingId\": \"Unassigned\",\n            \"NoIncompleteItem\": false,\n            \"UiShowProvidersFirst\": false,\n            \"CurrencyTypeId\": \"USD\",\n            \"IsOffline\": false,\n            \"UseBizHours\": true,\n            \"UseHolidays\": true,\n            \"UseOnCall\": true,\n            \"UseEscalation\": true,\n            \"DefaultBillToLogic\": 0,\n            \"TurnKickOffAuto\": false,\n            \"TurnKickOffLagDays\": 0,\n            \"TurnKickOffOnDays\": 0,\n            \"EarliestSlot\": 0,\n            \"LatestSlot\": 3,\n            \"SlotsCount\": 3,\n            \"IsPrecalculatedSchedule\": false,\n            \"AllowTimePreference\": false,\n            \"TurnTemplateId\": 0,\n            \"IsmSpecGroupId\": 0,\n            \"IsmUrl\": \"\",\n            \"ExcludeNonCompliantProviders\": \"InheritGlobalSettings\",\n            \"IsNteAuto\": true,\n            \"IsRemoved\": false,\n            \"ConcurrencyId\": 1,\n            \"Id\": 534\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"c064f755-eeb2-4f7c-95c1-022cbe2d2379"},{"name":"WoRecallCommand","id":"93f9f6b5-c800-469e-adb4-6b9b4478e196","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\": 1\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WoRecallCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","WoRecallCommand"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"a1d9cda1-4422-45e0-a741-885d17fdd44f","name":"WoRecallCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 1\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://am-ce98c.corrigo.com/api/v1/cmd/WoRecallCommand","protocol":"https","host":["am-ce98c","corrigo","com"],"path":["api","v1","cmd","WoRecallCommand"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"status":"Bad Request","code":400,"_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 11:45:45 GMT"},{"key":"Content-Length","value":"207"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"Sorry, this command can be used only to recall a Work Order sent to a connected Service Pro\",\n    \"ErrorCode\": \"BUSINESS_LOGIC_ERROR\",\n    \"TimeStamp\": \"2022-03-08T11:45:45.9316199Z\",\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"93f9f6b5-c800-469e-adb4-6b9b4478e196"},{"name":"WoCancelCommand","id":"3c092a24-2933-4421-8611-2c1772f9f187","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\": 109\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\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":"eeda04e0-476e-47eb-9033-e8594574c6a7","name":"WoCancelCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 109\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WoCancelCommand"},"status":"Bad Request","code":400,"_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 11:47:36 GMT"},{"key":"Content-Length","value":"203"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"{!{Work Order}!} that is in state 'Completed' cannot be placed in the state 'Cancelled'\",\n    \"ErrorCode\": \"BUSINESS_LOGIC_ERROR\",\n    \"TimeStamp\": \"2022-03-08T11:47:36.0765394Z\",\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"3c092a24-2933-4421-8611-2c1772f9f187"},{"name":"WoReopenCommand","id":"5c323563-a9da-40e3-816b-dc47b607c118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}],"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\": 111\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoReopenCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","WoReopenCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"ccedaef2-99dd-430a-b634-c98c24c1821b","name":"WoReopenCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 111\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoReopenCommand"},"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:07:53 GMT"},{"key":"Content-Length","value":"1045"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Wo\": {\n            \"Number\": \"ASN0090003\",\n            \"TypeCategory\": \"PMRM\",\n            \"WorkOrderCost\": {\n                \"Id\": 111\n            },\n            \"Priority\": {\n                \"Id\": 5\n            },\n            \"StatusId\": \"New\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 5195\n            },\n            \"ShortLocation\": \"HOU 02 Core\",\n            \"TaskRefinement\": \"Waste/Rubbish Management:Garbage Removal - RMs:Monthly Waste Management\",\n            \"WorkZone\": {\n                \"Id\": 9\n            },\n            \"Employee\": {\n                \"Id\": 215\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"Specialty\": {\n                \"Id\": 10229\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 260\n            },\n            \"Customer\": {\n                \"Id\": 11\n            },\n            \"ContactName\": \"Carrie.Estrada@am.jll.com\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 20,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2022-03-08T07:07:52.9353093\",\n            \"DtCreated\": \"2017-01-01T01:13:24\",\n            \"DtScheduledStart\": \"2017-01-02T08:00:00\",\n            \"DtDue\": \"2017-02-01T08:00:00\",\n            \"LastActionDateUtc\": \"2022-03-08T13:07:52.9353093Z\",\n            \"CreatedDateUtc\": \"2017-01-01T07:13:24\",\n            \"ScheduledStartUtc\": \"2017-01-02T14:00:00\",\n            \"DueDateUtc\": \"2017-02-01T14:00:00\",\n            \"LastAction\": {\n                \"Id\": 111\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 7,\n            \"Id\": 111\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"5c323563-a9da-40e3-816b-dc47b607c118"},{"name":"WoMessageCommand","id":"08968d37-03ca-4ada-9c30-8edfea2c1271","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\": 1\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoMessageCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","WoMessageCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"e252156b-21fd-494c-bf90-c5eb61485769","name":"WoMessageCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 1\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoMessageCommand"},"status":"Bad Request","code":400,"_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:09:55 GMT"},{"key":"Content-Length","value":"199"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"Sorry, this command can be used only for Work Order sent to a connected Service Pro\",\n    \"ErrorCode\": \"BUSINESS_LOGIC_ERROR\",\n    \"TimeStamp\": \"2022-03-08T13:09:55.4092954Z\",\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"08968d37-03ca-4ada-9c30-8edfea2c1271"},{"name":"WoCompleteCommand","id":"47a6e727-e1f6-411d-9604-d9f1c4c319cf","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\": 1\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/WoCompleteCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","WoCompleteCommand"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"a5b01526-e196-4b1a-9375-c0c743e4636c","name":"WoCompleteCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 1\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://am-ce98c.corrigo.com/api/v1/cmd/WoCompleteCommand","protocol":"https","host":["am-ce98c","corrigo","com"],"path":["","api","v1","cmd","WoCompleteCommand"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"status":"Bad Request","code":400,"_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:14:55 GMT"},{"key":"Content-Length","value":"196"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"{!{Work Order}!} that is in state 'New' cannot be placed in the state 'Completed'\",\n    \"ErrorCode\": \"BUSINESS_LOGIC_ERROR\",\n    \"TimeStamp\": \"2022-03-08T13:14:55.906489Z\",\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"47a6e727-e1f6-411d-9604-d9f1c4c319cf"},{"name":"WoFlagCommand","id":"f729c069-6ac2-452f-b095-b0395e7e3763","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\": 100\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoFlagCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","WoFlagCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"5786b7d9-77ad-4b4f-bb93-ada87bc3f5f3","name":"WoFlagCommand Example","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 100\r\n    },\r\n    \"RequestId\": \"12345\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoFlagCommand"},"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":"Thu, 03 Mar 2022 14:36:02 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\": \"ASN0040003\",\n            \"TypeCategory\": \"PMRM\",\n            \"WorkOrderCost\": {\n                \"Id\": 100\n            },\n            \"Priority\": {\n                \"Id\": 5\n            },\n            \"StatusId\": \"Completed\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 11154\n            },\n            \"ShortLocation\": \"NCR Exterior\",\n            \"TaskRefinement\": \"Landscaping/Grounds:Landscaping Maintenance - RMs:Monthly Landscaping Maintenance\",\n            \"WorkZone\": {\n                \"Id\": 4\n            },\n            \"Employee\": {\n                \"Id\": 127\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 3500\n            },\n            \"Specialty\": {\n                \"Id\": 10066\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 260\n            },\n            \"RepairCode\": {\n                \"Id\": 2\n            },\n            \"Customer\": {\n                \"Id\": 6\n            },\n            \"ContactName\": \"Terresia.Davis@am.jll.com\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 20,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2017-01-20T12:02:42\",\n            \"DtCreated\": \"2017-01-01T01:13:21\",\n            \"DtScheduledStart\": \"2017-01-02T08:00:00\",\n            \"DtDue\": \"2017-02-01T08:00:00\",\n            \"LastActionDateUtc\": \"2017-01-20T18:02:42\",\n            \"CreatedDateUtc\": \"2017-01-01T07:13:21\",\n            \"ScheduledStartUtc\": \"2017-01-02T14:00:00\",\n            \"DueDateUtc\": \"2017-02-01T14:00:00\",\n            \"LastAction\": {\n                \"Id\": 100\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 19,\n            \"Id\": 100\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"f729c069-6ac2-452f-b095-b0395e7e3763"},{"name":"WoClearFlagsCommand","id":"93768c57-f216-4666-bc4e-d10dd2f953da","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\": 100\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoFlagCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","WoFlagCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"40c06bf3-7b14-4add-a6ff-0a7592b85e23","name":"WoClearFlagsCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 100\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoFlagCommand"},"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\": \"ASN0040003\",\n            \"TypeCategory\": \"PMRM\",\n            \"WorkOrderCost\": {\n                \"Id\": 100\n            },\n            \"Priority\": {\n                \"Id\": 5\n            },\n            \"StatusId\": \"Completed\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 11154\n            },\n            \"ShortLocation\": \"NCR Exterior\",\n            \"TaskRefinement\": \"Landscaping/Grounds:Landscaping Maintenance - RMs:Monthly Landscaping Maintenance\",\n            \"WorkZone\": {\n                \"Id\": 4\n            },\n            \"Employee\": {\n                \"Id\": 127\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 3500\n            },\n            \"Specialty\": {\n                \"Id\": 10066\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 260\n            },\n            \"RepairCode\": {\n                \"Id\": 2\n            },\n            \"Customer\": {\n                \"Id\": 6\n            },\n            \"ContactName\": \"Terresia.Davis@am.jll.com\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 20,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2017-01-20T12:02:42\",\n            \"DtCreated\": \"2017-01-01T01:13:21\",\n            \"DtScheduledStart\": \"2017-01-02T08:00:00\",\n            \"DtDue\": \"2017-02-01T08:00:00\",\n            \"LastActionDateUtc\": \"2017-01-20T18:02:42\",\n            \"CreatedDateUtc\": \"2017-01-01T07:13:21\",\n            \"ScheduledStartUtc\": \"2017-01-02T14:00:00\",\n            \"DueDateUtc\": \"2017-02-01T14:00:00\",\n            \"LastAction\": {\n                \"Id\": 100\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 19,\n            \"Id\": 100\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"93768c57-f216-4666-bc4e-d10dd2f953da"},{"name":"WoScheduleRoutine","id":"97d74db3-152e-4e41-a91a-cdf8b8b1b540","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\": 109\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/WoScheduleRoutine","urlObject":{"protocol":"https","path":["","api","v1","cmd","WoScheduleRoutine"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"97d74db3-152e-4e41-a91a-cdf8b8b1b540"},{"name":"SendWorkOrderCommand","id":"5e00a209-c592-4b6c-871a-dae00418f3bc","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\": 155\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/SendWorkOrderCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","SendWorkOrderCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"a7a07b94-29e2-4d25-8e9f-c0e829bf7b16","name":"SendWorkOrderCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 155\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/SendWorkOrderCommand"},"status":"Bad Request","code":400,"_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:21:09 GMT"},{"key":"Content-Length","value":"150"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"Data was already modified by another user.\",\n    \"ErrorCode\": \"ERROR_CODE_6\",\n    \"TimeStamp\": \"2022-03-08T13:21:09.5732318Z\",\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"5e00a209-c592-4b6c-871a-dae00418f3bc"},{"name":"VerifyWorkCommand","id":"77dd2048-51a5-424d-935e-dbf7dd94ecd3","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\": 150,\r\n        \"WoRatingId\":\"Positive\",\r\n        \"Comment\":\"Good Service\"\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/VerifyWorkCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","VerifyWorkCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"9ae264b0-7dcd-4ef4-b9ca-c362d0ef0ae4","name":"VerifyWorkCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 150,\r\n        \"WoRatingId\":\"Positive\",\r\n        \"Comment\":\"Good Service\"\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/VerifyWorkCommand"},"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:22:23 GMT"},{"key":"Content-Length","value":"246"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"WorkVerification\": {\n            \"Idx\": 0,\n            \"WorkOrderId\": 150,\n            \"WoRatingId\": \"Positive\",\n            \"Comment\": \"Good Service\",\n            \"EditedDate\": \"2022-03-08T07:22:23.2344365\",\n            \"Actor\": {\n                \"Id\": 13,\n                \"TypeId\": \"CorrigoNet\"\n            },\n            \"ConcurrencyId\": 1,\n            \"Id\": 76844\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"77dd2048-51a5-424d-935e-dbf7dd94ecd3"},{"name":"TimeCardActionCommand","id":"df25232b-6865-4372-8aa9-0c30a381e2e0","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        \"EmployeeId\": 99\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/TimeCardActionCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","TimeCardActionCommand"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"55d0c04e-fef4-43e2-8708-8f4f1a56426d","name":"TimeCardActionCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"EmployeeId\": 99\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://am-ce98c.corrigo.com/api/v1/cmd/TimeCardActionCommand","protocol":"https","host":["am-ce98c","corrigo","com"],"path":["","api","v1","cmd","TimeCardActionCommand"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"status":"Bad Request","code":400,"_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:23:38 GMT"},{"key":"Content-Length","value":"148"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"Time Card record cannot be found\",\n    \"ErrorCode\": \"BUSINESS_LOGIC_ERROR\",\n    \"TimeStamp\": \"2022-03-08T13:23:38.5682856Z\",\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"df25232b-6865-4372-8aa9-0c30a381e2e0"},{"name":"PostPaymentCommand","id":"51b5f4a3-2682-45d3-b4fd-592081e97321","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        \"InvoiceId\": 5,\r\n        \"PaymentId\": 5\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/PostPaymentCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","PostPaymentCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"51b5f4a3-2682-45d3-b4fd-592081e97321"},{"name":"UpdateInvoiceStateCommand","id":"bab59296-a387-423f-b47f-7ad2bed9c0fd","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        \"InvoiceId\": 301\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/UpdateInvoiceStateCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","UpdateInvoiceStateCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"08ac8fa1-d6e8-408b-9396-ada63cf21a9e","name":"UpdateInvoiceStateCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"InvoiceId\": 301\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/UpdateInvoiceStateCommand"},"status":"Bad Request","code":400,"_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 14:05:32 GMT"},{"key":"Content-Length","value":"183"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"ErrorMessage\": \"No action associated with 0 invoice state.\\r\\nParameter name: state\",\n    \"ErrorCode\": \"BUSINESS_LOGIC_ERROR\",\n    \"TimeStamp\": \"2022-03-08T14:05:33.2031293Z\",\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"bab59296-a387-423f-b47f-7ad2bed9c0fd"},{"name":"WoCreateCommand1","id":"283579c8-a181-4dfa-be38-db21325a5397","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      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"Contactid\":2,\r\n         \"TypeCategory\" : 4,     \r\n                \r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"ComputeSchedule\" : true     \r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create","urlObject":{"protocol":"https","path":["api","v1","cmd","Workorder","Create"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"13adb634-8a77-47b3-a9a5-8a81dac97ba3","name":"WoCreateCommand1","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"Command\" : {\r\n      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"Contactid\":2,\r\n         \"TypeCategory\" : 4,     \r\n                \r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"ComputeSchedule\" : true     \r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create"},"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 14:11:47 GMT"},{"key":"Content-Length","value":"1079"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Wo\": {\n            \"Number\": \"ASN0013660\",\n            \"TypeCategory\": \"Request\",\n            \"WorkOrderCost\": {\n                \"Id\": 388092\n            },\n            \"Priority\": {\n                \"Id\": 3\n            },\n            \"StatusId\": \"New\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 12584\n            },\n            \"ShortLocation\": \"NHQ 03 East\",\n            \"TaskRefinement\": \"TN - NHQ (Nashville Headquarters):NHQ 03 East:Other\",\n            \"WorkZone\": {\n                \"Id\": 1\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"Specialty\": {\n                \"Id\": 10095\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 259\n            },\n            \"Customer\": {\n                \"Id\": 3\n            },\n            \"ContactName\": \"\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 35,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2022-03-08T09:11:46.6931427\",\n            \"DtCreated\": \"2022-03-08T09:11:46.6931427\",\n            \"DtDue\": \"2022-03-25T12:30:00\",\n            \"DtAcknowledgeBy\": \"2022-03-10T15:30:00\",\n            \"AcknowledgeByUtc\": \"2022-03-10T20:30:00Z\",\n            \"LastActionDateUtc\": \"2022-03-08T14:11:46.6931427Z\",\n            \"CreatedDateUtc\": \"2022-03-08T14:11:46.6931427Z\",\n            \"DueDateUtc\": \"2022-03-25T16:30:00Z\",\n            \"DtOnSiteBy\": \"2022-03-15T12:30:00\",\n            \"DtUtcOnSiteBy\": \"2022-03-15T16:30:00Z\",\n            \"LastAction\": {\n                \"Id\": 388092\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 1,\n            \"Id\": 388092\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"283579c8-a181-4dfa-be38-db21325a5397"},{"name":"WoCreateCommand2","id":"0be7adb2-add1-4481-bbf0-1522feeea096","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      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"TypeCategory\" : 4,\r\n         \"Priority\" : {\r\n            \"Id\" : 1\r\n         },\r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"Specialityid\":1,\r\n      \"ExpenseAccountid\":601,\r\n      \"VendorNte\":0,\r\n      \"ComputeSchedule\" : true,\r\n      \"ComputeAssignment\" : true,\r\n      \"EmergencyDisabled\" : false,\r\n      \"Comment\" : \"Creation Comment here\"\r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create","urlObject":{"protocol":"https","path":["api","v1","cmd","Workorder","Create"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"25978dce-3a12-49d6-b743-2d9373bbdd9f","name":"WoCreateCommand2","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"Command\" : {\r\n      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"TypeCategory\" : 4,\r\n         \"Priority\" : {\r\n            \"Id\" : 1\r\n         },\r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"Specialityid\":1,\r\n      \"ExpenseAccountid\":601,\r\n      \"VendorNte\":0,\r\n      \"ComputeSchedule\" : true,\r\n      \"ComputeAssignment\" : true,\r\n      \"EmergencyDisabled\" : false,\r\n      \"Comment\" : \"Creation Comment here\"\r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create"},"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 14:12:29 GMT"},{"key":"Content-Length","value":"1101"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Wo\": {\n            \"Number\": \"ASN0013661\",\n            \"TypeCategory\": \"Request\",\n            \"WorkOrderCost\": {\n                \"Id\": 388093\n            },\n            \"Priority\": {\n                \"Id\": 3\n            },\n            \"StatusId\": \"New\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 12584\n            },\n            \"ShortLocation\": \"NHQ 03 East\",\n            \"TaskRefinement\": \"TN - NHQ (Nashville Headquarters):NHQ 03 East:Other\",\n            \"WorkZone\": {\n                \"Id\": 1\n            },\n            \"Employee\": {\n                \"Id\": 154\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"Specialty\": {\n                \"Id\": 10095\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 259\n            },\n            \"Customer\": {\n                \"Id\": 3\n            },\n            \"ContactName\": \"\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 35,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2022-03-08T09:12:29.2585836\",\n            \"DtCreated\": \"2022-03-08T09:12:29.2585836\",\n            \"DtDue\": \"2022-03-25T12:30:00\",\n            \"DtAcknowledgeBy\": \"2022-03-10T15:30:00\",\n            \"AcknowledgeByUtc\": \"2022-03-10T20:30:00Z\",\n            \"LastActionDateUtc\": \"2022-03-08T14:12:29.2585836Z\",\n            \"CreatedDateUtc\": \"2022-03-08T14:12:29.2585836Z\",\n            \"DueDateUtc\": \"2022-03-25T16:30:00Z\",\n            \"DtOnSiteBy\": \"2022-03-15T12:30:00\",\n            \"DtUtcOnSiteBy\": \"2022-03-15T16:30:00Z\",\n            \"LastAction\": {\n                \"Id\": 388093\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 1,\n            \"Id\": 388093\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"0be7adb2-add1-4481-bbf0-1522feeea096"},{"name":"WoCreateCommand3","id":"981c2e73-589b-42e3-8801-c41039d3a951","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      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"TypeCategory\" : 4,\r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"Assignments\":1,\r\n      \"ComputeSchedule\" : true,\r\n      \"ComputeAssignment\" : false    \r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create","urlObject":{"protocol":"https","path":["api","v1","cmd","Workorder","Create"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"a977d575-1099-411e-90aa-495e95110b56","name":"WoCreateCommand3","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"Command\" : {\r\n      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"TypeCategory\" : 4,\r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"Assignments\":1,\r\n      \"ComputeSchedule\" : true,\r\n      \"ComputeAssignment\" : false    \r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create","protocol":"https","host":["am-ce98c","corrigo","com"],"path":["api","v1","cmd","Workorder","Create"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"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 14:13:19 GMT"},{"key":"Content-Length","value":"1079"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Wo\": {\n            \"Number\": \"ASN0013662\",\n            \"TypeCategory\": \"Request\",\n            \"WorkOrderCost\": {\n                \"Id\": 388094\n            },\n            \"Priority\": {\n                \"Id\": 3\n            },\n            \"StatusId\": \"New\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 12584\n            },\n            \"ShortLocation\": \"NHQ 03 East\",\n            \"TaskRefinement\": \"TN - NHQ (Nashville Headquarters):NHQ 03 East:Other\",\n            \"WorkZone\": {\n                \"Id\": 1\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"Specialty\": {\n                \"Id\": 10095\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 259\n            },\n            \"Customer\": {\n                \"Id\": 3\n            },\n            \"ContactName\": \"\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 35,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2022-03-08T09:13:19.1214815\",\n            \"DtCreated\": \"2022-03-08T09:13:19.1214815\",\n            \"DtDue\": \"2022-03-25T12:30:00\",\n            \"DtAcknowledgeBy\": \"2022-03-10T15:30:00\",\n            \"AcknowledgeByUtc\": \"2022-03-10T20:30:00Z\",\n            \"LastActionDateUtc\": \"2022-03-08T14:13:19.1214815Z\",\n            \"CreatedDateUtc\": \"2022-03-08T14:13:19.1214815Z\",\n            \"DueDateUtc\": \"2022-03-25T16:30:00Z\",\n            \"DtOnSiteBy\": \"2022-03-15T12:30:00\",\n            \"DtUtcOnSiteBy\": \"2022-03-15T16:30:00Z\",\n            \"LastAction\": {\n                \"Id\": 388094\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 1,\n            \"Id\": 388094\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"981c2e73-589b-42e3-8801-c41039d3a951"},{"name":"WoCreateCommand3 Copy","id":"5a04299e-0d59-4854-a06c-8969d5c5d76b","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      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"TypeCategory\" : 4,\r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"Assignments\":1,\r\n      \"ComputeSchedule\" : true,\r\n      \"ComputeAssignment\" : false    \r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create","urlObject":{"protocol":"https","path":["api","v1","cmd","Workorder","Create"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"e54bf3dc-3c6d-44a2-8341-37e46f51fe29","name":"WoCreateCommand3","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"Command\" : {\r\n      \"WorkOrder\" : {\r\n         \"Items\" : [\r\n            {\r\n               \"Asset\" : {\r\n                  \"Id\" : 12584\r\n               },\r\n               \"Task\" : {\r\n                  \"Id\" : 14389\r\n               }\r\n            }\r\n         ],\r\n         \"TypeCategory\" : 4,\r\n         \"SubType\" : {\r\n            \"Id\" : 259\r\n         },\r\n         \"Customer\" : {\r\n            \"Id\" : 3\r\n         }\r\n      },\r\n      \"Assignments\":1,\r\n      \"ComputeSchedule\" : true,\r\n      \"ComputeAssignment\" : false    \r\n   },\r\n   \"RequestId\" : \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://am-ce98c.corrigo.com/api/v1/cmd/Workorder/Create","protocol":"https","host":["am-ce98c","corrigo","com"],"path":["api","v1","cmd","Workorder","Create"],"query":[{"key":"","value":"","type":"text","disabled":true}]}},"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 14:13:19 GMT"},{"key":"Content-Length","value":"1079"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Wo\": {\n            \"Number\": \"ASN0013662\",\n            \"TypeCategory\": \"Request\",\n            \"WorkOrderCost\": {\n                \"Id\": 388094\n            },\n            \"Priority\": {\n                \"Id\": 3\n            },\n            \"StatusId\": \"New\",\n            \"Access\": \"NotApplicable\",\n            \"MainAsset\": {\n                \"Id\": 12584\n            },\n            \"ShortLocation\": \"NHQ 03 East\",\n            \"TaskRefinement\": \"TN - NHQ (Nashville Headquarters):NHQ 03 East:Other\",\n            \"WorkZone\": {\n                \"Id\": 1\n            },\n            \"Duration\": 0,\n            \"VendorNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"Specialty\": {\n                \"Id\": 10095\n            },\n            \"PoNumber\": \"\",\n            \"SubType\": {\n                \"Id\": 259\n            },\n            \"Customer\": {\n                \"Id\": 3\n            },\n            \"ContactName\": \"\",\n            \"WonId\": 0,\n            \"IsWarranty\": false,\n            \"FlagId\": 0,\n            \"TimeZone\": 35,\n            \"CurrencyTypeId\": \"USD\",\n            \"LastActionDate\": \"2022-03-08T09:13:19.1214815\",\n            \"DtCreated\": \"2022-03-08T09:13:19.1214815\",\n            \"DtDue\": \"2022-03-25T12:30:00\",\n            \"DtAcknowledgeBy\": \"2022-03-10T15:30:00\",\n            \"AcknowledgeByUtc\": \"2022-03-10T20:30:00Z\",\n            \"LastActionDateUtc\": \"2022-03-08T14:13:19.1214815Z\",\n            \"CreatedDateUtc\": \"2022-03-08T14:13:19.1214815Z\",\n            \"DueDateUtc\": \"2022-03-25T16:30:00Z\",\n            \"DtOnSiteBy\": \"2022-03-15T12:30:00\",\n            \"DtUtcOnSiteBy\": \"2022-03-15T16:30:00Z\",\n            \"LastAction\": {\n                \"Id\": 388094\n            },\n            \"InductionAndSafetyStatusID\": \"NotApplicable\",\n            \"ConcurrencyId\": 1,\n            \"Id\": 388094\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"5a04299e-0d59-4854-a06c-8969d5c5d76b"},{"name":"CostStatusChangeCommand","id":"0ee5d1e7-bc80-4fac-afcd-64db5ec8d6dc","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\": 25,\r\n        \"CostStatusId\": 2\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/CostStatusChangeCommand","urlObject":{"protocol":"https","path":["","api","v1","cmd","CostStatusChangeCommand"],"host":["am-ce98c","corrigo","com"],"query":[],"variable":[]}},"response":[{"id":"9f2d96e4-b4a3-41bf-a1de-bafb9bed5098","name":"CostStatusChangeCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"WorkOrderId\": 25,\r\n        \"CostStatusId\": 2\r\n    },\r\n    \"RequestId\": \"1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://am-ce98c.corrigo.com//api/v1/cmd/CostStatusChangeCommand"},"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 14:15:47 GMT"},{"key":"Content-Length","value":"750"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Financial\": {\n            \"Id\": 25,\n            \"CurrencyTypeId\": \"USD\",\n            \"BillToOption\": {\n                \"Id\": 0\n            },\n            \"CostsTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"ApStateId\": \"None\",\n            \"ApStatusId\": 1,\n            \"JobCode\": \"\",\n            \"AuthorizationCode\": \"\",\n            \"CheckNumber\": \"\",\n            \"PaymentAmount\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"PaymentNotes\": \"\",\n            \"GlAccount\": \"551200.701\",\n            \"Number\": \"\",\n            \"VendorInvoiceTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"IsPreBilled\": false,\n            \"ExpensesTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"BillingRule\": \"NotBilled\",\n            \"TaxStatus\": \"None\",\n            \"CustomerNte\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"ServiceFeesTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"CostStatusId\": 2,\n            \"CostState\": \"Submitted\",\n            \"ChargeCode\": {\n                \"Id\": 1\n            },\n            \"ExternalId\": \"\",\n            \"ConcurrencyId\": 4\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"0ee5d1e7-bc80-4fac-afcd-64db5ec8d6dc"}]}