POST {language}/companyAnnouncement/insertCompanyAnnouncement
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
InsertCompanyAnnouncementRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
AnnouncementTitle | string |
None. |
|
AnnouncementCategory | string |
None. |
|
IsApplyAllEmployee | boolean |
None. |
|
IsMandatoryRead | boolean |
None. |
|
ConfirmationDeadline | date |
None. |
|
Thumbnail | string |
None. |
|
ThumbnailTemp | string |
None. |
|
AnnouncementContent | string |
None. |
|
AnnouncementContentSummary | string |
None. |
|
AttachmentUrl1 | string |
None. |
|
AttachmentUrlTemp1 | string |
None. |
|
AttachmentUrl2 | string |
None. |
|
AttachmentUrlTemp2 | string |
None. |
|
AttachmentUrl3 | string |
None. |
|
AttachmentUrlTemp3 | string |
None. |
|
CompanyId | globally unique identifier |
None. |
|
RequestId | globally unique identifier |
None. |
|
Language | string |
None. |
|
LanguageLogin | string |
None. |
|
AuthToken | string |
None. |
|
ClientId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Id": "0e912433-bea2-4616-81e7-8eb016157314", "AnnouncementTitle": "sample string 2", "AnnouncementCategory": "sample string 3", "IsApplyAllEmployee": true, "IsMandatoryRead": true, "ConfirmationDeadline": "2025-04-27T21:43:36.954931+00:00", "Thumbnail": "sample string 7", "ThumbnailTemp": "sample string 8", "AnnouncementContent": "sample string 9", "AnnouncementContentSummary": "sample string 10", "AttachmentUrl1": "sample string 11", "AttachmentUrlTemp1": "sample string 12", "AttachmentUrl2": "sample string 13", "AttachmentUrlTemp2": "sample string 14", "AttachmentUrl3": "sample string 15", "AttachmentUrlTemp3": "sample string 16", "CompanyId": "58d1dbb7-0e62-46dd-a079-289242c8c053", "RequestId": "103c3f9a-0321-4974-8514-30e168e0538a", "Language": "sample string 19", "LanguageLogin": "sample string 20", "AuthToken": "sample string 21", "ClientId": "sample string 22", "PageIndex": 23, "PageSize": 24 }
application/xml, text/xml
Sample:
<InsertCompanyAnnouncementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.Requests"> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 21</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 22</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 19</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 20</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">23</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">24</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">103c3f9a-0321-4974-8514-30e168e0538a</RequestId> <AnnouncementCategory>sample string 3</AnnouncementCategory> <AnnouncementContent>sample string 9</AnnouncementContent> <AnnouncementContentSummary>sample string 10</AnnouncementContentSummary> <AnnouncementTitle>sample string 2</AnnouncementTitle> <AttachmentUrl1>sample string 11</AttachmentUrl1> <AttachmentUrl2>sample string 13</AttachmentUrl2> <AttachmentUrl3>sample string 15</AttachmentUrl3> <AttachmentUrlTemp1>sample string 12</AttachmentUrlTemp1> <AttachmentUrlTemp2>sample string 14</AttachmentUrlTemp2> <AttachmentUrlTemp3>sample string 16</AttachmentUrlTemp3> <CompanyId>58d1dbb7-0e62-46dd-a079-289242c8c053</CompanyId> <ConfirmationDeadline>2025-04-27T21:43:36.954931+00:00</ConfirmationDeadline> <Id>0e912433-bea2-4616-81e7-8eb016157314</Id> <IsApplyAllEmployee>true</IsApplyAllEmployee> <IsMandatoryRead>true</IsMandatoryRead> <Thumbnail>sample string 7</Thumbnail> <ThumbnailTemp>sample string 8</ThumbnailTemp> <UserName>sample string 1</UserName> </InsertCompanyAnnouncementRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.