POST api/ProductLine/CustomizeCare

Request Information

URI Parameters

None.

Body Parameters

CareDetailsModel
NameDescriptionTypeAdditional information
ParentEntityKey

string

None.

BranchKey

string

None.

RoomKey

string

None.

ProductLineId

integer

None.

NumberOfDoctors

integer

None.

FeesModel

Collection of BranchFeesModel

None.

PaymentFrequency

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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:
<CareDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models">
  <BranchKey>sample string 2</BranchKey>
  <FeesModel>
    <BranchFeesModel>
      <AllowedPaymentPlans xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </AllowedPaymentPlans>
      <IsPercentage>true</IsPercentage>
      <PaymentAttributeType>sample string 2</PaymentAttributeType>
      <PaymentAttributeTypeId>1</PaymentAttributeTypeId>
      <Value>1</Value>
    </BranchFeesModel>
    <BranchFeesModel>
      <AllowedPaymentPlans xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1: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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.