System APIs
Store api operation details for provided identifier
HTTP method | PUT |
URI | https://api.rambase.net/system/api/api-operations/{operationId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {operationId} |
Api operation identifiers
Integer, minimum 100000 |
Successful HTTP status code | 202 |
API resource identifier | 1699, version 14 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
ApiOperation
This field is optional.
>Status
Status of the Api Operation
This field is optional.
>{String}</Status>Name
Name of the Api Operation
This field is optional.
>{String}</Name>Description
Description of the Api Operation
This field is optional.
>{String}</Description>Program
Program (COS/RES) of this operation. Using RES requires that the operation is explicitly defined as a resource. ProgramNumber should match the resource number of the explicitly defined resource.
This field is optional.
>{String}</Program>ProgramId
If Program is COS, then this number is a COS. If Program is RES, then this number is the explicitly defined operation resource.
This field is optional.
>{Integer}</ProgramId>Namespace
Namespace of the Api Operation
This field is optional.
>{String}</Namespace>MutexDefinition
The mutual exclusion (mutex) definition/formula. Can contain unexpanded parameters.
This field is optional.
>{String}</MutexDefinition>Permission
This field is optional.
>PermissionId
Permission identifier
This field is optional.
>{Integer}</PermissionId>AccessStatements
This field is optional.
>AccessStatement
This field is optional.
>LineNumber
Line number of access statement
This field is optional.
>{Integer}</LineNumber>StatementType
Statement type of the access statement (ex. IF, THROW, AND, OR)
This field is optional.
>{String}</StatementType>FieldSource
Source of field (ex. DOC, SYS)
This field is optional.
>{String}</FieldSource>Field
Value of field (ex. DOC, PID )
This field is optional.
>{String}</Field>Operator
Operator of comparison (ex. EQ, NE, LT, GE)
This field is optional.
>{String}</Operator>ValueSource
Source of value (ex. DOC, SYS, blank)
This field is optional.
>{String}</ValueSource>Value
Value to compare with. If ValueSource is given, Value can be field of source (ex. PID, DOCTYPE)
This field is optional.
>{String}</Value>ParentLineNumber
Reference to parent statement identified with LineNumber
This field is optional.
>{Integer}</ParentLineNumber>ApiOperation
This field is optional.
": {Status
Status of the Api Operation
This field is optional.
": "{String}",Name
Name of the Api Operation
This field is optional.
": "{String}",Description
Description of the Api Operation
This field is optional.
": "{String}",Program
Program (COS/RES) of this operation. Using RES requires that the operation is explicitly defined as a resource. ProgramNumber should match the resource number of the explicitly defined resource.
This field is optional.
": "{String}",ProgramId
If Program is COS, then this number is a COS. If Program is RES, then this number is the explicitly defined operation resource.
This field is optional.
": "{Integer}",Namespace
Namespace of the Api Operation
This field is optional.
": "{String}",MutexDefinition
The mutual exclusion (mutex) definition/formula. Can contain unexpanded parameters.
This field is optional.
": "{String}",Permission
This field is optional.
": {PermissionId
Permission identifier
This field is optional.
": "{Integer}"AccessStatements
This field is optional.
": [LineNumber
Line number of access statement
This field is optional.
": "{Integer}",StatementType
Statement type of the access statement (ex. IF, THROW, AND, OR)
This field is optional.
": "{String}",FieldSource
Source of field (ex. DOC, SYS)
This field is optional.
": "{String}",Field
Value of field (ex. DOC, PID )
This field is optional.
": "{String}",Operator
Operator of comparison (ex. EQ, NE, LT, GE)
This field is optional.
": "{String}",ValueSource
Source of value (ex. DOC, SYS, blank)
This field is optional.
": "{String}",Value
Value to compare with. If ValueSource is given, Value can be field of source (ex. PID, DOCTYPE)
This field is optional.
": "{String}",ParentLineNumber
Reference to parent statement identified with LineNumber
This field is optional.
": "{Integer}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 101015 HTTP 404 | Permission not found |
Error 100429 HTTP 400 | Invalid statement type: {0} |
Error 100436 HTTP 400 | Invalid access statements |
Error 100428 HTTP 400 | The operator is not valid: {0} |
Error 100427 HTTP 400 | ParentLineNumber not found: {0} |