POST api/Invitation/LinkUsers
Request Information
URI Parameters
None.
Body Parameters
LinkUsersModelName | Description | Type | Additional information |
---|---|---|---|
AccountRoleEntities | Collection of AccountRoleEntityModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountRoleEntities": [ { "AccountKey": "sample string 1", "RoleEntities": [ { "RoleId": 1, "EntityKeys": [ "sample string 1", "sample string 2" ], "Fees": 1.0, "BranchKey": "sample string 2" }, { "RoleId": 1, "EntityKeys": [ "sample string 1", "sample string 2" ], "Fees": 1.0, "BranchKey": "sample string 2" } ], "SpecialityGroupId": 2 }, { "AccountKey": "sample string 1", "RoleEntities": [ { "RoleId": 1, "EntityKeys": [ "sample string 1", "sample string 2" ], "Fees": 1.0, "BranchKey": "sample string 2" }, { "RoleId": 1, "EntityKeys": [ "sample string 1", "sample string 2" ], "Fees": 1.0, "BranchKey": "sample string 2" } ], "SpecialityGroupId": 2 } ] }
application/xml, text/xml
Sample:
<LinkUsersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models"> <AccountRoleEntities> <AccountRoleEntityModel> <AccountKey>sample string 1</AccountKey> <RoleEntities> <RoleEntityModel> <BranchKey>sample string 2</BranchKey> <EntityKeys xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </EntityKeys> <Fees>1</Fees> <RoleId>1</RoleId> </RoleEntityModel> <RoleEntityModel> <BranchKey>sample string 2</BranchKey> <EntityKeys xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </EntityKeys> <Fees>1</Fees> <RoleId>1</RoleId> </RoleEntityModel> </RoleEntities> <SpecialityGroupId>2</SpecialityGroupId> </AccountRoleEntityModel> <AccountRoleEntityModel> <AccountKey>sample string 1</AccountKey> <RoleEntities> <RoleEntityModel> <BranchKey>sample string 2</BranchKey> <EntityKeys xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </EntityKeys> <Fees>1</Fees> <RoleId>1</RoleId> </RoleEntityModel> <RoleEntityModel> <BranchKey>sample string 2</BranchKey> <EntityKeys xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </EntityKeys> <Fees>1</Fees> <RoleId>1</RoleId> </RoleEntityModel> </RoleEntities> <SpecialityGroupId>2</SpecialityGroupId> </AccountRoleEntityModel> </AccountRoleEntities> </LinkUsersModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |