GET api/Domain/GetWithContacts/{id}
Retrieves a single domain and all contacts that are assigned to be notified about it's expiry dates
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The Id of the domain |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the domain and the list of users assigned to be notified about that domain
DomainWithContactsResponseName | Description | Type | Additional information |
---|---|---|---|
UpdateContactReminders |
A flag to indicate if the contacts who are notified about this domain should be updated |
boolean |
None. |
SelectedContactIds |
A list of contact ids to notify about this domain |
Collection of integer |
None. |
Id |
Id of the Domain |
integer |
None. |
Url |
Url address of the domain |
string |
Required |
Registrar |
The name of the company the domain is registered with. |
string |
None. |
RegistrationDate |
Registration date of the domain |
date |
None. |
ExpirationDate |
Expiration date of the domain |
date |
None. |
SSL |
Whether the domain has a valid SSL certifacte or not |
boolean |
None. |
SSLExpirationDate |
Expiration date of the domain's SSL certificate |
date |
None. |
UserId |
Id of the User |
integer |
Required |
Pending |
Whether the information of the domain is pending |
boolean |
None. |
PendingSSLDetails |
Whether the SSl details of the domain are pending |
boolean |
None. |
SSLVersion |
The SSL certificate version if this domain has an SSL cert |
integer |
None. |
Response Formats
application/json, text/json
{ "UpdateContactReminders": true, "SelectedContactIds": [ 1, 2 ], "Id": 2, "Url": "sample string 3", "Registrar": "sample string 4", "RegistrationDate": "2024-11-02T14:32:52.8572056+00:00", "ExpirationDate": "2024-11-02T14:32:52.8572056+00:00", "SSL": true, "SSLExpirationDate": "2024-11-02T14:32:52.8572056+00:00", "UserId": 6, "Pending": true, "PendingSSLDetails": true, "SSLVersion": 1 }
application/xml, text/xml
<DomainWithContactsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expirify.Api.Models.Domain"> <ExpirationDate>2024-11-02T14:32:52.8572056+00:00</ExpirationDate> <Id>2</Id> <Pending>true</Pending> <PendingSSLDetails>true</PendingSSLDetails> <Registrar>sample string 4</Registrar> <RegistrationDate>2024-11-02T14:32:52.8572056+00:00</RegistrationDate> <SSL>true</SSL> <SSLExpirationDate>2024-11-02T14:32:52.8572056+00:00</SSLExpirationDate> <SSLVersion>1</SSLVersion> <Url>sample string 3</Url> <UserId>6</UserId> <SelectedContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SelectedContactIds> <UpdateContactReminders>true</UpdateContactReminders> </DomainWithContactsResponse>