Yunique.API.REST

<back to all web services

EAVAttributeDefCUD

The following routes are available for this service:
POST,OPTIONS/v3/EAV/AttributeDef
PUT,OPTIONS/v3/EAV/AttributeDef

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

{
	attributeDefs: 
	[
		{
			attributeDefID: 00000000000000000000000000000000,
			name: String,
			description: String,
			attributeTypeID: 00000000000000000000000000000000,
			lookupTypeID: 00000000000000000000000000000000,
			defaultValueText: String,
			defaultValueInteger: 0,
			defaultValueDate: 0001-01-01,
			defaultValueMoney: 0,
			defaultValueDecimal: 0,
			defaultValueBoolean: 0,
			defaultValueLookupID: 00000000000000000000000000000000,
			limitMinChar: 0,
			limitMaxChar: 0,
			limitLowerDate: 0001-01-01,
			limitUpperDate: 0001-01-01,
			limitLowerNumber: 0,
			limitUpperNumber: 0,
			validationTextRegex: String,
			toolTip: String,
			cUser: String,
			cDate: 0001-01-01,
			mUser: String,
			mDate: 0001-01-01,
			lookupQueryID: 00000000000000000000000000000000
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	newIDs: 
	[
		00000000000000000000000000000000
	],
	recordCount: 0
}