Create Request Attachment
Create a request attachment.
post
Path parameters
requestIdstringRequired
Query parameters
languagestringOptional
Body
filestring · binaryOptional
Responses
201
Created
application/json
400
Bad Request
application/json
post
POST /public/v1/commerce/requests/{requestId}/attachments HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 67
{
"attachment": {
"Name": "text",
"Description": "text"
},
"file": "binary"
}
{
"id": "text",
"href": "text",
"name": "text",
"fileName": "text",
"fileSize": 1,
"contentType": "text"
}
Last updated
Was this helpful?