SxApiService
Click here for a complete list of operations.
SWGetListOfRepairOrders
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /SxApiService.asmx HTTP/1.1
Host: sxapi-mer.cameronashleybp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Nxtrend.WS/SWGetListOfRepairOrders"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SWGetListOfRepairOrders xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<customerNumber>double</customerNumber>
<shipTo>string</shipTo>
<whse>string</whse>
<productCode>string</productCode>
<serialNumber>string</serialNumber>
<orderType>string</orderType>
<jobType>string</jobType>
<stageFrom>int</stageFrom>
<stageTo>int</stageTo>
<bulletinNumber>string</bulletinNumber>
<leadTech>string</leadTech>
<warrantyExpireDate>
<year>int</year>
<month>int</month>
<date>int</date>
</warrantyExpireDate>
<warrantyExpireType>string</warrantyExpireType>
<assignDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</assignDateFrom>
<assignDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</assignDateTo>
<pickupDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</pickupDateFrom>
<pickupDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</pickupDateTo>
<startDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</startDateFrom>
<startDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</startDateTo>
<completeDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</completeDateFrom>
<completeDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</completeDateTo>
<deliverDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</deliverDateFrom>
<deliverDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</deliverDateTo>
<sort1>string</sort1>
<sort2>string</sort2>
<recordLimit>int</recordLimit>
</requestObject>
</SWGetListOfRepairOrders>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SWGetListOfRepairOrdersResponse xmlns="Nxtrend.WS">
<SWGetListOfRepairOrdersResult>
<errorMessage>string</errorMessage>
<moreRecordsFlag>boolean</moreRecordsFlag>
<arrayRepairOrder>
<SWGetListOfRepairOrders.output.RepairOrder>
<repairOrderNumber>int</repairOrderNumber>
<repairOrderSuffix>int</repairOrderSuffix>
<sortField>string</sortField>
<customerNumber>double</customerNumber>
<shipTo>string</shipTo>
<whse>string</whse>
<notesFlag>string</notesFlag>
<orderType>string</orderType>
<stageCode>int</stageCode>
<stageCodeWords>string</stageCodeWords>
<jobType>string</jobType>
<orderNumber>int</orderNumber>
<orderSufix>int</orderSufix>
<bulletinNumber>string</bulletinNumber>
<leadTech>string</leadTech>
<contactName>string</contactName>
<contactPhoneNumber>string</contactPhoneNumber>
<priorityCode>string</priorityCode>
<cancelCode>string</cancelCode>
<salesRep>string</salesRep>
<assignedDate xsi:nil="true" />
<pickupDate xsi:nil="true" />
<startDate xsi:nil="true" />
<completeDate xsi:nil="true" />
<deliverDate xsi:nil="true" />
<statusComment>string</statusComment>
<warrantyExpirationDate xsi:nil="true" />
</SWGetListOfRepairOrders.output.RepairOrder>
<SWGetListOfRepairOrders.output.RepairOrder>
<repairOrderNumber>int</repairOrderNumber>
<repairOrderSuffix>int</repairOrderSuffix>
<sortField>string</sortField>
<customerNumber>double</customerNumber>
<shipTo>string</shipTo>
<whse>string</whse>
<notesFlag>string</notesFlag>
<orderType>string</orderType>
<stageCode>int</stageCode>
<stageCodeWords>string</stageCodeWords>
<jobType>string</jobType>
<orderNumber>int</orderNumber>
<orderSufix>int</orderSufix>
<bulletinNumber>string</bulletinNumber>
<leadTech>string</leadTech>
<contactName>string</contactName>
<contactPhoneNumber>string</contactPhoneNumber>
<priorityCode>string</priorityCode>
<cancelCode>string</cancelCode>
<salesRep>string</salesRep>
<assignedDate xsi:nil="true" />
<pickupDate xsi:nil="true" />
<startDate xsi:nil="true" />
<completeDate xsi:nil="true" />
<deliverDate xsi:nil="true" />
<statusComment>string</statusComment>
<warrantyExpirationDate xsi:nil="true" />
</SWGetListOfRepairOrders.output.RepairOrder>
</arrayRepairOrder>
</SWGetListOfRepairOrdersResult>
</SWGetListOfRepairOrdersResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /SxApiService.asmx HTTP/1.1
Host: sxapi-mer.cameronashleybp.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SWGetListOfRepairOrders xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<customerNumber>double</customerNumber>
<shipTo>string</shipTo>
<whse>string</whse>
<productCode>string</productCode>
<serialNumber>string</serialNumber>
<orderType>string</orderType>
<jobType>string</jobType>
<stageFrom>int</stageFrom>
<stageTo>int</stageTo>
<bulletinNumber>string</bulletinNumber>
<leadTech>string</leadTech>
<warrantyExpireDate>
<year>int</year>
<month>int</month>
<date>int</date>
</warrantyExpireDate>
<warrantyExpireType>string</warrantyExpireType>
<assignDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</assignDateFrom>
<assignDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</assignDateTo>
<pickupDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</pickupDateFrom>
<pickupDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</pickupDateTo>
<startDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</startDateFrom>
<startDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</startDateTo>
<completeDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</completeDateFrom>
<completeDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</completeDateTo>
<deliverDateFrom>
<year>int</year>
<month>int</month>
<date>int</date>
</deliverDateFrom>
<deliverDateTo>
<year>int</year>
<month>int</month>
<date>int</date>
</deliverDateTo>
<sort1>string</sort1>
<sort2>string</sort2>
<recordLimit>int</recordLimit>
</requestObject>
</SWGetListOfRepairOrders>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SWGetListOfRepairOrdersResponse xmlns="Nxtrend.WS">
<SWGetListOfRepairOrdersResult>
<errorMessage>string</errorMessage>
<moreRecordsFlag>boolean</moreRecordsFlag>
<arrayRepairOrder>
<SWGetListOfRepairOrders.output.RepairOrder>
<repairOrderNumber>int</repairOrderNumber>
<repairOrderSuffix>int</repairOrderSuffix>
<sortField>string</sortField>
<customerNumber>double</customerNumber>
<shipTo>string</shipTo>
<whse>string</whse>
<notesFlag>string</notesFlag>
<orderType>string</orderType>
<stageCode>int</stageCode>
<stageCodeWords>string</stageCodeWords>
<jobType>string</jobType>
<orderNumber>int</orderNumber>
<orderSufix>int</orderSufix>
<bulletinNumber>string</bulletinNumber>
<leadTech>string</leadTech>
<contactName>string</contactName>
<contactPhoneNumber>string</contactPhoneNumber>
<priorityCode>string</priorityCode>
<cancelCode>string</cancelCode>
<salesRep>string</salesRep>
<assignedDate xsi:nil="true" />
<pickupDate xsi:nil="true" />
<startDate xsi:nil="true" />
<completeDate xsi:nil="true" />
<deliverDate xsi:nil="true" />
<statusComment>string</statusComment>
<warrantyExpirationDate xsi:nil="true" />
</SWGetListOfRepairOrders.output.RepairOrder>
<SWGetListOfRepairOrders.output.RepairOrder>
<repairOrderNumber>int</repairOrderNumber>
<repairOrderSuffix>int</repairOrderSuffix>
<sortField>string</sortField>
<customerNumber>double</customerNumber>
<shipTo>string</shipTo>
<whse>string</whse>
<notesFlag>string</notesFlag>
<orderType>string</orderType>
<stageCode>int</stageCode>
<stageCodeWords>string</stageCodeWords>
<jobType>string</jobType>
<orderNumber>int</orderNumber>
<orderSufix>int</orderSufix>
<bulletinNumber>string</bulletinNumber>
<leadTech>string</leadTech>
<contactName>string</contactName>
<contactPhoneNumber>string</contactPhoneNumber>
<priorityCode>string</priorityCode>
<cancelCode>string</cancelCode>
<salesRep>string</salesRep>
<assignedDate xsi:nil="true" />
<pickupDate xsi:nil="true" />
<startDate xsi:nil="true" />
<completeDate xsi:nil="true" />
<deliverDate xsi:nil="true" />
<statusComment>string</statusComment>
<warrantyExpirationDate xsi:nil="true" />
</SWGetListOfRepairOrders.output.RepairOrder>
</arrayRepairOrder>
</SWGetListOfRepairOrdersResult>
</SWGetListOfRepairOrdersResponse>
</soap12:Body>
</soap12:Envelope>