POST api/Account/LinkAccounts
Request Information
URI Parameters
None.
Body Parameters
AccountLinkingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LinkedAccounts | Collection of LinkAccountsModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"LinkedAccounts": [
{
"AccountKey": "sample string 1",
"RoomKey": "sample string 2",
"ProductLineIds": [
1,
2
],
"SpecialityGroupId": 3,
"BranchKey": "sample string 4",
"AreaId": 1,
"BookingTypeId": 1,
"EntityKey": "sample string 5",
"ClinicKey": "sample string 6"
},
{
"AccountKey": "sample string 1",
"RoomKey": "sample string 2",
"ProductLineIds": [
1,
2
],
"SpecialityGroupId": 3,
"BranchKey": "sample string 4",
"AreaId": 1,
"BookingTypeId": 1,
"EntityKey": "sample string 5",
"ClinicKey": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<AccountLinkingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VDoctorsApp.Models">
<LinkedAccounts>
<LinkAccountsModel>
<AccountKey>sample string 1</AccountKey>
<AreaId>1</AreaId>
<BookingTypeId>1</BookingTypeId>
<BranchKey>sample string 4</BranchKey>
<ClinicKey>sample string 6</ClinicKey>
<EntityKey>sample string 5</EntityKey>
<ProductLineIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:long>1</d4p1:long>
<d4p1:long>2</d4p1:long>
</ProductLineIds>
<RoomKey>sample string 2</RoomKey>
<SpecialityGroupId>3</SpecialityGroupId>
</LinkAccountsModel>
<LinkAccountsModel>
<AccountKey>sample string 1</AccountKey>
<AreaId>1</AreaId>
<BookingTypeId>1</BookingTypeId>
<BranchKey>sample string 4</BranchKey>
<ClinicKey>sample string 6</ClinicKey>
<EntityKey>sample string 5</EntityKey>
<ProductLineIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:long>1</d4p1:long>
<d4p1:long>2</d4p1:long>
</ProductLineIds>
<RoomKey>sample string 2</RoomKey>
<SpecialityGroupId>3</SpecialityGroupId>
</LinkAccountsModel>
</LinkedAccounts>
</AccountLinkingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |