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

45 lines
7.9 KiB
Plaintext

---
id: post-workflow-session-upload
sidebar_label: Uploads a new attachment attribute value to a workflow session
hide_title: true
hide_table_of_contents: true
api: eJy9Vm1v2zYQ/iuEPm2AbTmJs7YG9iHdMsAD2hSxu34ojOIsnWw2EqmRlB1B0H/fHWn5JfayphuWD7FE3vGe514eqol0iQac1GqSRuOo1NZ90uYhy/VmitbS+scy15BGvShFmxhZsi1ZhmUrQCjcCHAOklWByvGjkYvKoVhDXqFwmmw22zOFDYfScQ6WNhp/jp5u2Wjei0owUKBDwyZNpOiFYkqGITl6CW51Amnyq9CZcCsUevEVE8ehDRIaXGNPVGUKjn61ESnmdDb5G/yzkgaJuTMV9iKbrLCAaNxEri45oiVvtSTLTJsCHK1UlUeBj1CUOZtcXI5+Sl8vrvqQXL7pj4YX1/3XF9ejfoowGl2N4NVVBlHb9nYsdgn68g98ZsREph2ncyn+fynMQzS07q1Oaw7xNHiilSOAvFVUuZNURhdz3D7l3oM6gRdKRXBKw63oJFrezSQje4bEQiowNaHiPwZmS+qd4Hw5HPLPcTZvH0sKhKnoTENnUpNKXvO8oiMKUJa5TPxwxF8tH/Lt+CuTP18D2mfUkN6pvA75Yx5OOl+Sj7QfmI3OkXkLqbgPmEVfVAoWueeTaC6pw8FLmGiFd5mfs6ecOjQT5dP0O7tyJ/+d3R9s5cPcGqNpeNt5IHF9jsSE8BkFuZiiWaMR3ofo0MxWRlGltCJqK1BpTi/4mKD3tC8i93yZkEOeIrsRBYkRLFGEdWq2pR/CYH84O1NtTC2sJrVasdWGB3RjNJW77ZqT93Qnr4yBp30cxZ30femkL25k2saVl9a4ORSKltysT1NQRN9f0cq50o7juKFcgHLvSWDagaJ6EjhdIw6oH2IoJTmvwUjuEk97bx64Z0DTytKUFJjoUyHy5oL1SwAhXXJxuNsq64i4YaZzxpdURrraA1wgGDQ3FTP9PD/cnnJtAo5Do12pmFS0FTJ+D0a0Eh5+60Zoph9QEQz6/3OtKxMeWWpJUzPNJ3K6AoWLwXAwPOjU97f378TNh8lZ0e02RQJKLFBUNvCFJKFCCWpIUehUZrXgrOrKsqYQAtoVUgkPBtVaUhewXnO/UociaQ6D2l4D7yYzj5V7ogB1sPOvr9YjRs1+Vv6DSzuUyOGji8scJMtBp3Whq/cX+q6ryW/sb5yq+5QYH92B1BsrHgzybZoFWCTxa1teJoEz3E7zff/65kql5WcaqQxyi88w/uF+e0X9KF7+eXCW7XYRVO2nirJFb/T4gHX4RGGB/C6A33Tffwemo2STIlO66d6hkeJUBpNfAp7+jA/aH3HuEmd6wekmYUU+MD9RYh77nfh9uJvOeIq33w40QezDB/tze/tHFoy2/Qvqwayn
sidebar_class_name: "post 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 'Uploads a new attachment attribute value to a workflow session' (post-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"}>Uploads a new attachment attribute value to a workflow session</h1>
<MethodEndpoint method={"post"} path={"/workflow_sessions/{id}/upload/{attribute_id}"}></MethodEndpoint>
Uploads a new attachment attribute value to 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><MimeTabs className={"openapi-tabs__mime"}><TabItem label={"multipart/form-data"} value={"multipart/form-data-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3><strong className={"openapi-schema__required"}>required</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"file"} required={false} schemaName={"binary"} qualifierMessage={undefined} schema={{"type":"string","format":"binary"}}></SchemaItem></ul></details></TabItem></MimeTabs><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>