ScannerVision Web Server

<back to all web services

PostConnections

The following routes are available for this service:
POST/connections
PostConnections Parameters:
NameParameterData TypeRequiredDescription
LoginCommandbodystringNo
LogoutCommandbodystringNo
PasswordbodystringNo
SaveCommandbodystringNo
UserNamebodystringNo
GetConnectionsResponse Parameters:
NameParameterData TypeRequiredDescription
ConnectionsformIEnumerable<IConnectorConnection>No
IsAuthenticatedformboolNo
IConnectorConnection Parameters:
NameParameterData TypeRequiredDescription
ConnectorIdformGuidNo
DescriptionformstringNo
IdformstringNo
MaxConnectionsformintNo
NameformstringNo
PermissionsformReadOnlyCollection<IConnectionPermission>No
PropertyDescriptionsformReadOnlyCollection<IConnectionPropertyDescription>No
SetupUserformIUserNo
IConnectionPermission Parameters:
NameParameterData TypeRequiredDescription
AllowformboolNo
ConnectionformIConnectorConnectionNo
TypeformPermissionTypeNo
PermissionType Enum:
Group
User
IConnectionPropertyDescription Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
NameformstringNo
PropertyIdformGuidNo
PropertyTypeformPropertyTypeNo
PropertyType Enum:
NameValue
Binary1
Boolean2
ConnectionString3
Credential4
Integer5
Picklist6
String7
OAuth28
Certificate9
IUser Parameters:
NameParameterData TypeRequiredDescription
GroupsformReadOnlyCollection<IUserGroup>No
EmailAddressformstringNo
HasPasswordformboolNo
HomeFolderformstringNo
PasswordformstringNo
SbcUserformbool?No
IUserGroup Parameters:
NameParameterData TypeRequiredDescription
UsersformReadOnlyCollection<IUser>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /connections HTTP/1.1 
Host: buildmax.org 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"LoginCommand":"String","LogoutCommand":"String","Password":"String","SaveCommand":"String","UserName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"IsAuthenticated":false}