{ "opencollection": "1.0.0", "info": { "name": "Workday Strategic Sourcing attachments supplier_categories API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Key", "value": "{{X-Api-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "supplier_categories", "type": "folder" }, "items": [ { "info": { "name": "List Supplier Categories", "type": "http" }, "http": { "method": "GET", "url": "https://api.us.workdayspend.com/services/attachments/v1/supplier_categories" }, "docs": "Returns a list of supplier categories." }, { "info": { "name": "Create a Supplier Category", "type": "http" }, "http": { "method": "POST", "url": "https://api.us.workdayspend.com/services/attachments/v1/supplier_categories", "body": { "type": "json", "data": "{}" } }, "docs": "Create a supplier category with given parameters.\n" }, { "info": { "name": "Update a Supplier Category", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.us.workdayspend.com/services/attachments/v1/supplier_categories/:id", "params": [ { "name": "id", "value": "1", "type": "path", "description": "Unique supplier category identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the details of an existing supplier category. You need to supply the unique\nidentifier that was returned upon supplier category creation.\n\nPlease note, that request body must include an `id` attribute with the value of your supplier category\nunique identifier (the same one you passed in the URL).\n" }, { "info": { "name": "Delete a Supplier Category", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.us.workdayspend.com/services/attachments/v1/supplier_categories/:id", "params": [ { "name": "id", "value": "1", "type": "path", "description": "Unique supplier category identifier." } ] }, "docs": "Deletes a supplier category. You need to supply the unique supplier category\nidentifier that was returned upon supplier category creation.\n" }, { "info": { "name": "Update a Supplier Category by External ID", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.us.workdayspend.com/services/attachments/v1/supplier_categories/:external_id/external_id", "params": [ { "name": "external_id", "value": "SUPCAT", "type": "path", "description": "Unique supplier category external identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the details of an existing supplier category. You need to supply the unique\nexternal identifier assigned to the supplier category on creation.\n\nPlease note, that request body must include an `id` attribute with the value of your supplier category\nunique identifier (the same one you passed in the URL).\n" }, { "info": { "name": "Delete a Supplier Category by External ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.us.workdayspend.com/services/attachments/v1/supplier_categories/:external_id/external_id", "params": [ { "name": "external_id", "value": "SUPCAT", "type": "path", "description": "Unique supplier category external identifier." } ] }, "docs": "Deletes a supplier category. You need to supply the unique supplier category\nexternal identifier assigned to the supplier category on creation.\n" } ] } ], "bundled": true }