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": "bbe73427-646e-425b-844b-d790289aa7a0", "CompanyId": "09d54a0f-8902-42c7-94ce-1474126a72bd", "IsPublish": true, "Username": "sample string 4", "IsApplyAllEmployee": true, "AnnouncementTitle": "sample string 6", "RequestId": "21a4813c-d6ae-4f4b-9547-ded04ac1e258", "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">21a4813c-d6ae-4f4b-9547-ded04ac1e258</RequestId> <AnnouncementTitle>sample string 6</AnnouncementTitle> <CompanyId>09d54a0f-8902-42c7-94ce-1474126a72bd</CompanyId> <Id>bbe73427-646e-425b-844b-d790289aa7a0</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.