POST api/ImportContactFile/UploadFileData
Request Information
URI Parameters
None.
Body Parameters
ImportContactFileMappedViewModelName | Description | Type | Additional information |
---|---|---|---|
MappedFieldData | Collection of MappedFieldData |
None. |
|
FilePath | string |
None. |
|
CategoryTypeId | string |
None. |
|
AccountId | string |
None. |
|
UserId | string |
None. |
|
ParentAccountId | string |
None. |
|
EnteredInitals | string |
None. |
|
DoNotImportOrOverRide | DoNotImportOrOverRide |
None. |
|
DoNotImportOrOverrideField | DoNotImportOrOverrideField |
None. |
|
ListIds | Collection of string |
None. |
|
InterestIds | Collection of string |
None. |
|
TagIds | Collection of string |
None. |
|
IsKnownToContactsByBusiness | boolean |
None. |
|
IsSendOnlyTextMessagesByPermission | boolean |
None. |
|
IsListBuyOrRentedFromThirdParty | boolean |
None. |
|
ImportContactAssignmentRule | ImportContactAssignmentRule |
None. |
|
ActionOnDuplicate | DuplicateActionOnContact |
None. |
|
DuplicateRules | string |
None. |
|
IsFileContainInternationalNumbers | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "MappedFieldData": [ { "MindMeFieldName": "sample string 1", "MappedFieldName": "sample string 2", "CustomFieldId": "sample string 3", "IsCreateNewListIfNotExists": true, "IsCreateNewTagIfNotExists": true, "IsCreateNewInterestIfNotExists": true, "IsSetFavorite": true, "FileColumnType": 1 }, { "MindMeFieldName": "sample string 1", "MappedFieldName": "sample string 2", "CustomFieldId": "sample string 3", "IsCreateNewListIfNotExists": true, "IsCreateNewTagIfNotExists": true, "IsCreateNewInterestIfNotExists": true, "IsSetFavorite": true, "FileColumnType": 1 } ], "FilePath": "sample string 1", "CategoryTypeId": "sample string 2", "AccountId": "sample string 3", "UserId": "sample string 4", "ParentAccountId": "sample string 5", "EnteredInitals": "sample string 6", "DoNotImportOrOverRide": "DoNotImport", "DoNotImportOrOverrideField": "MobilePhone", "ListIds": [ "sample string 1", "sample string 2" ], "InterestIds": [ "sample string 1", "sample string 2" ], "TagIds": [ "sample string 1", "sample string 2" ], "IsKnownToContactsByBusiness": true, "IsSendOnlyTextMessagesByPermission": true, "IsListBuyOrRentedFromThirdParty": true, "ImportContactAssignmentRule": { "ContactAssignmentType": "None", "UserIds": [ "sample string 1", "sample string 2" ], "TeamId": "sample string 1", "PreviousAssignedUserId": "sample string 2" }, "ActionOnDuplicate": "Skip", "DuplicateRules": "sample string 7", "IsFileContainInternationalNumbers": true }
application/xml, text/xml
Sample:
<ImportContactFileMappedViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel"> <AccountId>sample string 3</AccountId> <ActionOnDuplicate>Skip</ActionOnDuplicate> <CategoryTypeId>sample string 2</CategoryTypeId> <DoNotImportOrOverRide>DoNotImport</DoNotImportOrOverRide> <DoNotImportOrOverrideField>MobilePhone</DoNotImportOrOverrideField> <DuplicateRules>sample string 7</DuplicateRules> <EnteredInitals>sample string 6</EnteredInitals> <FilePath>sample string 1</FilePath> <ImportContactAssignmentRule> <ContactAssignmentType>None</ContactAssignmentType> <PreviousAssignedUserId>sample string 2</PreviousAssignedUserId> <TeamId>sample string 1</TeamId> <UserIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </UserIds> </ImportContactAssignmentRule> <InterestIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </InterestIds> <IsFileContainInternationalNumbers>true</IsFileContainInternationalNumbers> <IsKnownToContactsByBusiness>true</IsKnownToContactsByBusiness> <IsListBuyOrRentedFromThirdParty>true</IsListBuyOrRentedFromThirdParty> <IsSendOnlyTextMessagesByPermission>true</IsSendOnlyTextMessagesByPermission> <ListIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ListIds> <MappedFieldData xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Shared.Common.Models"> <d2p1:MappedFieldData> <d2p1:CustomFieldId>sample string 3</d2p1:CustomFieldId> <d2p1:FileColumnType>DonotImport</d2p1:FileColumnType> <d2p1:IsCreateNewInterestIfNotExists>true</d2p1:IsCreateNewInterestIfNotExists> <d2p1:IsCreateNewListIfNotExists>true</d2p1:IsCreateNewListIfNotExists> <d2p1:IsCreateNewTagIfNotExists>true</d2p1:IsCreateNewTagIfNotExists> <d2p1:IsSetFavorite>true</d2p1:IsSetFavorite> <d2p1:MappedFieldName>sample string 2</d2p1:MappedFieldName> <d2p1:MindMeFieldName>sample string 1</d2p1:MindMeFieldName> </d2p1:MappedFieldData> <d2p1:MappedFieldData> <d2p1:CustomFieldId>sample string 3</d2p1:CustomFieldId> <d2p1:FileColumnType>DonotImport</d2p1:FileColumnType> <d2p1:IsCreateNewInterestIfNotExists>true</d2p1:IsCreateNewInterestIfNotExists> <d2p1:IsCreateNewListIfNotExists>true</d2p1:IsCreateNewListIfNotExists> <d2p1:IsCreateNewTagIfNotExists>true</d2p1:IsCreateNewTagIfNotExists> <d2p1:IsSetFavorite>true</d2p1:IsSetFavorite> <d2p1:MappedFieldName>sample string 2</d2p1:MappedFieldName> <d2p1:MindMeFieldName>sample string 1</d2p1:MindMeFieldName> </d2p1:MappedFieldData> </MappedFieldData> <ParentAccountId>sample string 5</ParentAccountId> <TagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </TagIds> <UserId>sample string 4</UserId> </ImportContactFileMappedViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.