POST api/presidentialActions/{folderId}/posts
Create Post in a folder
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
folderId | integer |
Required |
Body Parameters
PresidentialActionsDocumentViewName | Description | Type | Additional information |
---|---|---|---|
ProcessId | string |
None. |
|
DocumentId | integer |
None. |
|
DateIndex | date |
None. |
|
Title | string |
None. |
|
Message | string |
None. |
|
DatePublication | date |
None. |
|
OriginalFileName | string |
None. |
|
FileBase64 | string |
None. |
|
FileExtension | string |
None. |
|
OrganicEntityId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProcessId": "sample string 1", "DocumentId": 2, "DateIndex": "2025-04-04T01:28:39.2841724+01:00", "Title": "sample string 4", "Message": "sample string 5", "DatePublication": "2025-04-04T01:28:39.2841724+01:00", "OriginalFileName": "sample string 7", "FileBase64": "sample string 8", "FileExtension": "sample string 9", "OrganicEntityId": 10 }
application/xml, text/xml
Sample:
<PresidentialActionsDocumentView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <DateIndex>2025-04-04T01:28:39.2841724+01:00</DateIndex> <DatePublication>2025-04-04T01:28:39.2841724+01:00</DatePublication> <DocumentId>2</DocumentId> <FileBase64>sample string 8</FileBase64> <FileExtension>sample string 9</FileExtension> <Message>sample string 5</Message> <OrganicEntityId>10</OrganicEntityId> <OriginalFileName>sample string 7</OriginalFileName> <ProcessId>sample string 1</ProcessId> <Title>sample string 4</Title> </PresidentialActionsDocumentView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>