POST api/updateContact

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
UserKey

integer

None.

UserId

globally unique identifier

None.

AdsObjectId

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

BusinessName

string

None.

Email

string

None.

Phone

string

None.

PhoneCode

string

None.

Address

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

Country

string

None.

MFAEnabled

boolean

None.

MFAType

integer

None.

ResetPassword

boolean

None.

PasswordChangedOn

date

None.

Status

integer

None.

CreatedOn

date

None.

CreatedBy

globally unique identifier

None.

ModifiedOn

date

None.

ModifiedBy

globally unique identifier

None.

DeletedOn

date

None.

DeletedBy

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "UserKey": 1,
  "UserId": "40a60c1d-3777-4562-b5bd-939fcc999a62",
  "AdsObjectId": "866fb8ca-bf09-415f-ac36-190a7af65c23",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "BusinessName": "sample string 6",
  "Email": "sample string 7",
  "Phone": "sample string 8",
  "PhoneCode": "sample string 9",
  "Address": "sample string 10",
  "City": "sample string 11",
  "State": "sample string 12",
  "ZipCode": "sample string 13",
  "Country": "sample string 14",
  "MFAEnabled": true,
  "MFAType": 1,
  "ResetPassword": true,
  "PasswordChangedOn": "2025-04-22T13:57:01.4814901+00:00",
  "Status": 1,
  "CreatedOn": "2025-04-22T13:57:01.4814901+00:00",
  "CreatedBy": "52bfc96c-beb5-44d6-b317-a015ef33c0d5",
  "ModifiedOn": "2025-04-22T13:57:01.4814901+00:00",
  "ModifiedBy": "b9ddb218-69a0-41c3-a37d-9371b9a518a0",
  "DeletedOn": "2025-04-22T13:57:01.4814901+00:00",
  "DeletedBy": "5d14774c-8d29-404f-8dd7-2bb034e538c8"
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <Address>sample string 10</Address>
  <AdsObjectId>866fb8ca-bf09-415f-ac36-190a7af65c23</AdsObjectId>
  <BusinessName>sample string 6</BusinessName>
  <City>sample string 11</City>
  <Country>sample string 14</Country>
  <CreatedBy>52bfc96c-beb5-44d6-b317-a015ef33c0d5</CreatedBy>
  <CreatedOn>2025-04-22T13:57:01.4814901+00:00</CreatedOn>
  <DeletedBy>5d14774c-8d29-404f-8dd7-2bb034e538c8</DeletedBy>
  <DeletedOn>2025-04-22T13:57:01.4814901+00:00</DeletedOn>
  <Email>sample string 7</Email>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <MFAEnabled>true</MFAEnabled>
  <MFAType>1</MFAType>
  <ModifiedBy>b9ddb218-69a0-41c3-a37d-9371b9a518a0</ModifiedBy>
  <ModifiedOn>2025-04-22T13:57:01.4814901+00:00</ModifiedOn>
  <PasswordChangedOn>2025-04-22T13:57:01.4814901+00:00</PasswordChangedOn>
  <Phone>sample string 8</Phone>
  <PhoneCode>sample string 9</PhoneCode>
  <ResetPassword>true</ResetPassword>
  <State>sample string 12</State>
  <Status>1</Status>
  <UserId>40a60c1d-3777-4562-b5bd-939fcc999a62</UserId>
  <UserKey>1</UserKey>
  <ZipCode>sample string 13</ZipCode>
</UserModel>

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.