Attachment

Create attachment

Create attachment

post/tasks/{task_id}/attachments

Request

  • Base URL
    https://r38.coupadev.com/api
  • Auth
    • OAuth 2
      Authorization codehttps://r38.coupadev.com/oauth2/authorizations/new
      Token URLhttps://r38.coupadev.com/oauth2/token
    • or OAuth 2
      Client credentials
      Token URLhttps://r38.coupadev.com/oauth2/access_tokens
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

task_idinteger required

Query parameters

return_object'limited' | 'shallow' | 'none'
filterstring

Request body multipart/form-data

attachment[file]string binary required
attachment[type]string required

Response

Created

created-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

filestring string(255)

file

file-content-typestring string(255)

file content type

file-file-namestring string(255)

file name

file-file-sizestring string(255)

file size

file-urlstring string

URL to attached file

idinteger

Coupa unique identifier

intentstring string(40)

intent

linked-tostring string(255)

link to specific feature

textstring text

text

typestring string(255)

type

updated-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

urlstring string(255)

url

Changes

No recorded changes to this operation across all 1 revision of this API.