• Dashboard
  • API
    • API Access
    • v1
      • Authentication
      • Assignments
        • Overview
        • Create
        • Update
        • Unpublish
        • Close
        • Find
        • Get Skills
        • AddFile
        • DeleteFile
      • Applications
        • Find
        • Get resume
        • Get file
        • Set status
        • Webhooks
      • Consultants
        • List
        • Create
        • Edit
        • Share
        • Boost
      • Error codes
    • v2
      • Overview
      • Authentication
      • Assignments
        • Overview
        • Create
        • Update
        • Get
        • Delete
        • Unpublish
        • Close
        • Add file
        • Delete file
        • Get file
        • Suggested tags
      • Applications
        • Overview
        • Get
        • Get resume
        • Set status
        • Get file
      • Consultants
        • Overview
        • Create
        • Update
        • Get
        • Delete
        • Share
        • Boost
      • Datatypes
        • extent
        • maxRate
        • location
      • Errors
  • Assignment export
    • Overview
    • Data format
    • Export example
  • Plugins
    • Assignment listing
    • Social media
  • XML Import
  • Home >
  • API >
  • v2 >
  • Assignments >
  • Add file
 
Get API Access

Add file

Uploads a file to an assignment.

If the assignment already has a file with the same name, that file is overwritten 

End point

/v2/assignmentfile

Request format

POST

Request content

Json containing file data. Example:

{
"id": "326411",
"fileName":  "test.pdf",
"data": "JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbikg..."
}

 

Property Name Type Required Description
id
Yes

Assignment id

filename
Yes
data
Yes

File data as a base64 encoded string

Who are you?
Freelancer Consulting firm Broker Buyer of consulting services Individual Employer Umbrella company
Looking for...
Assignments Freelancers / consultants Consulting firms Brokers
Tools
Post assignments Partner network Professional profiles Resource planning API Recruitment Advertise in Brainville Content marketing
What is Brainville?
About us FAQ Blog Pricing Perks Contact us
© 2012-2025 Brainville AB
Terms and conditions Privacy policy Cookies