POST api/JobCard/Create_JobCard
Request Information
URI Parameters
None.
Body Parameters
ClsJobCard_Submit| Name | Description | Type | Additional information |
|---|---|---|---|
| Service_RequestID | integer |
None. |
|
| CustomerID | integer |
None. |
|
| VehicleID | integer |
None. |
|
| ServiceTypeID | integer |
None. |
|
| ServiceAdvisor | string |
None. |
|
| KmReading | integer |
None. |
|
| BatteryVoltage | string |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Service_RequestID": 1,
"CustomerID": 2,
"VehicleID": 3,
"ServiceTypeID": 4,
"ServiceAdvisor": "sample string 5",
"KmReading": 6,
"BatteryVoltage": "sample string 7",
"Notes": "sample string 8"
}
application/xml, text/xml
Sample:
<ClsJobCard_Submit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apna_Wala_Garage_API.Models"> <BatteryVoltage>sample string 7</BatteryVoltage> <CustomerID>2</CustomerID> <KmReading>6</KmReading> <Notes>sample string 8</Notes> <ServiceAdvisor>sample string 5</ServiceAdvisor> <ServiceTypeID>4</ServiceTypeID> <Service_RequestID>1</Service_RequestID> <VehicleID>3</VehicleID> </ClsJobCard_Submit>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |