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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
user

string

None.

Body Parameters

ResellerPack
NameDescriptionTypeAdditional information
Autorenew

boolean

None.

Protected

boolean

None.

Request 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>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ResellerPack'.

Response Information

Resource Description

ResellerPack
NameDescriptionTypeAdditional information
Autorenew

boolean

None.

Protected

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>