POST SaveServiceCostAPI?databaseKey={databaseKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
databaseKey

string

Required

Body Parameters

SaveServiceCost_BO
NameDescriptionTypeAdditional information
ServiceId

string

None.

Date

date

None.

Charges

string

None.

Amount

decimal number

None.

Servicetype

string

None.

Number

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceId": "sample string 1",
  "Date": "2025-12-06T09:31:43.5668124+05:30",
  "Charges": "sample string 3",
  "Amount": 4.0,
  "Servicetype": "sample string 5",
  "Number": "sample string 6"
}

application/xml, text/xml

Sample:
<SaveServiceCost_BO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rx2025_Api.Controllers">
  <Amount>4</Amount>
  <Charges>sample string 3</Charges>
  <Date>2025-12-06T09:31:43.5668124+05:30</Date>
  <Number>sample string 6</Number>
  <ServiceId>sample string 1</ServiceId>
  <Servicetype>sample string 5</Servicetype>
</SaveServiceCost_BO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveServiceCost_BO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.