GET api/Contact/Pack?user={user}

Get the details of a reseller pack

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

ResellerPack
NameDescriptionTypeAdditional information
Autorenew

New products are set to autorenew by default

boolean

None.

Protected

New domains are set to status protected where possible

boolean

None.

MonthlyInvoiceDestMail

Email address for the monthly invoice

string

Matching regular expression pattern: [0-9a-zA-Z_\.-]+@(([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-zA-Z][A-Z0-9a-z-]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,20})

String length: inclusive between 1 and 200

Response Formats

application/json, text/json

Sample:
{
  "Autorenew": true,
  "Protected": true,
  "MonthlyInvoiceDestMail": "sample string 1"
}

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>
  <MonthlyInvoiceDestMail>sample string 1</MonthlyInvoiceDestMail>
  <Protected>true</Protected>
</ResellerPack>