Yunique.API.REST

<back to all web services

StyleModel

The following routes are available for this service:
GET,OPTIONS/v3/Style/Model/{StyleID}/{StyleSet}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/StyleModel HTTP/1.1 
Host: ncsu.yuniquecloud.com 
Content-Type: application/json
Content-Length: length

{"styleID":"String","styleSet":0,"recordCountOnly":0,"orderBy":"String","pageNumber":"String","pageSize":"String","filter":"String","filterOn":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"models":[{"id":"00000000000000000000000000000000","bodyID":"00000000000000000000000000000000","styleID":"00000000000000000000000000000000","styleSet":0,"model_Code":0,"model_Name":"String","last_Updated":"\/Date(-62135596800000-0000)\/","active":0,"isLinkedBF":0,"isLinked":0,"cDate":"\/Date(-62135596800000-0000)\/","cUser":"String","mUser":"String","mDate":"\/Date(-62135596800000-0000)\/","marker_Code":0,"model_Description":"String","model_CrOpId":"String","model_Create":"\/Date(-62135596800000-0000)\/","model_RevOp1":"String","model_Rev1":"\/Date(-62135596800000-0000)\/","model_RevOp2":"String","model_Rev2":"\/Date(-62135596800000-0000)\/","model_GRTable":"String","model_MTMFile":"String","model_SAName":"String","model_SYNTable":"String","model_HPTable":"String","model_SampleSize":"String","model_nMaterials":0,"model_nPieces":0,"model_nSizes":0,"model_Image_SN":0,"model_Image_Name":"String","model_Comments":"String","preferMetric":0,"userDefined1":"String","userDefined2":"String","userDefined3":"String","userDefined4":"String","userDefined5":"String","total_Area":0,"lastCADRefresh":"\/Date(-62135596800000-0000)\/","plotFileLocation":"String","notchFile":"String","annotationFile":"String","storageType":0,"imageID":"00000000000000000000000000000000"}],"recordCount":0}