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