POST AssociateDomainUsers

Request Information

URI Parameters

None.

Body Parameters

UserDomainAssoc
NameDescriptionTypeAdditional information
Id

integer

None.

DomainId

integer

None.

AssociatedUsers

Collection of UserInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DomainId": 2,
  "AssociatedUsers": [
    {
      "FirstName": "sample string 1",
      "MiddleName": "sample string 2",
      "LastName": "sample string 3",
      "Phone": "sample string 4",
      "CompanyAddress": "sample string 5",
      "Country": "sample string 6",
      "RoleId": 7,
      "RoleCode": "sample string 8",
      "Role": "sample string 9",
      "Id": 10,
      "Email": "sample string 11",
      "LicenseKey": "sample string 12",
      "Password": "sample string 13"
    },
    {
      "FirstName": "sample string 1",
      "MiddleName": "sample string 2",
      "LastName": "sample string 3",
      "Phone": "sample string 4",
      "CompanyAddress": "sample string 5",
      "Country": "sample string 6",
      "RoleId": 7,
      "RoleCode": "sample string 8",
      "Role": "sample string 9",
      "Id": 10,
      "Email": "sample string 11",
      "LicenseKey": "sample string 12",
      "Password": "sample string 13"
    }
  ]
}

application/xml, text/xml

Sample:
<UserDomainAssoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <AssociatedUsers>
    <UserInfo>
      <Email>sample string 11</Email>
      <Id>10</Id>
      <LicenseKey>sample string 12</LicenseKey>
      <Password>sample string 13</Password>
      <CompanyAddress>sample string 5</CompanyAddress>
      <Country>sample string 6</Country>
      <FirstName>sample string 1</FirstName>
      <LastName>sample string 3</LastName>
      <MiddleName>sample string 2</MiddleName>
      <Phone>sample string 4</Phone>
      <Role>sample string 9</Role>
      <RoleCode>sample string 8</RoleCode>
      <RoleId>7</RoleId>
    </UserInfo>
    <UserInfo>
      <Email>sample string 11</Email>
      <Id>10</Id>
      <LicenseKey>sample string 12</LicenseKey>
      <Password>sample string 13</Password>
      <CompanyAddress>sample string 5</CompanyAddress>
      <Country>sample string 6</Country>
      <FirstName>sample string 1</FirstName>
      <LastName>sample string 3</LastName>
      <MiddleName>sample string 2</MiddleName>
      <Phone>sample string 4</Phone>
      <Role>sample string 9</Role>
      <RoleCode>sample string 8</RoleCode>
      <RoleId>7</RoleId>
    </UserInfo>
  </AssociatedUsers>
  <DomainId>2</DomainId>
  <Id>1</Id>
</UserDomainAssoc>

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 'UserDomainAssoc'.

Response Information

Resource Description

ValidateResponse
NameDescriptionTypeAdditional information
IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IsValid": true
}

application/xml, text/xml

Sample:
<ValidateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <IsValid>true</IsValid>
</ValidateResponse>