POST api/Ambulance/SaveVehicleMaster
Request Information
URI Parameters
None.
Body Parameters
VehicleMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AmbCatagoryId | integer |
None. |
|
| VehicleName | string |
None. |
|
| LicenseNo | string |
None. |
|
| RatePerKm | decimal number |
None. |
|
| BaseAmount | decimal number |
None. |
|
| ServicecodeTobeCharge | integer |
None. |
|
| xmlFeature | string |
None. |
|
| StatusId | boolean |
None. |
|
| UserId | integer |
None. |
|
| StatusValue | string |
None. |
|
| Encodeddate | string |
None. |
|
| HospitalId | integer |
None. |
|
| FacilityId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"AmbCatagoryId": 2,
"VehicleName": "sample string 3",
"LicenseNo": "sample string 4",
"RatePerKm": 5.1,
"BaseAmount": 6.1,
"ServicecodeTobeCharge": 7,
"xmlFeature": "sample string 8",
"StatusId": true,
"UserId": 10,
"StatusValue": "sample string 11",
"Encodeddate": "sample string 12",
"HospitalId": 13,
"FacilityId": 14
}
application/xml, text/xml
Sample:
<VehicleMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eAmbulanceAPI.Models"> <FacilityId>14</FacilityId> <HospitalId>13</HospitalId> <AmbCatagoryId>2</AmbCatagoryId> <BaseAmount>6.1</BaseAmount> <Encodeddate>sample string 12</Encodeddate> <Id>1</Id> <LicenseNo>sample string 4</LicenseNo> <RatePerKm>5.1</RatePerKm> <ServicecodeTobeCharge>7</ServicecodeTobeCharge> <StatusId>true</StatusId> <StatusValue>sample string 11</StatusValue> <UserId>10</UserId> <VehicleName>sample string 3</VehicleName> <xmlFeature>sample string 8</xmlFeature> </VehicleMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.