POST {language}/companyAnnouncement/publishAnnouncement
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
PublishCompanyAnnouncementRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CompanyId | globally unique identifier |
None. |
|
IsPublish | boolean |
None. |
|
Username | string |
None. |
|
IsApplyAllEmployee | boolean |
None. |
|
AnnouncementTitle | string |
None. |
|
RequestId | globally unique identifier |
None. |
|
Language | string |
None. |
|
LanguageLogin | string |
None. |
|
AuthToken | string |
None. |
|
ClientId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "64765253-b819-425a-97ab-5b6f29b9be1a", "CompanyId": "3fa622cd-b11a-47c8-9cd7-722b01dfac57", "IsPublish": true, "Username": "sample string 4", "IsApplyAllEmployee": true, "AnnouncementTitle": "sample string 6", "RequestId": "1dc8bba2-151a-447a-8fe2-5d95c72eae82", "Language": "sample string 8", "LanguageLogin": "sample string 9", "AuthToken": "sample string 10", "ClientId": "sample string 11", "PageIndex": 12, "PageSize": 13 }
application/xml, text/xml
Sample:
<PublishCompanyAnnouncementRequest 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 10</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 11</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">12</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">13</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">1dc8bba2-151a-447a-8fe2-5d95c72eae82</RequestId> <AnnouncementTitle>sample string 6</AnnouncementTitle> <CompanyId>3fa622cd-b11a-47c8-9cd7-722b01dfac57</CompanyId> <Id>64765253-b819-425a-97ab-5b6f29b9be1a</Id> <IsApplyAllEmployee>true</IsApplyAllEmployee> <IsPublish>true</IsPublish> <Username>sample string 4</Username> </PublishCompanyAnnouncementRequest>
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.