Yunique.API.REST

<back to all web services

MaterialAttachment

The following routes are available for this service:
GET,OPTIONS/v3/Material/Attachment/{PageNumber}/{PageSize}
GET,OPTIONS/v3/Material/Attachment/{ID}/Download
GET,OPTIONS/v3/Material/{MaterialID}/Attachment/{ID}
GET,OPTIONS/v3/Material/{MaterialID}/Attachment/Schema
GET,OPTIONS/v3/Material/Attachment/{ID}
GET,OPTIONS/v3/Material/Attachment/Schema
GET,POST,PUT,DELETE,OPTIONS/v3/Material/{MaterialID}/Attachment
GET,POST,PUT,DELETE,OPTIONS/v3/Material/Attachment
GET,OPTIONS/v3/Material/{MaterialID}/Attachment/{PageNumber}/{PageSize}
GET,OPTIONS/v3/Material/{MaterialID}/Attachment/{ID}/Download

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

{
	MaterialID: 00000000000000000000000000000000,
	type: String,
	id: 00000000000000000000000000000000,
	idlist: String,
	wsClientName: String,
	wsClientPassword: String,
	wsClientID: String,
	userName: String,
	userPassword: String,
	crudType: 0,
	includeResultSchema: False,
	serviceType: 0,
	params: String,
	orderBy: String,
	pageNumber: String,
	pageSize: String,
	skipLookupTables: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	data: String
}