{"info":{"_postman_id":"66aeb827-e2f9-49da-b425-9345b8432088","name":"ApStatusChangeCommand","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19494308","collectionId":"66aeb827-e2f9-49da-b425-9345b8432088","publishedId":"UVz1Mrqt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-12T16:09:22.000Z"},"item":[{"name":"ApStatusChangeCommand","id":"562576fd-73cf-419b-b6dc-83410892a78f","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\": 388143,\r\n        \"VendorInvoiceStatusId\": 2\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/ApStatusChangeCommand","urlObject":{"protocol":"https","path":["api","v1","cmd","ApStatusChangeCommand"],"host":["am-ce98c","corrigo","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"e5070a8b-0b58-41dd-9ab4-72c32579c583","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":"562576fd-73cf-419b-b6dc-83410892a78f"}]}