PUT api/Documents/DocumentFromString?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
FromStringDocModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ImageSourceUrl |
URL of image Source |
string |
None. |
| DocumentId |
Document Guid |
globally unique identifier |
None. |
| FileDocString |
Document as B64 String |
string |
None. |
| Name |
Name of Document |
string |
None. |
| DocTypeId |
Id of Document Type |
integer |
None. |
| Lastchanged |
Date of last change of document |
date |
None. |
| CompanyId |
Company Id related to the Document |
integer |
None. |
| SiteId |
Site Id related to the Document |
integer |
None. |
| PostId |
Post Id related to the Document |
integer |
None. |
| EmployesId |
Employe Id related to the Document |
integer |
None. |
| IsTargetDoc |
True if Document target groups instead of sites |
boolean |
None. |
| IsShareable |
True if Document can be shared |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ImageSourceUrl": "sample string 1",
"DocumentId": "db820142-598a-4ee4-b5b3-f22e0899501d",
"FileDocString": "sample string 3",
"Name": "sample string 4",
"DocTypeId": 1,
"Lastchanged": "2025-12-22T06:04:35.4033132+00:00",
"CompanyId": 6,
"SiteId": 7,
"PostId": 1,
"EmployesId": 1,
"IsTargetDoc": true,
"IsShareable": true
}
application/xml, text/xml
Sample:
<FromStringDocModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <CompanyId>6</CompanyId> <DocTypeId>1</DocTypeId> <DocumentId>db820142-598a-4ee4-b5b3-f22e0899501d</DocumentId> <EmployesId>1</EmployesId> <FileDocString>sample string 3</FileDocString> <ImageSourceUrl>sample string 1</ImageSourceUrl> <IsShareable>true</IsShareable> <IsTargetDoc>true</IsTargetDoc> <Lastchanged>2025-12-22T06:04:35.4033132+00:00</Lastchanged> <Name>sample string 4</Name> <PostId>1</PostId> <SiteId>7</SiteId> </FromStringDocModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.