{"info":{"_postman_id":"0ee4590b-0805-4d25-8692-d20d0f0f81f1","name":"UpdateInvoiceStateCommand","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19494308","collectionId":"0ee4590b-0805-4d25-8692-d20d0f0f81f1","publishedId":"UVz1Ms9a","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-12T17:10:43.000Z"},"item":[{"name":"UpdateInvoiceStateCommand","id":"0577071c-b997-48d2-aaa3-8a4cf8561523","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\": 4,\r\n        \"Comment\":\"Test\",\r\n        \"State\":\"Draft\"\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":"0d66dad5-46e5-4781-a1bb-eb4f23579134","name":"UpdateInvoiceStateCommand","originalRequest":{"method":"POST","header":[{"key":"CompanyName","value":"RDC CE Sandbox","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Command\": {\r\n        \"InvoiceId\": 4,\r\n        \"Comment\":\"Test\",\r\n        \"State\":\"Draft\"\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":"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, 12 Apr 2022 11:26:53 GMT"},{"key":"Content-Length","value":"493"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"CommandResult\": {\n        \"Invoice\": {\n            \"CurrencyTypeId\": \"USD\",\n            \"TimeSetId\": 0,\n            \"Group\": {\n                \"Id\": 256\n            },\n            \"Number\": \"\",\n            \"State\": \"Draft\",\n            \"PoNumber\": \"\",\n            \"GlAccount\": \"\",\n            \"Comments\": \"\",\n            \"AmtBase\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"AmtTax\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"AmtTotal\": {\n                \"CurrencyTypeId\": \"USD\",\n                \"Value\": 0\n            },\n            \"IsMultiline\": false,\n            \"TaxTransactionId\": \"INTERNAL\",\n            \"IsTaxDirty\": false,\n            \"ExtNumber\": \"\",\n            \"IsManuallySent\": false,\n            \"DraftProcessStepId\": \"FailedPost\",\n            \"ConcurrencyId\": 6,\n            \"Id\": 4\n        }\n    },\n    \"RequestId\": \"1234\"\n}"}],"_postman_id":"0577071c-b997-48d2-aaa3-8a4cf8561523"}]}