POST API/Hosp_Doctor_RevenueVariableCost/Save

Request Information

URI Parameters

None.

Body Parameters

Hosp_DocVariablecosts
NameDescriptionTypeAdditional information
Id

integer

None.

Variablecostname

string

None.

selected

boolean

None.

Costs

Collection of Hosp_DocSaveVariablecosts

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Variablecostname": "sample string 2",
  "selected": true,
  "Costs": [
    {
      "Variablecostname": "sample string 1",
      "Variablecostid": 2,
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Hosp_DocId": 5,
      "EntryDate": "sample string 6",
      "Amount": 7.0,
      "Remarks": "sample string 8",
      "UserId": 9
    },
    {
      "Variablecostname": "sample string 1",
      "Variablecostid": 2,
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Hosp_DocId": 5,
      "EntryDate": "sample string 6",
      "Amount": 7.0,
      "Remarks": "sample string 8",
      "UserId": 9
    }
  ]
}

application/xml, text/xml

Sample:
<Hosp_DocVariablecosts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobidentAPI.Models">
  <Costs>
    <Hosp_DocSaveVariablecosts>
      <Amount>7</Amount>
      <EntryDate>sample string 6</EntryDate>
      <Hosp_DocId>5</Hosp_DocId>
      <Name>sample string 3</Name>
      <Remarks>sample string 8</Remarks>
      <Type>sample string 4</Type>
      <UserId>9</UserId>
      <Variablecostid>2</Variablecostid>
      <Variablecostname>sample string 1</Variablecostname>
    </Hosp_DocSaveVariablecosts>
    <Hosp_DocSaveVariablecosts>
      <Amount>7</Amount>
      <EntryDate>sample string 6</EntryDate>
      <Hosp_DocId>5</Hosp_DocId>
      <Name>sample string 3</Name>
      <Remarks>sample string 8</Remarks>
      <Type>sample string 4</Type>
      <UserId>9</UserId>
      <Variablecostid>2</Variablecostid>
      <Variablecostname>sample string 1</Variablecostname>
    </Hosp_DocSaveVariablecosts>
  </Costs>
  <Id>1</Id>
  <Variablecostname>sample string 2</Variablecostname>
  <selected>true</selected>
</Hosp_DocVariablecosts>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.