POST api/Unsubscribe/SaveUploadedFileData

Request Information

URI Parameters

None.

Body Parameters

ImportUnsubscribeFileMappedViewModel
NameDescriptionTypeAdditional information
MappedFieldData

Collection of MappedUnsubscribeFieldData

Required

FilePath

string

Required

AccountId

string

None.

ParentAccountId

string

Required

ImportType

UnsubscribeImportType

Required

UploadedByAccountId

string

Required

UserId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "MappedFieldData": [
    {
      "MindMeFieldName": "sample string 1",
      "MappedFieldName": "sample string 2",
      "DonotImport": true
    },
    {
      "MindMeFieldName": "sample string 1",
      "MappedFieldName": "sample string 2",
      "DonotImport": true
    }
  ],
  "FilePath": "sample string 1",
  "AccountId": "sample string 2",
  "ParentAccountId": "sample string 3",
  "ImportType": "Email",
  "UploadedByAccountId": "sample string 4",
  "UserId": "sample string 5"
}

application/xml, text/xml

Sample:
<ImportUnsubscribeFileMappedViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.AccountsAndSubAccountsResponseModels.Unsubscribe">
  <AccountId>sample string 2</AccountId>
  <FilePath>sample string 1</FilePath>
  <ImportType>Email</ImportType>
  <MappedFieldData>
    <MappedUnsubscribeFieldData>
      <DonotImport>true</DonotImport>
      <MappedFieldName>sample string 2</MappedFieldName>
      <MindMeFieldName>sample string 1</MindMeFieldName>
    </MappedUnsubscribeFieldData>
    <MappedUnsubscribeFieldData>
      <DonotImport>true</DonotImport>
      <MappedFieldName>sample string 2</MappedFieldName>
      <MindMeFieldName>sample string 1</MindMeFieldName>
    </MappedUnsubscribeFieldData>
  </MappedFieldData>
  <ParentAccountId>sample string 3</ParentAccountId>
  <UploadedByAccountId>sample string 4</UploadedByAccountId>
  <UserId>sample string 5</UserId>
</ImportUnsubscribeFileMappedViewModel>

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.