PUT api/Contact/UpdateCustomFieldsData
Request Information
URI Parameters
None.
Body Parameters
UpdateCustomFieldsDataRequestVMName | Description | Type | Additional information |
---|---|---|---|
SubAccountId | string |
Required |
|
UserId | string |
Required |
|
ContactId | string |
Required |
|
CustomFields | Collection of CustomFieldDataRequestVM |
None. |
Request Formats
application/json, text/json
Sample:
{ "SubAccountId": "sample string 1", "UserId": "sample string 2", "ContactId": "sample string 3", "CustomFields": [ { "CustomFieldId": "sample string 1", "CustomFieldType": "Text", "SelectedMultipleOptionIds": [ "sample string 1", "sample string 2" ], "FieldResponse": "sample string 2", "CustomFieldResponseValue": "sample string 3", "CountryId": "sample string 4", "CountryCode": 5 }, { "CustomFieldId": "sample string 1", "CustomFieldType": "Text", "SelectedMultipleOptionIds": [ "sample string 1", "sample string 2" ], "FieldResponse": "sample string 2", "CustomFieldResponseValue": "sample string 3", "CountryId": "sample string 4", "CountryCode": 5 } ] }
application/xml, text/xml
Sample:
<UpdateCustomFieldsDataRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Contact"> <ContactId>sample string 3</ContactId> <CustomFields> <CustomFieldDataRequestVM> <CountryCode>5</CountryCode> <CountryId>sample string 4</CountryId> <CustomFieldId>sample string 1</CustomFieldId> <CustomFieldResponseValue>sample string 3</CustomFieldResponseValue> <CustomFieldType>Text</CustomFieldType> <FieldResponse>sample string 2</FieldResponse> <SelectedMultipleOptionIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </SelectedMultipleOptionIds> </CustomFieldDataRequestVM> <CustomFieldDataRequestVM> <CountryCode>5</CountryCode> <CountryId>sample string 4</CountryId> <CustomFieldId>sample string 1</CustomFieldId> <CustomFieldResponseValue>sample string 3</CustomFieldResponseValue> <CustomFieldType>Text</CustomFieldType> <FieldResponse>sample string 2</FieldResponse> <SelectedMultipleOptionIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </SelectedMultipleOptionIds> </CustomFieldDataRequestVM> </CustomFields> <SubAccountId>sample string 1</SubAccountId> <UserId>sample string 2</UserId> </UpdateCustomFieldsDataRequestVM>
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.