POST api/services/{id}/jobs
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ServiceJob| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceNumber | integer |
None. |
|
| JobNumber | integer |
None. |
|
| CustomerStates | string |
None. |
|
| Cause | string |
None. |
|
| Correction | string |
None. |
|
| Notes | string |
None. |
|
| Technician | string |
None. |
|
| Hours | decimal number |
None. |
|
| LaborCost | decimal number |
None. |
|
| LaborTotal | decimal number |
None. |
|
| PartsTotal | decimal number |
None. |
|
| SubletPrice | decimal number |
None. |
|
| SubletCost | decimal number |
None. |
|
| TechnicianFunded | boolean |
None. |
|
| PayType | string |
None. |
|
| HourlyRate | decimal number |
None. |
|
| IsFlatRate | boolean |
None. |
|
| ProblemWhat | string |
None. |
|
| ProblemWhen | string |
None. |
|
| ProblemCause | string |
None. |
|
| LaborOperationCode | string |
None. |
|
| Recommend1 | string |
None. |
|
| Recommend2 | string |
None. |
|
| Recommend3 | string |
None. |
|
| Recommend4 | string |
None. |
|
| Recommend5 | string |
None. |
|
| Recommend1IsDeclined | boolean |
None. |
|
| Recommend2IsDeclined | boolean |
None. |
|
| Recommend3IsDeclined | boolean |
None. |
|
| Recommend4IsDeclined | boolean |
None. |
|
| Recommend5IsDeclined | boolean |
None. |
|
| IsSendToOEM | boolean |
None. |
|
| Discount | decimal number |
None. |
|
| FactoryWarranty | boolean |
None. |
|
| Approved | boolean |
None. |
|
| Status | string |
None. |
|
| EstimatedHours | decimal number |
None. |
|
| ActualHours | decimal number |
None. |
|
| RequestedParts | string |
None. |
|
| IsHRSChecked | boolean |
None. |
|
| SubletVendorID | integer |
None. |
|
| ImportedLaborOperationCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvoiceNumber": 1,
"JobNumber": 2,
"CustomerStates": "sample string 3",
"Cause": "sample string 4",
"Correction": "sample string 5",
"Notes": "sample string 6",
"Technician": "sample string 7",
"Hours": 8.1,
"LaborCost": 9.0,
"LaborTotal": 10.0,
"PartsTotal": 11.0,
"SubletPrice": 12.0,
"SubletCost": 13.0,
"TechnicianFunded": true,
"PayType": "sample string 15",
"HourlyRate": 16.0,
"IsFlatRate": true,
"ProblemWhat": "sample string 18",
"ProblemWhen": "sample string 19",
"ProblemCause": "sample string 20",
"LaborOperationCode": "sample string 21",
"Recommend1": "sample string 22",
"Recommend2": "sample string 23",
"Recommend3": "sample string 24",
"Recommend4": "sample string 25",
"Recommend5": "sample string 26",
"Recommend1IsDeclined": true,
"Recommend2IsDeclined": true,
"Recommend3IsDeclined": true,
"Recommend4IsDeclined": true,
"Recommend5IsDeclined": true,
"IsSendToOEM": true,
"Discount": 33.0,
"FactoryWarranty": true,
"Approved": true,
"Status": "sample string 36",
"EstimatedHours": 37.1,
"ActualHours": 38.1,
"RequestedParts": "sample string 39",
"IsHRSChecked": true,
"SubletVendorID": 1,
"ImportedLaborOperationCode": "sample string 41"
}
application/xml, text/xml
Sample:
<ServiceJob xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities"> <ActualHours>38.1</ActualHours> <Approved>true</Approved> <Cause>sample string 4</Cause> <Correction>sample string 5</Correction> <CustomerStates>sample string 3</CustomerStates> <Discount>33</Discount> <EstimatedHours>37.1</EstimatedHours> <FactoryWarranty>true</FactoryWarranty> <HourlyRate>16</HourlyRate> <Hours>8.1</Hours> <ImportedLaborOperationCode>sample string 41</ImportedLaborOperationCode> <InvoiceNumber>1</InvoiceNumber> <IsFlatRate>true</IsFlatRate> <IsHRSChecked>true</IsHRSChecked> <IsSendToOEM>true</IsSendToOEM> <JobNumber>2</JobNumber> <LaborCost>9</LaborCost> <LaborOperationCode>sample string 21</LaborOperationCode> <LaborTotal>10</LaborTotal> <Notes>sample string 6</Notes> <PartsTotal>11</PartsTotal> <PayType>sample string 15</PayType> <ProblemCause>sample string 20</ProblemCause> <ProblemWhat>sample string 18</ProblemWhat> <ProblemWhen>sample string 19</ProblemWhen> <Recommend1>sample string 22</Recommend1> <Recommend1IsDeclined>true</Recommend1IsDeclined> <Recommend2>sample string 23</Recommend2> <Recommend2IsDeclined>true</Recommend2IsDeclined> <Recommend3>sample string 24</Recommend3> <Recommend3IsDeclined>true</Recommend3IsDeclined> <Recommend4>sample string 25</Recommend4> <Recommend4IsDeclined>true</Recommend4IsDeclined> <Recommend5>sample string 26</Recommend5> <Recommend5IsDeclined>true</Recommend5IsDeclined> <RequestedParts>sample string 39</RequestedParts> <Status>sample string 36</Status> <SubletCost>13</SubletCost> <SubletPrice>12</SubletPrice> <SubletVendorID>1</SubletVendorID> <Technician>sample string 7</Technician> <TechnicianFunded>true</TechnicianFunded> </ServiceJob>
application/x-www-form-urlencoded
Sample:
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. |