BazeField Services

<back to all web services

ObjectDomainScriptsGetRequest

Core API
Requires Authentication
The following routes are available for this service:
GET, POST/api/objects/getscripts
GET, POST/api/objects/{ObjectIds}/scriptsObsolete
ObjectDomainScriptsGetRequest Parameters:
NameParameterData TypeRequiredDescription
ObjectIdspathList<string>No
FieldsbodyList<string>No
ClientRequestHandlebodystringNo
ObjectDomainScriptsGetResponse Parameters:
NameParameterData TypeRequiredDescription
dataformDictionary<string, int>No
DomainScriptsformDictionary<int, DomainScriptList>No
BazefieldResponse Parameters:
NameParameterData TypeRequiredDescription
ReplyInfoformReplyInfoNo
ReplyInfo Parameters:
NameParameterData TypeRequiredDescription
RcvTimeformdoubleNo
ReplyTimeformdoubleNo
ClientRequestHandleformstringNo
ErrorformstringNo
DomainScriptList Parameters:
NameParameterData TypeRequiredDescription
ScriptsformList<DomainScript>No
DomainIDformintNo
DomainNameformstringNo
DomainScript Parameters:
NameParameterData TypeRequiredDescription
ScriptIdformint?No
NameformstringNo
SchemaIdformint?No
DomainIdformint?No
ScriptformstringNo
SettingsformDictionary<string, string>No
ScriptTypeformint?No
ScheduleTypeformint?No

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/getscripts HTTP/1.1 
Host: mdn.bazefield.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	data: 
	{
		String: 0
	},
	domainScripts: 
	{
		0: 
		{
			scripts: 
			[
				{
					scriptId: 0,
					name: String,
					schemaId: 0,
					domainId: 0,
					script: String,
					settings: 
					{
						String: String
					},
					scriptType: 0,
					scheduleType: 0
				}
			],
			domainID: 0,
			domainName: String
		}
	},
	replyInfo: 
	{
		rcvTime: 0,
		replyTime: 0,
		clientRequestHandle: String,
		error: String
	}
}