Loading...

Description

Updates a specific attribute item on a contact.


Request URL

PUT   https://api.3seventy.com/api/v2.1/account/{accountId}/contact/{contactId}/attribute/{name}

Request Properties

Parameter Description Mandatory
accountId The account which the contact is owned by Yes
contactId The contact to which the property belongs. Yes
name The name (or attribute definition ID) of the attribute to update. Yes
value The value for the attribute Yes

C#
PHP


using System;
using System.Collections.Generic;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXXX;

const int contactId = XXXXXX;

const string attributeName = "XXXXX";

const string sttributeValue = "XXXX";

var context = new T70Context();

context.PostContactAttributeValue(accountId, contactId, attributeName , sttributeValue);

}

}

 

Stay tuned for JAVA code snippet
Stay tuned for RUBY code snippet
Stay tuned for PHP code snippet