POST api/Account/SaveSortPreference

Request Information

URI Parameters

None.

Body Parameters

SortPreferenceViewModel
NameDescriptionTypeAdditional information
AccountId

string

Required

UserId

string

Required

SortPreferencePage

SortPreferencePage

None.

SortingPreference

SortingPreference

None.

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "sample string 1",
  "UserId": "sample string 2",
  "SortPreferencePage": "MyContacts",
  "SortingPreference": 1,
  "Id": "sample string 3",
  "CreatedDate": "2022-09-27T14:04:13.165856+00:00",
  "UpdatedDate": "2022-09-27T14:04:13.165856+00:00",
  "CreatedBy": "sample string 6",
  "UpdatedBy": "sample string 7",
  "CreatedByUserId": "sample string 8",
  "UpdatedByUserId": "sample string 9",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<SortPreferenceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 6</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 8</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-27T14:04:13.165856+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 3</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 7</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 9</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-27T14:04:13.165856+00:00</UpdatedDate>
  <AccountId>sample string 1</AccountId>
  <SortPreferencePage>MyContacts</SortPreferencePage>
  <SortingPreference>Ascending</SortingPreference>
  <UserId>sample string 2</UserId>
</SortPreferenceViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.