Examples of modelSearch REST
Following are some examples of the modelSearch REST endpoints for various options:
sn:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001
model:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/WE Diesel Engine
sn and keyword:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch SUV_WE_DE_SN001?keyword=oil
sn and keyword with spaces:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001?keyword="world escape"
sn, keyword, and single infoType:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001?infotype=Other&keyword=valve
sn, keyword, and multiple infoTypes:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001?infotype=Information,Media,Other&keyword=valve
sn and multiple pubTypes:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001?pubtype=Document,Dynamic Document,General,Media
sn, keyword, multiple infoTypes, and symptoms:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001?infotype=Information,Troubleshooting&symptom=FillsTooSlowly-8A3589D2,LightFlash-8A3589A3,LightOff-8A3589A4,LightOn-8A3589A2&keyword=EXCESSIVE&pubtype=Document,Dynamic Document,General,Media,Not defined,com.ptc.sis.PsRoot
sn, multiple infoTypes, and showAllParts:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001?infotype=Information,Media,Other&showallparts=true
sn, and kitType:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/SUV_WE_DE_SN001?kittype=Electrical,Not defined
model, multiple infoTypes, showAllParts as true, and searchType= PART_NAME_DOC_TITLE_FULL_TEXT:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/WE Diesel Engine?infotype=Information,Media,Other&searchtype=PART_NAME_DOC_TITLE_FULL_TEXT&showallparts=true
model, multiple infoTypes, showAllParts as true, and searchType= PART_OR_MEDIA_NUMBER_FULL_TEXT:
https://localhost:8443/ACD/delivery#/modelsearch?model=WE Diesel Engine&sn=SUV_WE_DE_SN001&infoType=Information,Media,Other&showAllParts=true&searchType=PART_OR_MEDIA_NUMBER_FULL_TEXT
model, sn, multiple infoTypes, showAllParts as true, and searchType= PART_OR_MEDIA_NUMBER_FULL_TEXT and sort in alphabetically descending order:
https://localhost:8443/ACD/servlet/servicecenter/rest/search/modelSearch/WE Diesel Engine?$orderby=Z-A&infotype=Information,Media,Other&searchtype=PART_OR_MEDIA_NUMBER_FULL_TEXT&showallparts=true
Was this helpful?