POST api/AccountMediaFolder/SaveAccountMediaFolder

Request Information

URI Parameters

None.

Body Parameters

AccountMediaFolderViewModel
NameDescriptionTypeAdditional information
AccountId

string

Required

UserId

string

Required

IsFavourite

boolean

None.

FolderName

string

None.

ParentId

string

None.

MediaIds

Collection of string

None.

MobilePageIds

Collection of string

None.

OfferIds

Collection of string

None.

SmsTemplateIds

Collection of string

None.

EmailTemplateIds

Collection of string

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",
  "IsFavourite": true,
  "FolderName": "sample string 4",
  "ParentId": "sample string 5",
  "MediaIds": [
    "sample string 1",
    "sample string 2"
  ],
  "MobilePageIds": [
    "sample string 1",
    "sample string 2"
  ],
  "OfferIds": [
    "sample string 1",
    "sample string 2"
  ],
  "SmsTemplateIds": [
    "sample string 1",
    "sample string 2"
  ],
  "EmailTemplateIds": [
    "sample string 1",
    "sample string 2"
  ],
  "Id": "sample string 6",
  "CreatedDate": "2024-11-20T11:15:21.3997054+00:00",
  "UpdatedDate": "2024-11-20T11:15:21.3997054+00:00",
  "CreatedBy": "sample string 9",
  "UpdatedBy": "sample string 10",
  "CreatedByUserId": "sample string 11",
  "UpdatedByUserId": "sample string 12",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<AccountMediaFolderViewModel 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 9</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 11</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-20T11:15:21.3997054+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 6</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 10</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 12</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-20T11:15:21.3997054+00:00</UpdatedDate>
  <AccountId>sample string 1</AccountId>
  <EmailTemplateIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </EmailTemplateIds>
  <FolderName>sample string 4</FolderName>
  <IsFavourite>true</IsFavourite>
  <MediaIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </MediaIds>
  <MobilePageIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </MobilePageIds>
  <OfferIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </OfferIds>
  <ParentId>sample string 5</ParentId>
  <SmsTemplateIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SmsTemplateIds>
  <UserId>sample string 2</UserId>
</AccountMediaFolderViewModel>

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.