POST ParliamentTracker/Save
Request Information
URI Parameters
None.
Body Parameters
MYCII_EWS.BusinessObjects.GovernmentNotification+SavePUName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Title | string |
Required |
|
BriefDescription | string |
Required |
|
DateOfIssue | date |
Required |
|
Sectors | Collection of string |
Required |
|
Attachments | Collection of MYCII_EWS.BusinessObjects.GovernmentNotification+Attachment |
None. |
|
Weblinks | string |
Required |
|
Keywords | string |
None. |
|
CurrentStatus | string |
None. |
|
MinistryPending | string |
None. |
|
Stage | string |
None. |
|
Introduction | string |
None. |
|
ComRef | string |
None. |
|
ComRep | string |
None. |
|
LokSabha | string |
None. |
|
RajyaSabha | 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:10:36.0405726+05:30", "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 5", "Keywords": "sample string 6", "CurrentStatus": "sample string 7", "MinistryPending": "sample string 8", "Stage": "sample string 9", "Introduction": "sample string 10", "ComRef": "sample string 11", "ComRep": "sample string 12", "LokSabha": "sample string 13", "RajyaSabha": "sample string 14", "DelimitedSectors": "sample string 1|sample string 2", "DelimitedAttachments": "sample string 15" }
application/xml, text/xml
Sample:
<SavePU 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:10:36.0405726+05:30</DateOfIssue> <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 5</Weblinks> <Keywords>sample string 6</Keywords> <CurrentStatus>sample string 7</CurrentStatus> <MinistryPending>sample string 8</MinistryPending> <Stage>sample string 9</Stage> <Introduction>sample string 10</Introduction> <ComRef>sample string 11</ComRef> <ComRep>sample string 12</ComRep> <LokSabha>sample string 13</LokSabha> <RajyaSabha>sample string 14</RajyaSabha> <DelimitedAttachments>sample string 15</DelimitedAttachments> </SavePU>
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.