- Data Service OpenAPI
- Get Entity Record by Id
- Get Entity Records
- Query Entity Records
- Delete Entity Record by Id
- Update Entity Record by Id
- Create Entity Record
- Create Multiple Entity Records
- Update Multiple Entity Records
- Delete Multiple Entity Records
- Download File from Record Field
- Upload File to Record Field
- Delete File From Record Field
- Bulk Upload
Upload File to Record Field
Uploads a file to the specified field of an existing Entity record.
BaseURL/Attachment/<Entity>/{recordId}/{fieldName}
- BaseURL:
https://cloud.uipath.com/{organizationName}/{tenantName}/dataservice_/api
Header |
Value |
---|---|
Authorization |
Bearer
<access_token> |
Content-Type |
multipart/form-data |
<...>
with their corresponding use-case values.
<access_token>
is the one you received when you authorized the external application. It is available for 1 hour, then you need to generate
a new one, or request a refresh token.
Path Variable |
Data Type |
Description |
Default Value |
---|---|---|---|
recordId (Required) |
|
The ID of the Data Service entity's record you want to upload the file to. |
NA |
fieldName (Required) |
|
The name of the File type field where the record you want to upload to is found. The name must correspond to a valid field, and it is case-sensitive. |
NA |
Query Parameter |
Data Type |
Description |
Default Value |
---|---|---|---|
expansionLevel (Optional) |
|
Specifies the depth of the related records to be retrieved. The value of this parameter can be 1, 2, or 3. |
2 |
You are not authenticated to access Data Service. Make sure your Assistant or Robot is connected to a modern folder in your account.