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 .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/StyleModel HTTP/1.1 
Host: ncsu.yuniquecloud.com 
Content-Type: text/jsv
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: text/jsv
Content-Length: length

{
	models: 
	[
		{
			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
}