PUT GovernmentNotification/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
MYCII_EWS.BusinessObjects.GovernmentNotification+SaveGNName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Title | string |
Required |
|
BriefDescription | string |
Required |
|
DateOfIssue | date |
Required |
|
NotificationIssuedBy | string |
Required |
|
Sectors | Collection of string |
Required |
|
Attachments | Collection of MYCII_EWS.BusinessObjects.GovernmentNotification+Attachment |
Required |
|
Weblinks | string |
None. |
|
DelimitedSectors | string |
None. |
|
DelimitedAttachments | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Title": "sample string 2", "BriefDescription": "sample string 3", "DateOfIssue": "2025-04-04T09:14:12.6853015+05:30", "NotificationIssuedBy": "sample string 5", "Sectors": [ "sample string 1", "sample string 2" ], "Attachments": [ { "FileName": "sample string 1", "Content": "sample string 2" }, { "FileName": "sample string 1", "Content": "sample string 2" } ], "Weblinks": "sample string 6", "DelimitedSectors": "sample string 1|sample string 2", "DelimitedAttachments": "sample string 7" }
application/xml, text/xml
Sample:
<SaveGN xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <Title>sample string 2</Title> <BriefDescription>sample string 3</BriefDescription> <DateOfIssue>2025-04-04T09:14:12.6853015+05:30</DateOfIssue> <NotificationIssuedBy>sample string 5</NotificationIssuedBy> <Sectors> <string>sample string 1</string> <string>sample string 2</string> </Sectors> <Attachments> <Attachment> <FileName>sample string 1</FileName> <Content>sample string 2</Content> </Attachment> <Attachment> <FileName>sample string 1</FileName> <Content>sample string 2</Content> </Attachment> </Attachments> <Weblinks>sample string 6</Weblinks> <DelimitedAttachments>sample string 7</DelimitedAttachments> </SaveGN>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.