POST api/Accura/ServiceUpdate
Request Information
URI Parameters
None.
Body Parameters
ServiceUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceID | string |
None. |
|
| catid | integer |
None. |
|
| subcatid | integer |
None. |
|
| ServiceName | string |
None. |
|
| ServiceDuration | string |
None. |
|
| ServicePrice | decimal number |
None. |
|
| ServiceMaterial | string |
None. |
|
| Sn | integer |
None. |
|
| serviceimage | string |
None. |
|
| status | string |
None. |
|
| serviced | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"ServiceID": "sample string 1",
"catid": 2,
"subcatid": 3,
"ServiceName": "sample string 4",
"ServiceDuration": "sample string 5",
"ServicePrice": 6.0,
"ServiceMaterial": "sample string 7",
"Sn": 8,
"serviceimage": "sample string 9",
"status": "sample string 10",
"serviced": "sample string 11"
}
application/xml, text/xml
Sample:
<LoginModels.ServiceUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models"> <ServiceDuration>sample string 5</ServiceDuration> <ServiceID>sample string 1</ServiceID> <ServiceMaterial>sample string 7</ServiceMaterial> <ServiceName>sample string 4</ServiceName> <ServicePrice>6</ServicePrice> <Sn>8</Sn> <catid>2</catid> <serviced>sample string 11</serviced> <serviceimage>sample string 9</serviceimage> <status>sample string 10</status> <subcatid>3</subcatid> </LoginModels.ServiceUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.