SearchAdapter Web Services

<back to all web services

VkInfo

The following routes are available for this service:
GET/vk/infoVK service metadata
VkInfoResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsbodyList<VkInfoItem>No
ResponseStatusbodyResponseStatusNo
VkInfoItem Parameters:
NameParameterData TypeRequiredDescription
KeybodystringNo
ValuebodystringNo

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 /jsv/reply/VkInfo HTTP/1.1 
Host: api-dev.1881.no 
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			Key: String,
			Value: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}