POST api/FavouriteCategory/Save

Request Information

URI Parameters

None.

Body Parameters

FavouriteCategoryViewModel
NameDescriptionTypeAdditional information
AccountId

string

Required

UserId

string

Required

CategoryId

string

None.

ContactTypesCategory

ContactTypesCategory

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",
  "CategoryId": "sample string 3",
  "ContactTypesCategory": "List",
  "Id": "sample string 4",
  "CreatedDate": "2022-09-29T02:32:41.7022317+00:00",
  "UpdatedDate": "2022-09-29T02:32:41.7022317+00:00",
  "CreatedBy": "sample string 7",
  "UpdatedBy": "sample string 8",
  "CreatedByUserId": "sample string 9",
  "UpdatedByUserId": "sample string 10",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<FavouriteCategoryViewModel 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 7</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 9</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-29T02:32:41.7022317+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 4</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 8</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 10</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-29T02:32:41.7022317+00:00</UpdatedDate>
  <AccountId>sample string 1</AccountId>
  <CategoryId>sample string 3</CategoryId>
  <ContactTypesCategory>List</ContactTypesCategory>
  <UserId>sample string 2</UserId>
</FavouriteCategoryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>