POST api/Contact/UpdateContactBasicFields
Request Information
URI Parameters
None.
Body Parameters
UpdateContactBasicFieldViewModelName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
AccountId | string |
Required |
|
ContactId | string |
Required |
|
FieldName | UpdateContactFieldType |
Required |
|
FieldValue | string |
None. |
|
FieldBooleanValue | boolean |
None. |
|
DateOfBirth | DateOfBirthViewModel |
None. |
|
Gender | Gender |
None. |
|
ContactPhoto | ContactPhotoDetailVM |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "AccountId": "sample string 2", "ContactId": "sample string 3", "FieldName": "FirstName", "FieldValue": "sample string 4", "FieldBooleanValue": true, "DateOfBirth": { "DOB": "2024-11-21T08:44:32.2707942+00:00", "Day": 1, "Month": 1, "Year": 1 }, "Gender": "Male", "ContactPhoto": { "URL": "sample string 1", "CroppedImage": "sample string 2", "ZoomPercentage": 3.0, "CropperTop": 4.0, "CropperLeft": 5.0 } }
application/xml, text/xml
Sample:
<UpdateContactBasicFieldViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Contact"> <AccountId>sample string 2</AccountId> <ContactId>sample string 3</ContactId> <ContactPhoto> <CroppedImage>sample string 2</CroppedImage> <CropperLeft>5</CropperLeft> <CropperTop>4</CropperTop> <URL>sample string 1</URL> <ZoomPercentage>3</ZoomPercentage> </ContactPhoto> <DateOfBirth xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel"> <d2p1:DOB>2024-11-21T08:44:32.2707942+00:00</d2p1:DOB> <d2p1:Day>1</d2p1:Day> <d2p1:Month>1</d2p1:Month> <d2p1:Year>1</d2p1:Year> </DateOfBirth> <FieldBooleanValue>true</FieldBooleanValue> <FieldName>FirstName</FieldName> <FieldValue>sample string 4</FieldValue> <Gender>Male</Gender> <UserId>sample string 1</UserId> </UpdateContactBasicFieldViewModel>
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.