POST api/Service/UpdateServiceInfo
Request Information
URI Parameters
None.
Body Parameters
Serviceview| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| mecanics | Collection of Mecanic |
None. |
|
| Coutesycars | Collection of Coutesycar |
None. |
|
| serviceclientcarid | integer |
None. |
|
| vinno | string |
None. |
|
| enginenum | string |
None. |
|
| actualmileage | string |
None. |
|
| cvid | integer |
None. |
|
| mechanicid | string |
None. |
|
| coutesycarid | string |
None. |
|
| servicequoteid | integer |
None. |
|
| clientid | integer |
None. |
|
| Jobs | Collection of Job |
None. |
|
| notetype | string |
None. |
|
| licencerenewal | string |
None. |
|
| notedate | string |
None. |
|
| comment | string |
None. |
|
| clientfeedbacktype | string |
None. |
|
| Notes | Collection of Note |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"mecanics": [
{
"id": 1,
"name": "sample string 1"
},
{
"id": 1,
"name": "sample string 1"
}
],
"Coutesycars": [
{
"id": 1,
"vehicle": "sample string 1"
},
{
"id": 1,
"vehicle": "sample string 1"
}
],
"serviceclientcarid": 2,
"vinno": "sample string 3",
"enginenum": "sample string 4",
"actualmileage": "sample string 5",
"cvid": 6,
"mechanicid": "sample string 7",
"coutesycarid": "sample string 8",
"servicequoteid": 9,
"clientid": 10,
"Jobs": [
{
"ServiceJobID": 1,
"ServiceJobName": "sample string 2",
"ServiceJobType": "sample string 3",
"ServiceJobStatus": "sample string 4",
"MechID": 1,
"Mechanic": "sample string 5",
"ClientName": "sample string 6",
"VehicleName": "sample string 7"
},
{
"ServiceJobID": 1,
"ServiceJobName": "sample string 2",
"ServiceJobType": "sample string 3",
"ServiceJobStatus": "sample string 4",
"MechID": 1,
"Mechanic": "sample string 5",
"ClientName": "sample string 6",
"VehicleName": "sample string 7"
}
],
"notetype": "sample string 11",
"licencerenewal": "sample string 12",
"notedate": "sample string 13",
"comment": "sample string 14",
"clientfeedbacktype": "sample string 15",
"Notes": [
{
"notes": "sample string 1",
"notetype": "sample string 2",
"addeddate": "sample string 3",
"callbackdate": "sample string 4",
"clientid": 5,
"quoteid": 6,
"feedback": "sample string 7"
},
{
"notes": "sample string 1",
"notetype": "sample string 2",
"addeddate": "sample string 3",
"callbackdate": "sample string 4",
"clientid": 5,
"quoteid": 6,
"feedback": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<Serviceview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyQuoteServiceWCF.Models">
<Coutesycars>
<Coutesycar>
<id>1</id>
<vehicle>sample string 1</vehicle>
</Coutesycar>
<Coutesycar>
<id>1</id>
<vehicle>sample string 1</vehicle>
</Coutesycar>
</Coutesycars>
<Jobs>
<Job>
<ClientName>sample string 6</ClientName>
<MechID>1</MechID>
<Mechanic>sample string 5</Mechanic>
<ServiceJobID>1</ServiceJobID>
<ServiceJobName>sample string 2</ServiceJobName>
<ServiceJobStatus>sample string 4</ServiceJobStatus>
<ServiceJobType>sample string 3</ServiceJobType>
<VehicleName>sample string 7</VehicleName>
</Job>
<Job>
<ClientName>sample string 6</ClientName>
<MechID>1</MechID>
<Mechanic>sample string 5</Mechanic>
<ServiceJobID>1</ServiceJobID>
<ServiceJobName>sample string 2</ServiceJobName>
<ServiceJobStatus>sample string 4</ServiceJobStatus>
<ServiceJobType>sample string 3</ServiceJobType>
<VehicleName>sample string 7</VehicleName>
</Job>
</Jobs>
<Notes>
<Note>
<addeddate>sample string 3</addeddate>
<callbackdate>sample string 4</callbackdate>
<clientid>5</clientid>
<feedback>sample string 7</feedback>
<notes>sample string 1</notes>
<notetype>sample string 2</notetype>
<quoteid>6</quoteid>
</Note>
<Note>
<addeddate>sample string 3</addeddate>
<callbackdate>sample string 4</callbackdate>
<clientid>5</clientid>
<feedback>sample string 7</feedback>
<notes>sample string 1</notes>
<notetype>sample string 2</notetype>
<quoteid>6</quoteid>
</Note>
</Notes>
<actualmileage>sample string 5</actualmileage>
<clientfeedbacktype>sample string 15</clientfeedbacktype>
<clientid>10</clientid>
<comment>sample string 14</comment>
<coutesycarid>sample string 8</coutesycarid>
<cvid>6</cvid>
<enginenum>sample string 4</enginenum>
<id>1</id>
<licencerenewal>sample string 12</licencerenewal>
<mecanics>
<Mecanic>
<id>1</id>
<name>sample string 1</name>
</Mecanic>
<Mecanic>
<id>1</id>
<name>sample string 1</name>
</Mecanic>
</mecanics>
<mechanicid>sample string 7</mechanicid>
<notedate>sample string 13</notedate>
<notetype>sample string 11</notetype>
<serviceclientcarid>2</serviceclientcarid>
<servicequoteid>9</servicequoteid>
<vinno>sample string 3</vinno>
</Serviceview>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.