POST User/MyProfile/WatchedNotice/Create
Creates a new watched notice for the signed in user.
Requires Authorization
The endpoint requires a bearer token in the http authorization header. For example "bearer 2YotnFZFEjr1zCsicMWpAA"
Request Information
URI Parameters
None.
Body Parameters
The watched notice details.
WatchedNoticeName | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets id of watch |
integer |
None. |
Name |
Gets or sets name of watch |
string |
None. |
CountdownAlert |
Gets or sets number of days prior to deadline |
CountdownAlert |
None. |
IncludeUpdates |
Gets or sets a value indicating whether to send contract-changed alerts |
boolean |
None. |
NoticeId |
Gets or sets id of notice to be watched |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "name": "Notice reminder", "countdownAlert": "DeadlineDay", "includeUpdates": true, "noticeId": "08db128a-ecff-4aca-95b9-66875e531bdf" }
application/xml, text/xml
Sample:
<WatchedNotice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPL.ContractsFinder.BusinessEntities"> <CountdownAlert>DeadlineDay</CountdownAlert> <Id>1</Id> <IncludeUpdates>true</IncludeUpdates> <Name>Notice reminder</Name> <NoticeId>08db128a-ecff-4aca-95b9-66875e531bdf</NoticeId> </WatchedNotice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
An action result.
ServiceResponseName | Description | Type | Additional information |
---|---|---|---|
Code | ServiceResponseCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": "Ok", "errors": null }