POST api/Booking/SaveBookingDetails
Request Information
URI Parameters
None.
Body Parameters
Bookingdetails| Name | Description | Type | Additional information |
|---|---|---|---|
| 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 | date |
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. |
|
| 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. |
|
| NextServiceKM | integer |
None. |
|
| NextServiceDate | string |
None. |
|
| quotejobs | Collection of quotejob |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrebookingM": "sample string 1",
"VinNo": "sample string 2",
"LabourRate": 3.0,
"RegNo": "sample string 4",
"EngineNo": "sample string 5",
"TechNo": "sample string 6",
"ServAdvirNo": "sample string 7",
"LastServicedate": "sample string 8",
"LastService": "sample string 9",
"ServiceDate": "2025-12-17T16:02:27.2163143+02:00",
"SellingDealer": "sample string 11",
"PaymentMethod": "sample string 12",
"ActualPurchaseDate": "sample string 13",
"ExtendedWarrantyName": "sample string 14",
"ExtendedMileage": "sample string 15",
"ExtendedYears": "sample string 16",
"ServicePlan": "sample string 17",
"ServicePolicyNumber": "sample string 18",
"ServiceDescription": "sample string 19",
"ServiceMileage": "sample string 20",
"ServiceHours": 21.0,
"Serviceother": [
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
},
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
}
],
"RepairTotalHours": "sample string 22",
"Servicerepair": [
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
},
{
"tecid": 1,
"id": 2,
"work": "sample string 3"
}
],
"OtherTotalHours": "sample string 23",
"QuoteRequiredBeforeWork": true,
"TotalHours": 25.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 27",
"NoteType": "sample string 28",
"NoteDate": "2025-12-17T16:02:27.2319377+02:00",
"Vehicle": "sample string 29",
"Repid": 30,
"Clientname": "sample string 31",
"Service": true,
"Repair": true,
"Other": true,
"Comment": "sample string 35",
"AccountNumber": "sample string 36",
"ServiceAdvisorRepID": 37,
"ServiceAdvisorRepName": "sample string 38",
"ClientCarId": 39,
"ClientId": 40,
"ClientFeedBack": "sample string 41",
"NextServiceKM": 42,
"NextServiceDate": "sample string 43",
"quotejobs": [
{
"ServiceItemsQuoteID": 1,
"ServiceItemsUniqueID": "sample string 2",
"itemnumber": 3,
"serviceitem": "sample string 4",
"hours": 5.0,
"labourdisc": 6.0,
"labourcost": 7.0,
"partsprice": 8.0,
"partsdisc": 9.0,
"partscost": 10.0,
"balancetoclient": 11.0,
"attentionlevel": 12,
"partstotal": 13.0,
"partnum": "sample string 14",
"consumables": "sample string 15",
"totalcost": 16.0,
"warranty": 17.0,
"serviceplan": 18.0,
"balance": 19.0,
"clientapproved": "sample string 20",
"repairdate": "sample string 21",
"imageBase64": "sample string 22",
"imagefilename": "sample string 23"
},
{
"ServiceItemsQuoteID": 1,
"ServiceItemsUniqueID": "sample string 2",
"itemnumber": 3,
"serviceitem": "sample string 4",
"hours": 5.0,
"labourdisc": 6.0,
"labourcost": 7.0,
"partsprice": 8.0,
"partsdisc": 9.0,
"partscost": 10.0,
"balancetoclient": 11.0,
"attentionlevel": 12,
"partstotal": 13.0,
"partnum": "sample string 14",
"consumables": "sample string 15",
"totalcost": 16.0,
"warranty": 17.0,
"serviceplan": 18.0,
"balance": 19.0,
"clientapproved": "sample string 20",
"repairdate": "sample string 21",
"imageBase64": "sample string 22",
"imagefilename": "sample string 23"
}
]
}
application/xml, text/xml
Sample:
<Bookingdetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyQuoteServiceWCF.Models">
<AccountNumber>sample string 36</AccountNumber>
<ActualPurchaseDate>sample string 13</ActualPurchaseDate>
<ClientCarId>39</ClientCarId>
<ClientFeedBack>sample string 41</ClientFeedBack>
<ClientId>40</ClientId>
<Clientname>sample string 31</Clientname>
<Comment>sample string 35</Comment>
<EngineNo>sample string 5</EngineNo>
<ExtendedMileage>sample string 15</ExtendedMileage>
<ExtendedWarrantyName>sample string 14</ExtendedWarrantyName>
<ExtendedYears>sample string 16</ExtendedYears>
<InvoiceTo>sample string 27</InvoiceTo>
<LabourRate>3</LabourRate>
<LastService>sample string 9</LastService>
<LastServicedate>sample string 8</LastServicedate>
<NextServiceDate>sample string 43</NextServiceDate>
<NextServiceKM>42</NextServiceKM>
<NoteDate>2025-12-17T16:02:27.2319377+02:00</NoteDate>
<NoteType>sample string 28</NoteType>
<Other>true</Other>
<OtherTotalHours>sample string 23</OtherTotalHours>
<PaymentMethod>sample string 12</PaymentMethod>
<PrebookingM>sample string 1</PrebookingM>
<QuoteRequiredBeforeWork>true</QuoteRequiredBeforeWork>
<RegNo>sample string 4</RegNo>
<Repair>true</Repair>
<RepairTotalHours>sample string 22</RepairTotalHours>
<RepeatRepair>true</RepeatRepair>
<Repid>30</Repid>
<SellingDealer>sample string 11</SellingDealer>
<ServAdvirNo>sample string 7</ServAdvirNo>
<Service>true</Service>
<ServiceAdvisorRepID>37</ServiceAdvisorRepID>
<ServiceAdvisorRepName>sample string 38</ServiceAdvisorRepName>
<ServiceDate>2025-12-17T16:02:27.2163143+02:00</ServiceDate>
<ServiceDescription>sample string 19</ServiceDescription>
<ServiceHours>21</ServiceHours>
<ServiceMileage>sample string 20</ServiceMileage>
<ServicePlan>sample string 17</ServicePlan>
<ServicePolicyNumber>sample string 18</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 6</TechNo>
<TotalHours>25</TotalHours>
<Vehicle>sample string 29</Vehicle>
<VinNo>sample string 2</VinNo>
<quotejobs>
<quotejob>
<ServiceItemsQuoteID>1</ServiceItemsQuoteID>
<ServiceItemsUniqueID>sample string 2</ServiceItemsUniqueID>
<attentionlevel>12</attentionlevel>
<balance>19</balance>
<balancetoclient>11</balancetoclient>
<clientapproved>sample string 20</clientapproved>
<consumables>sample string 15</consumables>
<hours>5</hours>
<imageBase64>sample string 22</imageBase64>
<imagefilename>sample string 23</imagefilename>
<itemnumber>3</itemnumber>
<labourcost>7</labourcost>
<labourdisc>6</labourdisc>
<partnum>sample string 14</partnum>
<partscost>10</partscost>
<partsdisc>9</partsdisc>
<partsprice>8</partsprice>
<partstotal>13</partstotal>
<repairdate>sample string 21</repairdate>
<serviceitem>sample string 4</serviceitem>
<serviceplan>18</serviceplan>
<totalcost>16</totalcost>
<warranty>17</warranty>
</quotejob>
<quotejob>
<ServiceItemsQuoteID>1</ServiceItemsQuoteID>
<ServiceItemsUniqueID>sample string 2</ServiceItemsUniqueID>
<attentionlevel>12</attentionlevel>
<balance>19</balance>
<balancetoclient>11</balancetoclient>
<clientapproved>sample string 20</clientapproved>
<consumables>sample string 15</consumables>
<hours>5</hours>
<imageBase64>sample string 22</imageBase64>
<imagefilename>sample string 23</imagefilename>
<itemnumber>3</itemnumber>
<labourcost>7</labourcost>
<labourdisc>6</labourdisc>
<partnum>sample string 14</partnum>
<partscost>10</partscost>
<partsdisc>9</partsdisc>
<partsprice>8</partsprice>
<partstotal>13</partstotal>
<repairdate>sample string 21</repairdate>
<serviceitem>sample string 4</serviceitem>
<serviceplan>18</serviceplan>
<totalcost>16</totalcost>
<warranty>17</warranty>
</quotejob>
</quotejobs>
</Bookingdetails>
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.