BazeField Services

<back to all web services

ObjectDomainSchemasGetRequest

Core API
Requires Authentication
The following routes are available for this service:
GET, POST/api/objects/getschemasGet domain points (data point definitions) for objects
GET, POST/api/objects/{ObjectIds}/schemasObsolete
ObjectDomainSchemasGetRequest Parameters:
NameParameterData TypeRequiredDescription
ObjectIdspathList<string>YesList of object ids
FieldsbodyList<string>NoSpecify attributes to be included in the response
ClientRequestHandlebodystringNo
mdmidsbodyList<string>No
ObjectDomainSchemasGetResponse Parameters:
NameParameterData TypeRequiredDescription
dataformDictionary<string, int>No
domaininfoformDictionary<int, DomainSchemaList>No
BazefieldResponse Parameters:
NameParameterData TypeRequiredDescription
ReplyInfoformReplyInfoNo
ReplyInfo Parameters:
NameParameterData TypeRequiredDescription
RcvTimeformdoubleNo
ReplyTimeformdoubleNo
ClientRequestHandleformstringNo
ErrorformstringNo
DomainSchemaList Parameters:
NameParameterData TypeRequiredDescription
schemasformList<DomainSchema>No
domainIDformintNo
domainNameformstringNo
DomainSchema Parameters:
NameParameterData TypeRequiredDescription
SchemaIdformint?No
SchemaTemplateIdformint?No
SchemaTemplateformstringNo
DomainIdformint?No
SchemaformstringNo
DescformstringNo
ParentIdformint?No
ParentSchemaformstringNo
ValueTypeformstringNo
Multipleformint?No
PointTypeformstringNo
UnitformstringNo
EuHighformdouble?No
EuLowformdouble?No
CoerceformstringNo
Deadbandformdouble?No
DeadbandTypeformint?No
UpdateRateformint?No
Requiredformbool?No
AccessTypeformint?No
Disabledformint?No
MetadataformstringNo
DataTemplateTypeformstringNo

To override the Content-type in your clients, use the 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 /api/objects/getschemas HTTP/1.1 
Host: mdn.bazefield.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	objectIds: 
	[
		String
	],
	fields: 
	[
		String
	],
	clientRequestHandle: String,
	mdmids: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	data: 
	{
		String: 0
	},
	domaininfo: 
	{
		0: 
		{
			schemas: 
			[
				{
					schemaId: 0,
					schemaTemplateId: 0,
					schemaTemplate: String,
					domainId: 0,
					schema: String,
					desc: String,
					parentId: 0,
					parentSchema: String,
					valueType: String,
					multiple: 0,
					pointType: String,
					unit: String,
					euHigh: 0,
					euLow: 0,
					coerce: String,
					deadband: 0,
					deadbandType: 0,
					updateRate: 0,
					required: False,
					accessType: 0,
					disabled: 0,
					metadata: String,
					dataTemplateType: String
				}
			],
			domainID: 0,
			domainName: String
		}
	},
	replyInfo: 
	{
		rcvTime: 0,
		replyTime: 0,
		clientRequestHandle: String,
		error: String
	}
}