POST api/ServiceCost/SaveServiceCost
Request Information
URI Parameters
None.
Body Parameters
Collection of SaveSeviceCostName | Description | Type | Additional information |
---|---|---|---|
ServiceCostId | integer |
None. |
|
ServiceCostName | string |
None. |
|
TypeId | integer |
None. |
|
Amount | integer |
None. |
|
IsPaid | boolean |
None. |
|
Remark | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "serviceCostId": 1, "serviceCostName": "sample string 2", "typeId": 3, "amount": 4, "isPaid": true, "remark": "sample string 6" }, { "serviceCostId": 1, "serviceCostName": "sample string 2", "typeId": 3, "amount": 4, "isPaid": true, "remark": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfSaveSeviceCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityViewModels"> <SaveSeviceCost> <Amount>4</Amount> <IsPaid>true</IsPaid> <Remark>sample string 6</Remark> <ServiceCostId>1</ServiceCostId> <ServiceCostName>sample string 2</ServiceCostName> <TypeId>3</TypeId> </SaveSeviceCost> <SaveSeviceCost> <Amount>4</Amount> <IsPaid>true</IsPaid> <Remark>sample string 6</Remark> <ServiceCostId>1</ServiceCostId> <ServiceCostName>sample string 2</ServiceCostName> <TypeId>3</TypeId> </SaveSeviceCost> </ArrayOfSaveSeviceCost>
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.