I need help with a service. I need to send a file with content to Alfresco

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member II

I need help with a service. I need to send a file with content to Alfresco

Jump to solution

I am using this service
http://127.0.0.1:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-shared-/children?alf_...

I send a Json file
{
"name":"PruebaData.pdf",
"nodeType":"cm:content",
"content": {
"mimeType": "text/plain",
"mimeTypeName": "Plain Text",
"sizeInBytes": 34,
"encoding": "ISO-8859-1"
},

"properties": {
"cm:title": "My text",
"cm:versionType": "MAJOR",
"cm:versionLabel": "1.0",
"cm:description": "My text document description",
"cm:lastThumbnailModification": [
"doclib:1567673959670",
"pdf:1567673964745"
]
}
}

I need that the file PruebaData.pdf have content. For example When i open the file have this text.. "This is the content.."

How i can do that with that service? Thank you

1 Solution

Accepted Solutions
Alfresco Employee

Re: I need help with a service. I need to send a file with content to Alfresco

Jump to solution
1 Reply
Alfresco Employee

Re: I need help with a service. I need to send a file with content to Alfresco

Jump to solution