POST api/Quote/SaveImage
Request Information
URI Parameters
None.
Body Parameters
quotejob| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceItemsQuoteID | integer |
None. |
|
| ServiceItemsUniqueID | string |
None. |
|
| itemnumber | integer |
None. |
|
| serviceitem | string |
None. |
|
| hours | decimal number |
None. |
|
| labourdisc | decimal number |
None. |
|
| labourcost | decimal number |
None. |
|
| partsprice | decimal number |
None. |
|
| partsdisc | decimal number |
None. |
|
| partscost | decimal number |
None. |
|
| balancetoclient | decimal number |
None. |
|
| attentionlevel | integer |
None. |
|
| partstotal | decimal number |
None. |
|
| partnum | string |
None. |
|
| consumables | string |
None. |
|
| totalcost | decimal number |
None. |
|
| warranty | decimal number |
None. |
|
| serviceplan | decimal number |
None. |
|
| balance | decimal number |
None. |
|
| clientapproved | string |
None. |
|
| repairdate | string |
None. |
|
| imageBase64 | string |
None. |
|
| imagefilename | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"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:
<quotejob xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyQuoteServiceWCF.Models"> <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>
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.