GET api/v2/Service/WorkOrders/ListNewOrChangedOpCodes?LastUpdate={LastUpdate}&Page={Page}&PageSize={PageSize}&ListName={ListName}
Searches for Operation Codes created or changed as of a date. Returns result for page and page size requested.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| LastUpdate |
Date/Time to query from. Must be URL encoded if passing time. |
date |
Required |
| Page |
Current page being requested. |
integer |
Required |
| PageSize |
Number of records for page being requested. |
integer |
Required |
| ListName |
Name of list for paged data. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
NewOrChangedOperationList| Name | Description | Type | Additional information |
|---|---|---|---|
| Content |
Data for 1 page of New or Changed Operation Codes. |
Collection of OperationCode |
None. |
| CurrentPage |
Current Page being requested. |
integer |
None. |
| MaxPages |
Total Number of pages. |
integer |
None. |
| PageSize |
Number of record for page being request |
integer |
None. |
| ListName |
Name of list for page data. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Content": [
{
"Opcode": "sample string 1",
"Desc": "sample string 2",
"LongDesc": "sample string 3",
"TechDesc": "sample string 4",
"CategoryCode": "sample string 5",
"EstimatedParts": 1.0,
"EstimatedLabor": 1.0,
"EstimatedLaborHours": 1.0,
"EstimatedFreight": 1.0,
"EstimatedEquipment": 1.0,
"EstimatedSublet": 1.0,
"EstimatedMileage": 1.0,
"EstimatedMiscSupply": 1.0,
"EstimatedBillCodes": 1.0,
"Approved": true,
"FlatRateAmount": 1.0,
"FlatRatePerFootRate": 1.0,
"FlatRatePerFootMethod": "sample string 6",
"LaborFinished": true,
"StandardHours": 1.0,
"EstCompDate": "sample string 8",
"EstStartDate": "sample string 9",
"CustPromiseDate": "sample string 10",
"ForecastedPartsCharges": 1.0,
"ForecastedLaborCharges": 1.0,
"ForecastedLaborHours": 1.0
},
{
"Opcode": "sample string 1",
"Desc": "sample string 2",
"LongDesc": "sample string 3",
"TechDesc": "sample string 4",
"CategoryCode": "sample string 5",
"EstimatedParts": 1.0,
"EstimatedLabor": 1.0,
"EstimatedLaborHours": 1.0,
"EstimatedFreight": 1.0,
"EstimatedEquipment": 1.0,
"EstimatedSublet": 1.0,
"EstimatedMileage": 1.0,
"EstimatedMiscSupply": 1.0,
"EstimatedBillCodes": 1.0,
"Approved": true,
"FlatRateAmount": 1.0,
"FlatRatePerFootRate": 1.0,
"FlatRatePerFootMethod": "sample string 6",
"LaborFinished": true,
"StandardHours": 1.0,
"EstCompDate": "sample string 8",
"EstStartDate": "sample string 9",
"CustPromiseDate": "sample string 10",
"ForecastedPartsCharges": 1.0,
"ForecastedLaborCharges": 1.0,
"ForecastedLaborHours": 1.0
}
],
"CurrentPage": 1,
"MaxPages": 2,
"PageSize": 3,
"ListName": "sample string 4"
}
application/xml, text/xml
Sample:
<NewOrChangedOperationList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
<CurrentPage>1</CurrentPage>
<ListName>sample string 4</ListName>
<MaxPages>2</MaxPages>
<PageSize>3</PageSize>
<Content>
<OperationCode>
<Approved>true</Approved>
<CategoryCode>sample string 5</CategoryCode>
<CustPromiseDate>sample string 10</CustPromiseDate>
<Desc>sample string 2</Desc>
<EstCompDate>sample string 8</EstCompDate>
<EstStartDate>sample string 9</EstStartDate>
<EstimatedBillCodes>1</EstimatedBillCodes>
<EstimatedEquipment>1</EstimatedEquipment>
<EstimatedFreight>1</EstimatedFreight>
<EstimatedLabor>1</EstimatedLabor>
<EstimatedLaborHours>1</EstimatedLaborHours>
<EstimatedMileage>1</EstimatedMileage>
<EstimatedMiscSupply>1</EstimatedMiscSupply>
<EstimatedParts>1</EstimatedParts>
<EstimatedSublet>1</EstimatedSublet>
<FlatRateAmount>1</FlatRateAmount>
<FlatRatePerFootMethod>sample string 6</FlatRatePerFootMethod>
<FlatRatePerFootRate>1</FlatRatePerFootRate>
<ForecastedLaborCharges>1</ForecastedLaborCharges>
<ForecastedLaborHours>1</ForecastedLaborHours>
<ForecastedPartsCharges>1</ForecastedPartsCharges>
<LaborFinished>true</LaborFinished>
<LongDesc>sample string 3</LongDesc>
<Opcode>sample string 1</Opcode>
<StandardHours>1</StandardHours>
<TechDesc>sample string 4</TechDesc>
</OperationCode>
<OperationCode>
<Approved>true</Approved>
<CategoryCode>sample string 5</CategoryCode>
<CustPromiseDate>sample string 10</CustPromiseDate>
<Desc>sample string 2</Desc>
<EstCompDate>sample string 8</EstCompDate>
<EstStartDate>sample string 9</EstStartDate>
<EstimatedBillCodes>1</EstimatedBillCodes>
<EstimatedEquipment>1</EstimatedEquipment>
<EstimatedFreight>1</EstimatedFreight>
<EstimatedLabor>1</EstimatedLabor>
<EstimatedLaborHours>1</EstimatedLaborHours>
<EstimatedMileage>1</EstimatedMileage>
<EstimatedMiscSupply>1</EstimatedMiscSupply>
<EstimatedParts>1</EstimatedParts>
<EstimatedSublet>1</EstimatedSublet>
<FlatRateAmount>1</FlatRateAmount>
<FlatRatePerFootMethod>sample string 6</FlatRatePerFootMethod>
<FlatRatePerFootRate>1</FlatRatePerFootRate>
<ForecastedLaborCharges>1</ForecastedLaborCharges>
<ForecastedLaborHours>1</ForecastedLaborHours>
<ForecastedPartsCharges>1</ForecastedPartsCharges>
<LaborFinished>true</LaborFinished>
<LongDesc>sample string 3</LongDesc>
<Opcode>sample string 1</Opcode>
<StandardHours>1</StandardHours>
<TechDesc>sample string 4</TechDesc>
</OperationCode>
</Content>
</NewOrChangedOperationList>