Back to Contact Person

POST Method Details for ValidateNewContact.

Validate new contact

Definition

https://app[x].timelog.com/[account name]/api/v{version}/contact/validate-new-contact

Parameters

  • contact object Validate contact information
    • Address string Gets or sets the customer address
    • Address2 string Gets or sets the customer address
    • Address3 string Gets or sets the customer address
    • Birthday string Gets or sets the Birthday
    • City string Gets or sets the customer address city
    • Comment string Gets or sets the mobile phone number
    • CountryID integer Gets or sets the customer address country
    • CustomerID integer Gets or sets the Customer ID
    • Department string Gets or sets the Department
    • Email string Gets or sets the email
    • Fax string Gets or sets the fax number
    • FirstName string Gets or sets the Name
    • Initials string Gets or sets the initials
    • JobTitle string Gets or sets the job title
    • LastName string Gets or sets the Last Name
    • Mobile string Gets or sets the mobile phone number
    • OwnerID integer Gets or sets the owner ID
    • Phone string Gets or sets the phone number
    • PrivatePhone string Gets or sets the private phone number
    • ProfessionalTitle1 string Gets or sets the Professional Title1
    • ProfessionalTitle2 string Gets or sets the ProfessionalTitle2
    • Salutation string Gets or sets the Salutation
    • State string Gets or sets the customer address state
    • ZipCode string Gets or sets the customer address zip code
    {
      "Address": "",
      "Address2": "",
      "Address3": "",
      "Birthday": "2025-02-23T00:00:00+00:00",
      "City": "",
      "Comment": "",
      "CountryID": 0,
      "CustomerID": 0,
      "Department": "",
      "Email": "",
      "Fax": "",
      "FirstName": "",
      "Initials": "",
      "JobTitle": "",
      "LastName": "",
      "Mobile": "",
      "OwnerID": 0,
      "Phone": "",
      "PrivatePhone": "",
      "ProfessionalTitle1": "",
      "ProfessionalTitle2": "",
      "Salutation": "",
      "State": "",
      "ZipCode": ""
    }
  • version string The requested API version

Returns

  • [200] OK
    • Address string Gets or sets the customer address
    • Address2 string Gets or sets the customer address
    • Address3 string Gets or sets the customer address
    • Birthday string Gets or sets the Birthday
    • City string Gets or sets the customer address city
    • Comment string Gets or sets the mobile phone number
    • CountryID integer Gets or sets the customer address country
    • CustomerID integer Gets or sets the Customer ID
    • Department string Gets or sets the Department
    • Email string Gets or sets the email
    • Fax string Gets or sets the fax number
    • FirstName string Gets or sets the Name
    • Initials string Gets or sets the initials
    • JobTitle string Gets or sets the job title
    • LastName string Gets or sets the Last Name
    • Mobile string Gets or sets the mobile phone number
    • OwnerID integer Gets or sets the owner ID
    • Phone string Gets or sets the phone number
    • PrivatePhone string Gets or sets the private phone number
    • ProfessionalTitle1 string Gets or sets the Professional Title1
    • ProfessionalTitle2 string Gets or sets the ProfessionalTitle2
    • Salutation string Gets or sets the Salutation
    • State string Gets or sets the customer address state
    • ZipCode string Gets or sets the customer address zip code
    {
      "Address": "",
      "Address2": "",
      "Address3": "",
      "Birthday": "2025-02-23T00:00:00+00:00",
      "City": "",
      "Comment": "",
      "CountryID": 0,
      "CustomerID": 0,
      "Department": "",
      "Email": "",
      "Fax": "",
      "FirstName": "",
      "Initials": "",
      "JobTitle": "",
      "LastName": "",
      "Mobile": "",
      "OwnerID": 0,
      "Phone": "",
      "PrivatePhone": "",
      "ProfessionalTitle1": "",
      "ProfessionalTitle2": "",
      "Salutation": "",
      "State": "",
      "ZipCode": ""
    }
  • [401] Invalid authentication token
  • [500] Contact could not be validated
    • Code integer Gets the code.
    • Details array Gets the details.
    • DeveloperNote object
    • Message string Gets the message.
    • Parameters string Gets the parameters.
    • Url string Gets the URL.
    {
      "Code": 0,
      "Details": "",
      "Message": "",
      "Parameters": "",
      "Url": ""
    }