API

System APIs

GET system/api/api-operations/{operationId}/instances/{operationInstanceId}

Operation instance details for provided identifiers

HTTP method GET
URI https://api.rambase.net/system/api/api-operations/{operationId}/instances/{operationInstanceId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {operationId} Api operation identifiers
Integer, minimum 100000
- URI parameter {operationInstanceId} Operation instance identifier
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 1657, version 28

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.

Format:
1
1

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.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$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
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$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.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select 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.

Format:
1
<OperationInstance>
2
     <OperationInstanceId
OperationInstanceId

Operation instance identifier

>
{Integer}</OperationInstanceId>
3
     <Status
Status

Status of the instance, 2 = started, 7 = error, 9 = finished

Possible domain values can be found here

>
{Integer}</Status>
4
     <CreatedAt
CreatedAt

Date and time the operation instance was created

>
{Datetime}</CreatedAt>
5
     <CreatedBy
CreatedBy

Reference to the creator

>
6
          <UserId
UserId

User identifier

>
{Integer}</UserId>
7
          <UserLink
UserLink

User reference

>
{String}</UserLink>
8
     </CreatedBy>
9
     <CreatedFor>
10
          <Database
Database

Database of the object

>
{String}</Database>
11
          <ObjectId
ObjectId

Identifier of the object

>
{String}</ObjectId>
12
          <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
13
          <ObjectLink
ObjectLink

Identifier of the object

>
{String}</ObjectLink>
14
          <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
15
          <ItemType
ItemType

Type of item

>
{String}</ItemType>
16
          <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
17
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
18
     </CreatedFor>
19
     <ObjectReference>
20
          <ObjectId
ObjectId

Identifier of the object

>
{String}</ObjectId>
21
          <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
22
          <ObjectLink
ObjectLink

Identifier of the object

>
{String}</ObjectLink>
23
          <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
24
          <ItemType
ItemType

Type of item

>
{String}</ItemType>
25
          <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
26
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
27
     </ObjectReference>
28
     <Error>
29
          <Message
Message

Full error message/description. The message is generated from the specified ErrorMessage object, expanded with the given parameter(s).

>
{String}</Message>
30
          <TranslatedMessage
TranslatedMessage

Full translated error description. The language used is specified either in $lang or by user settings. If error message don't exist in desired language, english will be used.

>
{String}</TranslatedMessage>
31
          <StackTrace
StackTrace

Stack trace for details about the error

>
{String}</StackTrace>
32
          <ErrorMessage
ErrorMessage

Contains a reference to the error message, if an error occured

>
33
               <ErrorMessageId
ErrorMessageId

Error message identifier

>
{Integer}</ErrorMessageId>
34
               <ErrorMessageLink
ErrorMessageLink

Error message reference

>
{String}</ErrorMessageLink>
35
          </ErrorMessage>
36
          <Parameters>
37
               <Parameter>
38
                    <Index
Index

Error Key

>
{Integer}</Index>
39
                    <Value
Value

Value of the error parameter

>
{String}</Value>
40
               </Parameter>
41
          </Parameters>
42
          <InnerErrors>
43
               <Error>
44
                    <Message
Message

Full error message/description. The message is generated from the specified ErrorMessage object, expanded with the given parameter(s).

>
{String}</Message>
45
                    <TranslatedMessage
TranslatedMessage

Full translated error description. The language used is specified either in $lang or by user settings. If error message don't exist in desired language, english will be used.

>
{String}</TranslatedMessage>
46
                    <StackTrace
StackTrace

Stack trace for details about the error

>
{String}</StackTrace>
47
                    <ErrorMessage>
48
                         <ErrorMessageId
ErrorMessageId

Error message identifier

>
{Integer}</ErrorMessageId>
49
                         <ErrorMessageLink
ErrorMessageLink

Contains a reference to the error message, if an error occured

>
{String}</ErrorMessageLink>
50
                    </ErrorMessage>
51
                    <Parameters>
52
                         <Parameter>
53
                              <Index
Index

Error Key

>
{Integer}</Index>
54
                              <Value
Value

Value of the error parameter

>
{String}</Value>
55
                         </Parameter>
56
                    </Parameters>
57
               </Error>
58
          </InnerErrors>
59
     </Error>
60
     <ResultValues>
61
          <ResultValue>
62
               <Key
Key

Key of the result value

>
{String}</Key>
63
               <Value
Value

Value of the result value

>
{String}</Value>
64
          </ResultValue>
65
     </ResultValues>
66
     <SystemJob
SystemJob

Contains a reference to the system job, if a system job was started

>
67
          <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
68
          <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
69
          <PercentComplete
PercentComplete

Percent complete

>
{Integer}</PercentComplete>
70
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
71
          <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
72
     </SystemJob>
73
</OperationInstance>
1
{
2
     "operationInstance": {
3
          "operationInstanceId
OperationInstanceId

Operation instance identifier

":
"{Integer}",
4
          "status
Status

Status of the instance, 2 = started, 7 = error, 9 = finished

Possible domain values can be found here

":
"{Integer}",
5
          "createdAt
CreatedAt

Date and time the operation instance was created

":
"{Datetime}",
6
          "createdBy
CreatedBy

Reference to the creator

":
{
7
               "userId
UserId

User identifier

":
"{Integer}",
8
               "userLink
UserLink

User reference

":
"{String}"
9
          },
10
          "createdFor": {
11
               "database
Database

Database of the object

":
"{String}",
12
               "objectId
ObjectId

Identifier of the object

":
"{String}",
13
               "objectType
ObjectType

Type of object

":
"{String}",
14
               "objectLink
ObjectLink

Identifier of the object

":
"{String}",
15
               "itemId
ItemId

Item-number of the object

":
"{Integer}",
16
               "itemType
ItemType

Type of item

":
"{String}",
17
               "itemLink
ItemLink

API reference to the item

":
"{String}",
18
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
19
          },
20
          "objectReference": {
21
               "objectId
ObjectId

Identifier of the object

":
"{String}",
22
               "objectType
ObjectType

Type of object

":
"{String}",
23
               "objectLink
ObjectLink

Identifier of the object

":
"{String}",
24
               "itemId
ItemId

Item-number of the object

":
"{Integer}",
25
               "itemType
ItemType

Type of item

":
"{String}",
26
               "itemLink
ItemLink

API reference to the item

":
"{String}",
27
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
28
          },
29
          "error": {
30
               "message
Message

Full error message/description. The message is generated from the specified ErrorMessage object, expanded with the given parameter(s).

":
"{String}",
31
               "translatedMessage
TranslatedMessage

Full translated error description. The language used is specified either in $lang or by user settings. If error message don't exist in desired language, english will be used.

":
"{String}",
32
               "stackTrace
StackTrace

Stack trace for details about the error

":
"{String}",
33
               "errorMessage
ErrorMessage

Contains a reference to the error message, if an error occured

":
{
34
                    "errorMessageId
ErrorMessageId

Error message identifier

":
"{Integer}",
35
                    "errorMessageLink
ErrorMessageLink

Error message reference

":
"{String}"
36
               },
37
               "parameters": [
38
                    {
39
                         "index
Index

Error Key

":
"{Integer}",
40
                         "value
Value

Value of the error parameter

":
"{String}"
41
                    }
42
               ],
43
               "innerErrors": [
44
                    {
45
                         "message
Message

Full error message/description. The message is generated from the specified ErrorMessage object, expanded with the given parameter(s).

":
"{String}",
46
                         "translatedMessage
TranslatedMessage

Full translated error description. The language used is specified either in $lang or by user settings. If error message don't exist in desired language, english will be used.

":
"{String}",
47
                         "stackTrace
StackTrace

Stack trace for details about the error

":
"{String}",
48
                         "errorMessage": {
49
                              "errorMessageId
ErrorMessageId

Error message identifier

":
"{Integer}",
50
                              "errorMessageLink
ErrorMessageLink

Contains a reference to the error message, if an error occured

":
"{String}"
51
                         },
52
                         "parameters": [
53
                              {
54
                                   "index
Index

Error Key

":
"{Integer}",
55
                                   "value
Value

Value of the error parameter

":
"{String}"
56
                              }
57
                         ]
58
                    }
59
               ]
60
          },
61
          "resultValues": [
62
               {
63
                    "key
Key

Key of the result value

":
"{String}",
64
                    "value
Value

Value of the result value

":
"{String}"
65
               }
66
          ],
67
          "systemJob
SystemJob

Contains a reference to the system job, if a system job was started

":
{
68
               "objectId
ObjectId

Identifier of the object

":
"{Integer}",
69
               "objectType
ObjectType

Type of object

":
"{String}",
70
               "percentComplete
PercentComplete

Percent complete

":
"{Integer}",
71
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
72
               "objectLink
ObjectLink

API reference to the object

":
"{String}"
73
          }
74
     }
75
}

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 100620 HTTP 400 Message is required
Error 100445 HTTP 404 Operation instance not found