POST api/Company/InviteCompanyUser

Request Information

URI Parameters

None.

Body Parameters

InviteCompanyUserModel
NameDescriptionTypeAdditional information
CompanyId

integer

None.

MemberCompanyId

integer

None.

NameFrom

string

None.

FromUserEmail

string

None.

ToUserEmail

string

None.

Subject

string

None.

ShortName

string

None.

aParentURL

string

None.

aLoginURL

string

None.

aSignupURL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "MemberCompanyId": 2,
  "NameFrom": "sample string 3",
  "FromUserEmail": "sample string 4",
  "ToUserEmail": "sample string 5",
  "Subject": "sample string 6",
  "ShortName": "sample string 7",
  "aParentURL": "sample string 8",
  "aLoginURL": "sample string 9",
  "aSignupURL": "sample string 10"
}

application/xml, text/xml

Sample:
<InviteCompanyUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DH_Common.Models">
  <CompanyId>1</CompanyId>
  <FromUserEmail>sample string 4</FromUserEmail>
  <MemberCompanyId>2</MemberCompanyId>
  <NameFrom>sample string 3</NameFrom>
  <ShortName>sample string 7</ShortName>
  <Subject>sample string 6</Subject>
  <ToUserEmail>sample string 5</ToUserEmail>
  <aLoginURL>sample string 9</aLoginURL>
  <aParentURL>sample string 8</aParentURL>
  <aSignupURL>sample string 10</aSignupURL>
</InviteCompanyUserModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StandardReturn
NameDescriptionTypeAdditional information
APIStatus

integer

None.

APIErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "APIStatus": 1,
  "APIErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<StandardReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DH_Common.Mgt.Core.Dto">
  <APIErrorMessage>sample string 2</APIErrorMessage>
  <APIStatus>1</APIStatus>
</StandardReturn>