Contact

Contact Object

Contact is a Child object of Customer and Lead.  

End Point

/contact

GET, POST, PUT, DELETE

GET and DELETE requests expect parameter id of type Int32.

Properties

PropertyCaptionData TypeRequired
IdIdInt32False
NameNameString (255)True
SalutationMr./Ms./...String (15)False
FirstNameFirst NameString (50)False
MiddleNameM.IString (50)False
LastNameLast NameString (255)False
EmailEmailString (200)False
PhonePhoneString (50)False
AltPhoneAlt. PhoneString (50)False
FaxFaxString (50)False
PositionPositionString (50)False
NoteNoteString (4000)False
AddressRefAddressEntityRefFalse
IsActiveActiveBooleanFalse
IsPrimaryIs PrimaryBooleanFalse
CustomFieldsCustom FieldsArray of CustomFieldDataFalse

Json Sample

{
    "Id": 111,
    "CustomerRef": {
        "Id": 298,
        "Name": "Sample 10"
    },
    "SalesRepRef": null,
    "IsActive": true,
    "Name": "Ian Benoliel",
    "Salutation": "Mr",
    "FirstName": "Ian",
    "MiddleName": "",
    "LastName": "Benoliel",
    "Email": "ianb@numbercruncher.com",
    "Phone": "(954) 302-6811",
    "AltPhone": "",
    "Fax": "",
    "Note": "",
    "AddressRef": {
        "Id": 1,
        "Name": "Primary"
    },  
    "IsPrimary": false,
    "CustomFields": [
        {
            "Name": "ConCust1",
            "Value": "1963-11-19T00:00:00",
            "Caption": "Birth Date"
        },
        {
            "Name": "ConCust2",
            "Value": "@ian",
            "Caption": "Twitter"
        }
    ],
    "Position": "CEO"
}