POST api/Contact/UpdateContactBasicFields

Request Information

URI Parameters

None.

Body Parameters

UpdateContactBasicFieldViewModel
NameDescriptionTypeAdditional 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.

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": "2022-09-29T01:17:28.195382+00:00",
    "Day": 1,
    "Month": 1,
    "Year": 1
  },
  "Gender": "Male"
}

application/xml, text/xml

Sample:
<UpdateContactBasicFieldViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
  <AccountId>sample string 2</AccountId>
  <ContactId>sample string 3</ContactId>
  <DateOfBirth>
    <DOB>2022-09-29T01:17:28.195382+00:00</DOB>
    <Day>1</Day>
    <Month>1</Month>
    <Year>1</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.