Yunique.API.REST

<back to all web services

StyleModelWhereUsed

The following routes are available for this service:
GET,OPTIONS/v3/Style/Model/WhereUsed/{Location}/{Item}

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

{
	location: String,
	item: String,
	recordCountOnly: 0,
	orderBy: String,
	pageNumber: String,
	pageSize: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	styles: 
	[
		{
			id: 00000000000000000000000000000000,
			styleID: 00000000000000000000000000000000,
			styleMasterID: 00000000000000000000000000000000,
			styleWorkflowID: 00000000000000000000000000000000,
			styleType: 0,
			workflowType: 00000000000000000000000000000000,
			refNo: 0,
			styleNo: String,
			tempID: String,
			tempNo: String,
			developmentID: 00000000000000000000000000000000,
			developmentNo: String,
			description: String,
			styleCategory: 00000000000000000000000000000000,
			styleSet: 0,
			dueDate: 0001-01-01,
			styleStatus: String,
			customField3: String,
			cUser: String,
			cDate: 0001-01-01,
			mUser: String,
			mDate: 0001-01-01,
			active: 0,
			change: 0,
			styleStatusID: 0,
			introSeasonYearID: 00000000000000000000000000000000,
			userCID: 00000000000000000000000000000000,
			userMID: 00000000000000000000000000000000,
			workflowTemplateID: 00000000000000000000000000000000,
			divisionID: 00000000000000000000000000000000,
			styleThemeID: 00000000000000000000000000000000,
			sizeClassID: 00000000000000000000000000000000,
			sizeRangeID: 00000000000000000000000000000000
		}
	],
	recordCount: 0
}