POST User/MyProfile/WatchedNotice/Update
Updates an existing watched notice associated with 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
An updated WatchedNotice object.
WatchedNotice| Name | 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
Returns HTTP status 200 if successful; otherwise a collection of validation errors with HTTP status code 400.
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ServiceResponseCode |
None. |
|
| Errors | Collection of Error |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "Ok",
"errors": null
}