Table of Contents

Function

The CertificateContactUpdate task allows you to update the information in an existing contact.

Description

Route: PUT /sslcontact/{id}

Request
{
   "fname": "John",
   "lname": "Doe",
   "phone": "+1-123-54321",
   "fax": "+1-123-505050",
   "email": "J.doe@example.com",
   "title": "Dr.",
   "organization": "Example company",
   "address": [
      "address"
   ],
   "pcode": "12345",
   "city": "example city",
   "country": "DE",
   "state": "BY"
}{
   "stid": "20190702-app3-dev-9443",
   "status": {
      "code": "S400202",
      "text": "Contact was updated successfully.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "SslContact",
      "value": "2058"
   }
}

Task number: 400202
Uses Object SSLContact object

Request
<request>
    <auth>
        <user>USER</user>
        <password>PASSWORD</password>
        <context>CONTEXT</context>
    </auth>
    <task>
        <contact>
            <title>Admin</title>
            <organization>Organization</organization>
            <address>123 example street</address>
            <postal_code>12345</postal_code>
            <city>Example city</city>
            <country>DE</country>
            <state>BY</state>
            <phone>+1-0-0</phone>
            <fax>+1-0-0</fax>
            <email>john.doe@domain.com</email>
        </contact>
        <code>400202</code>
    </task>
</request>
Response
<response>
  <result>
    <data />
    <status>
      <code>S400202</code>
      <text>Contact was updated successfully.</text>
      <type>success</type>
      <object>
        <type>contact</type>
        <value>882</value>
      </object>
    </status>
  </result>
</response>