Files
developer.sailpoint.com/docs/api/nerm/v1/get-workflow-session-upload.api.mdx
2024-03-06 16:17:34 -05:00

45 lines
7.1 KiB
Plaintext

---
id: get-workflow-session-upload
sidebar_label: Retrieves the URL of an attachment attribute value from a workflow session
hide_title: true
hide_table_of_contents: true
api: eJy9VttuGzcQ/RWCTw2gm225TQXkwUHcQkWTFLKdPARCMNqdlRjvkhteZC8W+++dISVZjlS3DoL6wd4lZ5bnzJw5dCtNjRa8Mnqay4lcov9o7G1RmrsrdI6Wb+rSQC57MkeXWVVzKAXO0FuFa3TCr1DczP4UphCgBXgP2apC7fnRqkXwKNZQBhSFNZUAcbf5vnDpAPq0h6WTk0/y2y0n5z1Zg4UKPVoOaaWmFzpfMSTFSGrwqwN40zeMh6GZxRfMvPBG2A3kngh1Dp7+GityLOnblG/xa1AWqQjeBuxJl62wAjlppW9qPtFRtl5SZGFsBZ5WQogo8B6quuSQk9Pxz/nLxVkfstNf++PRyXn/5cn5uJ8jjMdnY/jlrADZdb0di12JPv8Ln2tiovItp2NF/n8pzPk0V1OL0PEBp6MR/3kM+vK+ptJjLrah3AVgNShe+xrQeTo8M9oTFc6Hui5VFuU4/OL4I+0hi9RRSqwti9erBCHY8mmqtM+oIX+vyybViHohvfKR+Q3tdx2vjI+ReQ25mCXMoi+ChkUZ+WSGK+dx8BwmRuP7Isr5W05bNFMdy/QHp7Jg/inuA0fFYy6tNTQj3TyROD9GYkr4rIZSXKFdoxUxh+jQaASrqVNGE7UV6LykF7zPMGa6Z5F7uk3IRx4iuxAVzTwsUaT1BXUvaj3F70v0yljbCGfIFFYcdcdzcGcNtbtLPz3Je2ZjaAyBZ2oih1uD+bw1mGGr8m4YoscN2/1x7CjNxSol34nykivvazcZDlsqBWj/jsa4G2hqJ2EzDeKA5DCEWlHyGqxikUTWD+GJegGhZFFCVmFmDsc9hgt2CQGEdMm9YbEF54m3ZaJzxpcFq3wTAS4QLNqLwEw/zfe3r7g1Ccd+0K5TTEpu7ILfUxCtpIffthN0bW5REwz6/aoxwaZHNjRyrsLwF7lcicLJYDQY7Qn13eXsrbj4a3rU2rabIqMrZIEiuMQXsowaRfdKLiqTq6IRXFUTHFsKIaBdobSIYFCvFYmAXZHlSgJFshwGtTHbt9PriLU2zleg93Z+6GX2iF37MDY/+MpMrfN474d1CYpdYmuBSe0P1+lO7ZQ3iX4ftpf65NENRJpZUXE4t20X4JA8set4mXzPsszmD7qOosuV42eatAJKh0+w/2m2uZ1eiOdfzkfZbhZBN3HaqF70Ro+32KR/ENg3vwvgf7ptvwPTo2KTUVO56TqiUeNSppCLjD13L/nAa3myd/b2+yVr+m9e6WD4
sidebar_class_name: "get api-method"
info_path: docs/api/nerm/v1/nerm-api
custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Retrieves the URL of an attachment attribute value from a workflow session' (get-workflow-session-upload)"
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import TabItem from "@theme/TabItem";
<h1 className={"openapi__heading"}>Retrieves the URL of an attachment attribute value from a workflow session</h1>
<MethodEndpoint method={"get"} path={"/workflow_sessions/{id}/upload/{attribute_id}"}></MethodEndpoint>
Retrieves the URL of an attachment attribute value from a workflow session
## Request
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"id","in":"path","description":"ID of the object to retrieve, update, or delete","required":true,"schema":{"type":"string","format":"uuid","example":"1246d8b3-ac29-4015-8154-dea4434a73fa"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"name":"attribute_id","in":"path","description":"The id of the attachment attribute","required":true,"schema":{"type":"string","format":"uuid","example":"1246d8b3-ac29-4015-8154-dea4434a73fa"}}}></ParamsItem></ul></div></details><div><div><ApiTabs><TabItem label={"200"} value={"200"}><div>
Expected response to a valid request
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"url"} required={false} schemaName={"url"} qualifierMessage={undefined} schema={{"type":"string","format":"url","readOnly":true}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"url\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>
Bad Request - unable to complete.
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><div><span className={"badge badge--info"}>oneOf</span><SchemaTabs><TabItem label={"InvalidJson"} value={"0-item-properties"}><SchemaItem collapsible={false} name={"error"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"example":"Invalid JSON syntax. Please check your syntax and try again."}}></SchemaItem></TabItem><TabItem label={"ValidationErrors"} value={"1-item-properties"}><SchemaItem collapsible={false} name={"error"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"example":"The <object> failed to create/update"}}></SchemaItem><SchemaItem collapsible={false} name={"errors"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"example":{"attribute":"can't be blank"}}}></SchemaItem></TabItem></SchemaTabs></div></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>
Internal Server Error - returned on unhandled exceptions.
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"error"} required={false} schemaName={""} qualifierMessage={undefined} schema={{"description":"A message describing the error","example":"Sorry something went wrong"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"error\": \"Sorry something went wrong\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>