POST api/CustomDomain/AddRemoveCutomDomainFromSubAccount

Request Information

URI Parameters

None.

Body Parameters

AddRemoveCustomDomainFromSubAccountRequestVM
NameDescriptionTypeAdditional information
CustomDomainId

string

Required

UserId

string

Required

SubAccountIds

Collection of string

Required

IsAdd

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomDomainId": "sample string 1",
  "UserId": "sample string 2",
  "SubAccountIds": [
    "sample string 1",
    "sample string 2"
  ],
  "IsAdd": true
}

application/xml, text/xml

Sample:
<AddRemoveCustomDomainFromSubAccountRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CustomDomainRequestModels">
  <CustomDomainId>sample string 1</CustomDomainId>
  <IsAdd>true</IsAdd>
  <SubAccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SubAccountIds>
  <UserId>sample string 2</UserId>
</AddRemoveCustomDomainFromSubAccountRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.