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
],
"ScheduleKey": "sample string 3",
"BranchKey": "sample string 4"
},
{
"AccountKey": "sample string 1",
"RoomKey": "sample string 2",
"ProductLineIds": [
1,
2
],
"ScheduleKey": "sample string 3",
"BranchKey": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<AccountLinkingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDoctorsApp.Models">
<LinkedAccounts>
<LinkAccountsModel>
<AccountKey>sample string 1</AccountKey>
<BranchKey>sample string 4</BranchKey>
<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>
<ScheduleKey>sample string 3</ScheduleKey>
</LinkAccountsModel>
<LinkAccountsModel>
<AccountKey>sample string 1</AccountKey>
<BranchKey>sample string 4</BranchKey>
<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>
<ScheduleKey>sample string 3</ScheduleKey>
</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. |