Home / API / ASP.NET Web API Details

POST api/v1/Account/UpdateContact

Description

Update contact

Request Information

Parameters

NameDescriptionAdditional information
contactId
No documentation available.

Define this parameter in the request body.

contacttype
No documentation available.

Define this parameter in the request body.

firstname
No documentation available.

Define this parameter in the request body.

middlename
No documentation available.

Define this parameter in the request body.

lastname
No documentation available.

Define this parameter in the request body.

emailaddress
No documentation available.

Define this parameter in the request body.

webaddress
No documentation available.

Define this parameter in the request body.

bussinessname
No documentation available.

Define this parameter in the request body.

contactdescription
No documentation available.

Define this parameter in the request body.

contactphonenumber
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "contactId": 1,
  "contacttype": 64,
  "firstname": "sample string 3",
  "middlename": "sample string 4",
  "lastname": "sample string 5",
  "emailaddress": "sample string 6",
  "webaddress": "sample string 7",
  "bussinessname": "sample string 8",
  "contactdescription": "sample string 9",
  "contactphonenumber": {
    "phonetype": 64,
    "phonenumber": "sample string 2",
    "phoneextension": "sample string 3",
    "phonenote": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<ContactUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <bussinessname>sample string 8</bussinessname>
  <contactId>1</contactId>
  <contactdescription>sample string 9</contactdescription>
  <contactphonenumber>
    <phoneextension>sample string 3</phoneextension>
    <phonenote>sample string 4</phonenote>
    <phonenumber>sample string 2</phonenumber>
    <phonetype>64</phonetype>
  </contactphonenumber>
  <contacttype>64</contacttype>
  <emailaddress>sample string 6</emailaddress>
  <firstname>sample string 3</firstname>
  <lastname>sample string 5</lastname>
  <middlename>sample string 4</middlename>
  <webaddress>sample string 7</webaddress>
</ContactUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "code": 2
}

application/xml, text/xml

Sample:
<ContactUpdateResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <Message>sample string 1</Message>
  <code>2</code>
</ContactUpdateResultModel>