{ "opencollection": "1.0.0", "info": { "name": "m3ter Account DebitReason API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "DebitReason", "type": "folder" }, "items": [ { "info": { "name": "List Debit Reasons", "type": "http" }, "http": { "method": "GET", "url": "https://api.m3ter.com/organizations/:orgId/picklists/debitreasons", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "pageSize", "value": "", "type": "query", "description": "Number of Debit Reasons to retrieve per page." }, { "name": "nextToken", "value": "", "type": "query", "description": "`nextToken` for multi page retrievals." }, { "name": "ids", "value": "", "type": "query", "description": "List of Debit Reason IDs to retrieve." }, { "name": "codes", "value": "", "type": "query", "description": "List of Debit Reason short codes to retrieve." }, { "name": "archived", "value": "", "type": "query", "description": "Filter using the boolean archived flag. DebitReasons can be archived if they are obsolete.\n* TRUE includes DebitReasons that have been archived.\n* FALSE excludes archived DebitReasons." } ] }, "docs": "Retrieve a list of the Debit Reason entities created for your Organization. You can filter the list returned for the call by Debit Reason ID, Debit Reason short code, or by Archive status." }, { "info": { "name": "Create Debit Reason", "type": "http" }, "http": { "method": "POST", "url": "https://api.m3ter.com/organizations/:orgId/picklists/debitreasons", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Debit Reason for your Organization. When you've created a Debit Reason, it becomes available as a debit type for adding Debit line items to Bills. See [Debits](https://www.m3ter.com/docs/api#tag/Debits)." }, { "info": { "name": "Retrieve Debit Reason", "type": "http" }, "http": { "method": "GET", "url": "https://api.m3ter.com/organizations/:orgId/picklists/debitreasons/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "id", "value": "", "type": "path", "description": "The UUID of the Debit Reason to retrieve." } ] }, "docs": "Retrieve the Debit Reason with the given UUID." }, { "info": { "name": "Update Debit Reason", "type": "http" }, "http": { "method": "PUT", "url": "https://api.m3ter.com/organizations/:orgId/picklists/debitreasons/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "id", "value": "", "type": "path", "description": "The UUID of the Debit Reason to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the Debit Reason with the given UUID. " }, { "info": { "name": "Delete Debit Reason", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.m3ter.com/organizations/:orgId/picklists/debitreasons/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "id", "value": "", "type": "path", "description": "The UUID of the Debit Reason to delete." } ] }, "docs": "Delete the Debit Reason with the given UUID." } ] } ], "bundled": true }