POST v2/tenantmember
Create a new External member in AppNotch. Special permissions are required for this call
Request Information
URI Parameters
None.
Body Parameters
Tenant Member Create Request
TenantMemberCreateRequestName | Type | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
string |
Member's Email address, must be valid format
Additional Info :
Required Matching: (?i)^[a-z0-9._%+-]+@(?:[a-z0-9][a-z0-9-]*\.)+[a-z]{2,}$ |
||||||||||||
Password | string |
Member's password
Additional Info :
Required |
|||||||||||
CreatedBy | integer |
Tags the Admin who created the member.
Additional Info :
Required |
|||||||||||
Name | string |
Member's Name |
|||||||||||
PhoneNumber | string |
Member's Phone number |
Request Formats
{ "email": "sample string 1", "password": "sample string 2", "createdBy": 3, "name": "sample string 4", "phoneNumber": "sample string 5" }
<TenantMemberCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppNotch.Converter.Api.Server.Models"> <CreatedBy>3</CreatedBy> <Email>sample string 1</Email> <Name>sample string 4</Name> <Password>sample string 2</Password> <PhoneNumber>sample string 5</PhoneNumber> </TenantMemberCreateRequest>
Response Information
Resource Description
TenantMemberResponseName | Type | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id | integer |
Id of the External Member |
|||||||||||
Name | string |
Name of the external member |
|||||||||||
string |
Email Address of the external member used also to login to the tenant admin |
||||||||||||
Phone | string |
Phone number that the member used when they register. |
Response Formats
{ "id": 1, "name": "sample string 2", "email": "sample string 3", "phone": "sample string 4" }
<TenantMemberResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppNotch.Converter.Api.Server.Models"> <Email>sample string 3</Email> <Id>1</Id> <Name>sample string 2</Name> <Phone>sample string 4</Phone> </TenantMemberResponse>