POST api/srs/domain/renew
Renews a domain to a specific registry.
Request Information
URI Parameters
None.
Body Parameters
SrsDomainRenewParamsName | Description | Type | Additional information |
---|---|---|---|
DomainName | string |
Required |
|
RegistryId | string |
Required |
|
Period | integer |
Required |
|
CurrExpDate | date |
Required |
Request Formats
application/json, text/json
Sample:
{ "DomainName": "sample string 1", "RegistryId": "sample string 2", "Period": 3, "CurrExpDate": "2025-09-13T19:12:41.7115682+02:00" }
application/xml, text/xml
Sample:
<SrsDomainRenewParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.SrsParams"> <CurrExpDate>2025-09-13T19:12:41.7115682+02:00</CurrExpDate> <DomainName>sample string 1</DomainName> <Period>3</Period> <RegistryId>sample string 2</RegistryId> </SrsDomainRenewParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SrsRestResponseName | 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: