POST api/v1/AddlServiceHeadSave
Request Information
URI Parameters
None.
Body Parameters
ServiceSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | string |
None. |
|
| ID | integer |
None. |
|
| UsedinModelIDs | string |
None. |
|
| CompID | integer |
None. |
|
| ServiceTypeID | integer |
None. |
|
| ServiceName | string |
None. |
|
| HSNCode | string |
None. |
|
| GSTPer | decimal number |
None. |
|
| ServiceCost | decimal number |
None. |
|
| DealerMargin | decimal number |
None. |
|
| StaffInc | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": "sample string 1",
"ID": 2,
"UsedinModelIDs": "sample string 3",
"CompID": 4,
"ServiceTypeID": 5,
"ServiceName": "sample string 6",
"HSNCode": "sample string 7",
"GSTPer": 8.0,
"ServiceCost": 9.0,
"DealerMargin": 10.0,
"StaffInc": 11.0
}
application/xml, text/xml
Sample:
<ServiceSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <CompID>4</CompID> <DealerMargin>10</DealerMargin> <GSTPer>8</GSTPer> <HSNCode>sample string 7</HSNCode> <ID>2</ID> <Mode>sample string 1</Mode> <ServiceCost>9</ServiceCost> <ServiceName>sample string 6</ServiceName> <ServiceTypeID>5</ServiceTypeID> <StaffInc>11</StaffInc> <UsedinModelIDs>sample string 3</UsedinModelIDs> </ServiceSaveInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |