Table of Contents

Function

The CertificateContactInfo task displays the information contained in an existing contact.

Description

Route: GET /sslcontact/{id}
There is no need to send a body.

Request
GET /sslcontact/{2058}
{
}
Response
{
   "stid": "20190702-app3-dev-9412",
   "status": {
      "code": "S400204",
      "text": "Contact was inquired successfully.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "SslContact",
      "value": "2058"
   },
   "data": [
      {
         "created": "2019-07-02T13:12:58.000+0200",
         "updated": "2019-07-02T13:12:58.000+0200",
         "fname": "John",
         "lname": "Doe",
         "phone": "+49-123-12345",
         "fax": "+49-123-12345",
         "email": "john.doe@example.com",
         "title": "Dr.",
         "organization": "example company",
         "address": [
            "address"
         ],
         "pcode": "12345",
         "city": "example city",
         "country": "DE",
         "state": "BY",
         "owner": {
            "context": 9,
            "user": "customer"
         },
         "updater": {
            "context": 9,
            "user": "customer"
         },
         "id": 2058
      }
   ]
}

Task number: 400204
Uses SSLContact object

Request
<request>
    <auth>
        <user>USER</user>
        <password>PASSWORD</password>
        <context>CONTEXT</context>
    </auth>
    <task>
        <code>400204</code>
        <contact>
            <id>100</id>
        </contact>
    </task>
</request>
Response
<response>
    <result>
        <data>
            <contact>
                <first>John</first>
                <last>Doe</last>
                <phone>+49-0-0</phone>
                <fax>+49-0-0</fax>
                <email>john.doe@domain.com</email>
                <title>Admin</title>
                <organization>Organization</organization>
                <address>123 example street</address>
                <postal_code>12345</postal_code>
                <city>Examplecity</city>
                <country>DE</country>
                <state>BY</state>
                <owner>
                    <user>USER</user>
                    <context>CONTEXT</context>
                </owner>
                <updater>
                    <user>USER</user>
                    <context>CONTEXT</context>
                </updater>
                <id>882</id>
                <created>2017-01-02 09:00:00</created>
                <updated>2017-01-02 09:00:00</updated>
            </contact>
        </data>
        <status>
            <code>S400204</code>
            <text>Contact was inquired successfully.</text>
            <type>success</type>
            <object>
                <type>contact</type>
                <value>100</value>
            </object>
        </status>
    </result>
</response>