POST api/Domain/Refresh/{id}
Refreshes the whois and SSL information for a domain
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of the domain |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Deletes a domain
DomainResponseName | Description | Type | Additional information |
---|---|---|---|
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
Sample:
{ "Id": 1, "Url": "sample string 2", "Registrar": "sample string 3", "RegistrationDate": "2024-11-04T08:41:42.6947751+00:00", "ExpirationDate": "2024-11-04T08:41:42.6947751+00:00", "SSL": true, "SSLExpirationDate": "2024-11-04T08:41:42.6947751+00:00", "UserId": 5, "Pending": true, "PendingSSLDetails": true, "SSLVersion": 1 }
application/xml, text/xml
Sample:
<DomainResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expirify.Api.Models.Domain"> <ExpirationDate>2024-11-04T08:41:42.6947751+00:00</ExpirationDate> <Id>1</Id> <Pending>true</Pending> <PendingSSLDetails>true</PendingSSLDetails> <Registrar>sample string 3</Registrar> <RegistrationDate>2024-11-04T08:41:42.6947751+00:00</RegistrationDate> <SSL>true</SSL> <SSLExpirationDate>2024-11-04T08:41:42.6947751+00:00</SSLExpirationDate> <SSLVersion>1</SSLVersion> <Url>sample string 2</Url> <UserId>5</UserId> </DomainResponse>