POST api/ProductLine/CustomizeEngage
Request Information
URI Parameters
None.
Body Parameters
EngageDetailsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AddDefaultBranchAndRoom | boolean |
None. |
|
| ProductLineId | integer |
None. |
|
| CareDetailsModel | CareDetailsModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"AddDefaultBranchAndRoom": true,
"ProductLineId": 2,
"CareDetailsModel": {
"ParentEntityKey": "sample string 1",
"BranchKey": "sample string 2",
"RoomKey": "sample string 3",
"ProductLineId": 4,
"NumberOfDoctors": 5,
"FeesModel": [
{
"Value": 1.0,
"IsPercentage": true,
"PaymentAttributeTypeId": 1,
"PaymentAttributeType": "sample string 2",
"AllowedPaymentPlans": [
"sample string 1",
"sample string 2"
]
},
{
"Value": 1.0,
"IsPercentage": true,
"PaymentAttributeTypeId": 1,
"PaymentAttributeType": "sample string 2",
"AllowedPaymentPlans": [
"sample string 1",
"sample string 2"
]
}
],
"PaymentFrequency": 1
}
}
application/xml, text/xml
Sample:
<EngageDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models">
<AddDefaultBranchAndRoom>true</AddDefaultBranchAndRoom>
<CareDetailsModel>
<BranchKey>sample string 2</BranchKey>
<FeesModel>
<BranchFeesModel>
<AllowedPaymentPlans xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>sample string 1</d5p1:string>
<d5p1:string>sample string 2</d5p1:string>
</AllowedPaymentPlans>
<IsPercentage>true</IsPercentage>
<PaymentAttributeType>sample string 2</PaymentAttributeType>
<PaymentAttributeTypeId>1</PaymentAttributeTypeId>
<Value>1</Value>
</BranchFeesModel>
<BranchFeesModel>
<AllowedPaymentPlans xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>sample string 1</d5p1:string>
<d5p1:string>sample string 2</d5p1:string>
</AllowedPaymentPlans>
<IsPercentage>true</IsPercentage>
<PaymentAttributeType>sample string 2</PaymentAttributeType>
<PaymentAttributeTypeId>1</PaymentAttributeTypeId>
<Value>1</Value>
</BranchFeesModel>
</FeesModel>
<NumberOfDoctors>5</NumberOfDoctors>
<ParentEntityKey>sample string 1</ParentEntityKey>
<PaymentFrequency>1</PaymentFrequency>
<ProductLineId>4</ProductLineId>
<RoomKey>sample string 3</RoomKey>
</CareDetailsModel>
<ProductLineId>2</ProductLineId>
</EngageDetailsModel>
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. |