POST api/Documents/DocumentFileFromPostDocumentDTOWithSite
Request Information
URI Parameters
None.
Body Parameters
PostDocumentDTOWithSite| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| DocumentTypeId | integer |
None. |
|
| PublishedDate | date |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
|
| DocumentFile | Collection of byte |
None. |
|
| PostId | integer |
None. |
|
| EmployeId | integer |
None. |
|
| Url_Min | string |
None. |
|
| Url_Mobile | string |
None. |
|
| Url_Origin | string |
None. |
|
| SiteId | integer |
None. |
|
| IsShareable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DocumentId": "2ff9ec17-f939-413d-9027-4fd4eb99b8cd",
"Name": "sample string 2",
"DocumentTypeId": 3,
"PublishedDate": "2026-08-28T06:57:42.7136238+00:00",
"LastChanged": "2026-08-28T06:57:42.7136238+00:00",
"LastChange_AuthorId": 1,
"DocumentFile": "QEA=",
"PostId": 1,
"EmployeId": 1,
"Url_Min": "sample string 6",
"Url_Mobile": "sample string 7",
"Url_Origin": "sample string 8",
"SiteId": 9,
"IsShareable": true
}
application/xml, text/xml
Sample:
<PostDocumentDTOWithSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <DocumentFile>QEA=</DocumentFile> <DocumentId>2ff9ec17-f939-413d-9027-4fd4eb99b8cd</DocumentId> <DocumentTypeId>3</DocumentTypeId> <EmployeId>1</EmployeId> <IsShareable>true</IsShareable> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2026-08-28T06:57:42.7136238+00:00</LastChanged> <Name>sample string 2</Name> <PostId>1</PostId> <PublishedDate>2026-08-28T06:57:42.7136238+00:00</PublishedDate> <SiteId>9</SiteId> <Url_Min>sample string 6</Url_Min> <Url_Mobile>sample string 7</Url_Mobile> <Url_Origin>sample string 8</Url_Origin> </PostDocumentDTOWithSite>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Documents| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentId | globally unique identifier |
None. |
|
| DocumentTypeId | integer |
None. |
|
| Name | string |
None. |
|
| PublishedDate | date |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
|
| ViewCount | integer |
None. |
|
| Url_Min | string |
None. |
|
| Url_Mobile | string |
None. |
|
| Url_Web | string |
None. |
|
| Url_Origin | string |
None. |
|
| IsTargetDoc | boolean |
None. |
|
| IsShareable | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"DocumentId": "4bc17123-bd02-4365-99a5-49e98e666ea6",
"DocumentTypeId": 2,
"Name": "sample string 3",
"PublishedDate": "2026-08-28T06:57:42.7136238+00:00",
"LastChanged": "2026-08-28T06:57:42.7136238+00:00",
"LastChange_AuthorId": 1,
"ViewCount": 1,
"Url_Min": "sample string 6",
"Url_Mobile": "sample string 7",
"Url_Web": "sample string 8",
"Url_Origin": "sample string 9",
"IsTargetDoc": true,
"IsShareable": true
}
application/xml, text/xml
Sample:
<Documents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <DocumentId>4bc17123-bd02-4365-99a5-49e98e666ea6</DocumentId> <DocumentTypeId>2</DocumentTypeId> <IsShareable>true</IsShareable> <IsTargetDoc>true</IsTargetDoc> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2026-08-28T06:57:42.7136238+00:00</LastChanged> <Name>sample string 3</Name> <PublishedDate>2026-08-28T06:57:42.7136238+00:00</PublishedDate> <Url_Min>sample string 6</Url_Min> <Url_Mobile>sample string 7</Url_Mobile> <Url_Origin>sample string 9</Url_Origin> <Url_Web>sample string 8</Url_Web> <ViewCount>1</ViewCount> </Documents>