POST PolicyTracker/Save
Request Information
URI Parameters
None.
Body Parameters
MYCII_EWS.BusinessObjects.PolicyTracker+SavePTName | Description | Type | Additional information |
---|---|---|---|
PolicyStatementId | integer |
None. |
|
Title | string |
Required |
|
BriefDescription | string |
Required |
|
DateOfIssue | date |
Required |
|
IssuedBy | string |
Required |
|
Sectors | Collection of string |
Required |
|
Attachment | MYCII_EWS.BusinessObjects.PolicyTracker+Attachment |
None. |
|
Weblinks | string |
None. |
|
DelimitedSectors | string |
None. |
|
FileName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PolicyStatementId": 1, "Title": "sample string 2", "BriefDescription": "sample string 3", "DateOfIssue": "2025-04-04T10:54:13.6593061+05:30", "IssuedBy": "sample string 5", "Sectors": [ "sample string 1", "sample string 2" ], "Attachment": { "FileName": "sample string 1", "Content": "sample string 2" }, "Weblinks": "sample string 6", "DelimitedSectors": "sample string 1|sample string 2", "FileName": "sample string 1" }
application/xml, text/xml
Sample:
<SavePT xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PolicyStatementId>1</PolicyStatementId> <Title>sample string 2</Title> <BriefDescription>sample string 3</BriefDescription> <DateOfIssue>2025-04-04T10:54:13.6593061+05:30</DateOfIssue> <IssuedBy>sample string 5</IssuedBy> <Sectors> <string>sample string 1</string> <string>sample string 2</string> </Sectors> <Attachment> <FileName>sample string 1</FileName> <Content>sample string 2</Content> </Attachment> <Weblinks>sample string 6</Weblinks> </SavePT>
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.