POST api/Individual?customerId={customerId}&contactId={contactId}

Update a existed contact

Request Information

Parameters

NameDescriptionAdditional information
customerId
The Id of the parent customer

Define this parameter in the request URI.

contactId
The Id of the contact to update

Define this parameter in the request URI.

contact
The contact info

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "address1": "sample string 1",
  "alternate_phone_number": "sample string 2",
  "city": "sample string 3",
  "country": "sample string 4",
  "description": "sample string 5",
  "email_address": "sample string 6",
  "full_name": "sample string 7",
  "location": "sample string 8",
  "phone_number": "sample string 9",
  "postal_code": "sample string 10",
  "title": "sample string 11",
  "brand_id": 12,
  "can_see_all_company_tickets": true,
  "custom_fields": [
    {
      "Name": "sample string 1",
      "Type": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Name": "sample string 1",
      "Type": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Name": "sample string 1",
      "Type": "sample string 2",
      "Value": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<contact_update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Org">
  <address1>sample string 1</address1>
  <alternate_phone_number>sample string 2</alternate_phone_number>
  <brand_id>12</brand_id>
  <can_see_all_company_tickets>true</can_see_all_company_tickets>
  <city>sample string 3</city>
  <country>sample string 4</country>
  <custom_fields>
    <custom_field>
      <Name>sample string 1</Name>
      <Type>sample string 2</Type>
      <Value>sample string 3</Value>
    </custom_field>
    <custom_field>
      <Name>sample string 1</Name>
      <Type>sample string 2</Type>
      <Value>sample string 3</Value>
    </custom_field>
    <custom_field>
      <Name>sample string 1</Name>
      <Type>sample string 2</Type>
      <Value>sample string 3</Value>
    </custom_field>
  </custom_fields>
  <description>sample string 5</description>
  <email_address>sample string 6</email_address>
  <full_name>sample string 7</full_name>
  <location>sample string 8</location>
  <phone_number>sample string 9</phone_number>
  <postal_code>sample string 10</postal_code>
  <title>sample string 11</title>
</contact_update>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "errors": [],
  "is_valid": true
}

application/xml, text/xml

Sample:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">
  <errors />
  <is_valid>true</is_valid>
</result>