Click or drag to resize

IResourceAddNewResource Method

Adds a new Resource.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
Resource AddNewResource(
	Resource resourceInfo
)

Parameters

resourceInfo  Resource
Resource object.

Mandatory data members:

  • Name.

Default values for optional members:

  • IsActive: True by default, cannot be disabled.

Return Value

Resource
Resource object.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
NoPermissionExceptionAPI user does not have permission to perform the action.
ValidationExceptionInput data was not valid.
GeneralFailureExceptionAny other fault.
Remarks
Name must be unique.
See Also