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