POST api/negotiator/my/preferences
Save or Update Negotiator Preferences
Request Information
URI Parameters
None.
Body Parameters
SaveNegotiatorPreferencesCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| CalendarViews | Collection of NegotiatorPreferencesCalendarViewDataContract |
None. |
|
| Reminders | SaveNegotiatorPreferenceRemindersDataContract |
None. |
|
| TaskReminders | SaveNegotiatorPreferenceRemindersDataContract |
None. |
|
| Notifications | SaveNegotiatorPreferenceNotificationsDataContract |
None. |
|
| 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,
"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,
"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
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |