Yunique.API.REST

<back to all web services

StyleModelDetail

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

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

HTTP + JSV

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

POST /jsv/reply/StyleModelDetail HTTP/1.1 
Host: ncsu.yuniquecloud.com 
Content-Type: text/jsv
Content-Length: length

{
	styleID: String,
	styleSet: 0,
	modelID: String,
	recordCountOnly: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	model: 
	{
		id: 00000000000000000000000000000000,
		bodyID: 00000000000000000000000000000000,
		styleID: 00000000000000000000000000000000,
		styleSet: 0,
		model_Code: 0,
		model_Name: String,
		last_Updated: 0001-01-01,
		active: 0,
		isLinkedBF: 0,
		isLinked: 0,
		cDate: 0001-01-01,
		cUser: String,
		mUser: String,
		mDate: 0001-01-01,
		marker_Code: 0,
		model_Description: String,
		model_CrOpId: String,
		model_Create: 0001-01-01,
		model_RevOp1: String,
		model_Rev1: 0001-01-01,
		model_RevOp2: String,
		model_Rev2: 0001-01-01,
		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: 0001-01-01,
		plotFileLocation: String,
		notchFile: String,
		annotationFile: String,
		storageType: 0,
		imageID: 00000000000000000000000000000000
	},
	recordCount: 0
}