GET api/Contact/Pack?user={user}
Get the details of a reseller pack
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
user |
Optional user handle - if empty logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Pack object on success
Collection of errors on failure
Return codes
200 - ok
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error
Name | Description | Type | Additional information |
---|---|---|---|
Autorenew |
New products are set to autorenew by default |
boolean |
None. |
Protected |
New domains are set to status protected where possible |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Autorenew": true, "Protected": true }
application/xml, text/xml
Sample:
<ResellerPack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Contact"> <Autorenew>true</Autorenew> <Protected>true</Protected> </ResellerPack>