POST api/account/invite
Request Information
URI Parameters
None.
Body Parameters
AccountInviteName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
FirstName | string |
None. |
|
Lastname | string |
None. |
|
OptionalParams | Object |
None. |
|
SendInvite | boolean |
None. |
|
UserType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "FirstName": "sample string 2", "Lastname": "sample string 3", "OptionalParams": {}, "SendInvite": true, "UserType": "sample string 6" }
application/xml, text/xml
Sample:
<AccountInvite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models"> <Email>sample string 1</Email> <FirstName>sample string 2</FirstName> <Lastname>sample string 3</Lastname> <OptionalParams /> <SendInvite>true</SendInvite> <UserType>sample string 6</UserType> </AccountInvite>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AccountInviteResponseName | Description | Type | Additional information |
---|---|---|---|
AccountExists | boolean |
None. |
|
InviteSent | boolean |
None. |
|
Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "AccountExists": true, "InviteSent": true, "Error": "sample string 3" }
application/xml, text/xml
Sample:
<AccountInviteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WisspNetApi.Models"> <AccountExists>true</AccountExists> <Error>sample string 3</Error> <InviteSent>true</InviteSent> </AccountInviteResponse>