POST api/srs/domain/restore
Restores a domain to a specific registry.
Request Information
URI Parameters
None.
Body Parameters
SrsDomainRestoreParams| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainName | string |
Required |
|
| RegistryId | string |
Required |
|
| CurrExpDate | date |
Required |
Request Formats
application/json, text/json
Sample:
{
"DomainName": "sample string 1",
"RegistryId": "sample string 2",
"CurrExpDate": "2025-12-12T19:19:45.7408235+01:00"
}
application/xml, text/xml
Sample:
<SrsDomainRestoreParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.SrsParams"> <CurrExpDate>2025-12-12T19:19:45.7408235+01:00</CurrExpDate> <DomainName>sample string 1</DomainName> <RegistryId>sample string 2</RegistryId> </SrsDomainRestoreParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SrsRestResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| XmlStatusCode |
The legacy status codes as found in Interface.cs |
integer |
None. |
| Values |
Additional values |
Collection of string |
None. |
| ResponseData |
The response data of a successful SRS call |
Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"XmlStatusCode": 1,
"Values": [
"sample string 1",
"sample string 2"
],
"ResponseData": null
}
application/xml
Sample:
text/xml
Sample: