POST api/EditBooking/SaveBooking
Request Information
URI Parameters
None.
Body Parameters
Editbookingdetails| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceId | integer |
None. |
|
| PrebookingM | string |
None. |
|
| VinNo | string |
None. |
|
| LabourRate | decimal number |
None. |
|
| RegNo | string |
None. |
|
| EngineNo | string |
None. |
|
| TechNo | string |
None. |
|
| ServAdvirNo | string |
None. |
|
| LastServicedate | string |
None. |
|
| LastService | string |
None. |
|
| ServiceDate | string |
None. |
|
| SellingDealer | string |
None. |
|
| PaymentMethod | string |
None. |
|
| ActualPurchaseDate | string |
None. |
|
| ExtendedWarrantyName | string |
None. |
|
| ExtendedMileage | string |
None. |
|
| ExtendedYears | string |
None. |
|
| ServicePlan | string |
None. |
|
| ServicePolicyNumber | string |
None. |
|
| ServiceDescription | string |
None. |
|
| ServiceMileage | string |
None. |
|
| ServiceHours | decimal number |
None. |
|
| Serviceother | Collection of Serviceother |
None. |
|
| RepairTotalHours | string |
None. |
|
| Servicerepair | Collection of Servicerepair |
None. |
|
| Mecanics | Collection of Mecanic |
None. |
|
| OtherTotalHours | string |
None. |
|
| QuoteRequiredBeforeWork | boolean |
None. |
|
| TotalHours | decimal number |
None. |
|
| ServiceReps | Collection of Servicerep |
None. |
|
| RepeatRepair | boolean |
None. |
|
| InvoiceTo | string |
None. |
|
| NoteType | string |
None. |
|
| NoteDate | date |
None. |
|
| Vehicle | string |
None. |
|
| Repid | integer |
None. |
|
| Clientname | string |
None. |
|
| Service | boolean |
None. |
|
| Repair | boolean |
None. |
|
| Other | boolean |
None. |
|
| Comment | string |
None. |
|
| AccountNumber | string |
None. |
|
| ServiceAdvisorRepID | integer |
None. |
|
| ServiceAdvisorRepName | string |
None. |
|
| ClientCarId | integer |
None. |
|
| ClientId | integer |
None. |
|
| ClientFeedBack | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ServiceId": 1,
"PrebookingM": "sample string 2",
"VinNo": "sample string 3",
"LabourRate": 4.0,
"RegNo": "sample string 5",
"EngineNo": "sample string 6",
"TechNo": "sample string 7",
"ServAdvirNo": "sample string 8",
"LastServicedate": "sample string 9",
"LastService": "sample string 10",
"ServiceDate": "sample string 11",
"SellingDealer": "sample string 12",
"PaymentMethod": "sample string 13",
"ActualPurchaseDate": "sample string 14",
"ExtendedWarrantyName": "sample string 15",
"ExtendedMileage": "sample string 16",
"ExtendedYears": "sample string 17",
"ServicePlan": "sample string 18",
"ServicePolicyNumber": "sample string 19",
"ServiceDescription": "sample string 20",
"ServiceMileage": "sample string 21",
"ServiceHours": 22.0,
"Serviceother": [
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
},
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
}
],
"RepairTotalHours": "sample string 23",
"Servicerepair": [
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
},
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
}
],
"Mecanics": [
{
"id": 1,
"name": "sample string 1"
},
{
"id": 1,
"name": "sample string 1"
}
],
"OtherTotalHours": "sample string 24",
"QuoteRequiredBeforeWork": true,
"TotalHours": 26.0,
"ServiceReps": [
{
"repid": 1,
"repname": "sample string 2",
"repusername": "sample string 3"
},
{
"repid": 1,
"repname": "sample string 2",
"repusername": "sample string 3"
}
],
"RepeatRepair": true,
"InvoiceTo": "sample string 28",
"NoteType": "sample string 29",
"NoteDate": "2025-12-17T15:59:28.7202596+02:00",
"Vehicle": "sample string 30",
"Repid": 31,
"Clientname": "sample string 32",
"Service": true,
"Repair": true,
"Other": true,
"Comment": "sample string 36",
"AccountNumber": "sample string 37",
"ServiceAdvisorRepID": 38,
"ServiceAdvisorRepName": "sample string 39",
"ClientCarId": 40,
"ClientId": 41,
"ClientFeedBack": "sample string 42"
}
application/xml, text/xml
Sample:
<Editbookingdetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyQuoteServiceWCF.Models">
<AccountNumber>sample string 37</AccountNumber>
<ActualPurchaseDate>sample string 14</ActualPurchaseDate>
<ClientCarId>40</ClientCarId>
<ClientFeedBack>sample string 42</ClientFeedBack>
<ClientId>41</ClientId>
<Clientname>sample string 32</Clientname>
<Comment>sample string 36</Comment>
<EngineNo>sample string 6</EngineNo>
<ExtendedMileage>sample string 16</ExtendedMileage>
<ExtendedWarrantyName>sample string 15</ExtendedWarrantyName>
<ExtendedYears>sample string 17</ExtendedYears>
<InvoiceTo>sample string 28</InvoiceTo>
<LabourRate>4</LabourRate>
<LastService>sample string 10</LastService>
<LastServicedate>sample string 9</LastServicedate>
<Mecanics>
<Mecanic>
<id>1</id>
<name>sample string 1</name>
</Mecanic>
<Mecanic>
<id>1</id>
<name>sample string 1</name>
</Mecanic>
</Mecanics>
<NoteDate>2025-12-17T15:59:28.7202596+02:00</NoteDate>
<NoteType>sample string 29</NoteType>
<Other>true</Other>
<OtherTotalHours>sample string 24</OtherTotalHours>
<PaymentMethod>sample string 13</PaymentMethod>
<PrebookingM>sample string 2</PrebookingM>
<QuoteRequiredBeforeWork>true</QuoteRequiredBeforeWork>
<RegNo>sample string 5</RegNo>
<Repair>true</Repair>
<RepairTotalHours>sample string 23</RepairTotalHours>
<RepeatRepair>true</RepeatRepair>
<Repid>31</Repid>
<SellingDealer>sample string 12</SellingDealer>
<ServAdvirNo>sample string 8</ServAdvirNo>
<Service>true</Service>
<ServiceAdvisorRepID>38</ServiceAdvisorRepID>
<ServiceAdvisorRepName>sample string 39</ServiceAdvisorRepName>
<ServiceDate>sample string 11</ServiceDate>
<ServiceDescription>sample string 20</ServiceDescription>
<ServiceHours>22</ServiceHours>
<ServiceId>1</ServiceId>
<ServiceMileage>sample string 21</ServiceMileage>
<ServicePlan>sample string 18</ServicePlan>
<ServicePolicyNumber>sample string 19</ServicePolicyNumber>
<ServiceReps>
<Servicerep>
<repid>1</repid>
<repname>sample string 2</repname>
<repusername>sample string 3</repusername>
</Servicerep>
<Servicerep>
<repid>1</repid>
<repname>sample string 2</repname>
<repusername>sample string 3</repusername>
</Servicerep>
</ServiceReps>
<Serviceother>
<Serviceother>
<id>2</id>
<tecid>1</tecid>
<work>sample string 3</work>
</Serviceother>
<Serviceother>
<id>2</id>
<tecid>1</tecid>
<work>sample string 3</work>
</Serviceother>
</Serviceother>
<Servicerepair>
<Servicerepair>
<id>2</id>
<tecid>1</tecid>
<work>sample string 3</work>
</Servicerepair>
<Servicerepair>
<id>2</id>
<tecid>1</tecid>
<work>sample string 3</work>
</Servicerepair>
</Servicerepair>
<TechNo>sample string 7</TechNo>
<TotalHours>26</TotalHours>
<Vehicle>sample string 30</Vehicle>
<VinNo>sample string 3</VinNo>
</Editbookingdetails>
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.