POST purchase/register
Requests the purchase of a domain registration.
Request Information
URI Parameters
None.
Body Parameters
A purchase request.
DomainPurchaseRequestName | Description | Type | Additional information |
---|---|---|---|
DomainName | string |
None. |
|
Years | integer |
None. |
|
CategoryId | integer |
None. |
|
CategoryName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DomainName": "example.com", "Years": 2, "CategoryId": 0, "CategoryName": "My Category" }
application/x-www-form-urlencoded
Sample:
DomainName=example.com&Years=2&CategoryId=0&CategoryName=My+Category
Response Information
Resource Description
A response containing order tracking information.
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "OrderId": 1209334, "TotalPrice": 16.06, "OrderItems": [ { "OrderItemId": 234231, "OrderId": 1209334, "ProductText": "example.com", "TotalPrice": 16.06 } ] }