POST api/negotiator/my/preferences
Save or Update Negotiator Preferences Processes this negotiator API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The save negotiator preferences command data contract supplied with the request.
SaveNegotiatorPreferencesCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| CalendarViews |
The collection of calendar views. |
Collection of NegotiatorPreferencesCalendarViewDataContract |
None. |
| Reminders |
The reminders value. |
SaveNegotiatorPreferenceRemindersDataContract |
None. |
| TaskReminders |
The task reminders value. |
SaveNegotiatorPreferenceRemindersDataContract |
None. |
| Notifications |
The notifications value. |
SaveNegotiatorPreferenceNotificationsDataContract |
None. |
|
The email value. |
SaveNegotiatorPreferenceEmailDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"CalendarViews": [
{
"Name": "sample string 1",
"UnattendedSelected": true,
"Negotiators": [
{
"Name": "sample string 1",
"Email": "sample string 2",
"Inactive": true,
"Id": 4
},
{
"Name": "sample string 1",
"Email": "sample string 2",
"Inactive": true,
"Id": 4
}
],
"NegotiatorOrder": [
{
"NegotiatorId": 1,
"Order": 2,
"Id": 3
},
{
"NegotiatorId": 1,
"Order": 2,
"Id": 3
}
],
"CalendarViewType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"IncludeInactiveNegotiators": true,
"CalendarFirstDay": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Id": 4
},
{
"Name": "sample string 1",
"UnattendedSelected": true,
"Negotiators": [
{
"Name": "sample string 1",
"Email": "sample string 2",
"Inactive": true,
"Id": 4
},
{
"Name": "sample string 1",
"Email": "sample string 2",
"Inactive": true,
"Id": 4
}
],
"NegotiatorOrder": [
{
"NegotiatorId": 1,
"Order": 2,
"Id": 3
},
{
"NegotiatorId": 1,
"Order": 2,
"Id": 3
}
],
"CalendarViewType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"IncludeInactiveNegotiators": true,
"CalendarFirstDay": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Id": 4
}
],
"Reminders": {
"ByEmail": true,
"BySms": true,
"ByNotification": true,
"When": [
{
"Key": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Value": true,
"Id": 2
},
{
"Key": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Value": true,
"Id": 2
}
]
},
"TaskReminders": {
"ByEmail": true,
"BySms": true,
"ByNotification": true,
"When": [
{
"Key": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Value": true,
"Id": 2
},
{
"Key": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Value": true,
"Id": 2
}
]
},
"Notifications": {
"ByEmail": true,
"BySms": true,
"ByNotification": true,
"NotifyOf": [
{
"Key": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Value": true,
"Id": 2
},
{
"Key": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
},
"Value": true,
"Id": 2
}
]
},
"Email": {
"SyncFlagged": true,
"SyncFolder": true,
"SyncInlineImages": true,
"SmtpUsername": "sample string 4",
"SmptPassword": "sample string 5",
"ImapUsername": "sample string 6",
"ImapPassword": "sample string 7"
}
}
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |