API

Quality management APIs

GET quality/issues/{qualityIssueId}/actions/{actionId}

Gets an action

HTTP method GET
URI https://api.rambase.net/quality/issues/{qualityIssueId}/actions/{actionId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {qualityIssueId} Quality issue identifier
Integer, minimum 100000
- URI parameter {actionId} Action identifier
Integer, minimum 1
Successful HTTP status code 200
API resource identifier 4382, version 15

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.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable 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
<QualityIssueAction>
2
     <QualityIssueActionId
QualityIssueActionId

Action identifier

>
{Integer}</QualityIssueActionId>
3
     <Type
Type

Type of an action. Immediate, corrective or suggested

Possible domain values can be found here

>
{String}</Type>
4
     <AddedAt
AddedAt

Time and date when this action was added

>
{Datetime}</AddedAt>
5
     <AddedBy>
6
          <UserId
UserId

User identifier

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

First name of the user

>
{String}</FirstName>
8
          <Name
Name

Name of the user

>
{String}</Name>
9
          <UserLink
UserLink

User reference

>
{String}</UserLink>
10
     </AddedBy>
11
     <Task>
12
          <TaskId
TaskId

Unique task identifier

>
{Integer}</TaskId>
13
          <Status
Status

The status of a task

Possible domain values can be found here

>
{Integer}</Status>
14
          <Title
Title

The title/summary of the task

>
{String}</Title>
15
          <Description
Description

The description of the task

>
{String}</Description>
16
          <DeadlineAt
DeadlineAt

Date and time of when this task must be completed.

>
{Datetime}</DeadlineAt>
17
          <CompletedAt
CompletedAt

The full date and time when a task was completed

>
{Datetime}</CompletedAt>
18
          <Activity
Activity

Task type: Email, Phone call, Followup

Possible domain values can be found here

>
{Integer}</Activity>
19
          <AssignedTo
AssignedTo

The userId of the person this task is assigned to (responsible for doing the work)

>
20
               <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
21
               <LastName
LastName

Last name of employee

>
{String}</LastName>
22
               <FirstName
FirstName

First name of employee

>
{String}</FirstName>
23
               <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
24
          </AssignedTo>
25
          <TaskLink
TaskLink

Task reference

>
{String}</TaskLink>
26
     </Task>
27
     <QualityCause>
28
          <QualityCauseId
QualityCauseId

Reference to the cause of the action.

>
{Integer}</QualityCauseId>
29
          <Title
Title

Title of this cause

This field is greyed out because it is an expandable field. You have to add $expand=QualityCause.Title in your request URI to get this field

>
{String}</Title>
30
          <QualityCauseLink
QualityCauseLink

Document reference of a cause

>
{String}</QualityCauseLink>
31
     </QualityCause>
32
</QualityIssueAction>
1
{
2
     "qualityIssueAction": {
3
          "qualityIssueActionId
QualityIssueActionId

Action identifier

":
"{Integer}",
4
          "type
Type

Type of an action. Immediate, corrective or suggested

Possible domain values can be found here

":
"{String}",
5
          "addedAt
AddedAt

Time and date when this action was added

":
"{Datetime}",
6
          "addedBy": {
7
               "userId
UserId

User identifier

":
"{Integer}",
8
               "firstName
FirstName

First name of the user

":
"{String}",
9
               "name
Name

Name of the user

":
"{String}",
10
               "userLink
UserLink

User reference

":
"{String}"
11
          },
12
          "task": {
13
               "taskId
TaskId

Unique task identifier

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

The status of a task

Possible domain values can be found here

":
"{Integer}",
15
               "title
Title

The title/summary of the task

":
"{String}",
16
               "description
Description

The description of the task

":
"{String}",
17
               "deadlineAt
DeadlineAt

Date and time of when this task must be completed.

":
"{Datetime}",
18
               "completedAt
CompletedAt

The full date and time when a task was completed

":
"{Datetime}",
19
               "activity
Activity

Task type: Email, Phone call, Followup

Possible domain values can be found here

":
"{Integer}",
20
               "assignedTo
AssignedTo

The userId of the person this task is assigned to (responsible for doing the work)

":
{
21
                    "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
22
                    "lastName
LastName

Last name of employee

":
"{String}",
23
                    "firstName
FirstName

First name of employee

":
"{String}",
24
                    "employeeLink
EmployeeLink

Employee reference

":
"{String}"
25
               },
26
               "taskLink
TaskLink

Task reference

":
"{String}"
27
          },
28
          "qualityCause": {
29
               "qualityCauseId
QualityCauseId

Reference to the cause of the action.

":
"{Integer}",
30
               "title
Title

Title of this cause

This field is greyed out because it is an expandable field. You have to add $expand=QualityCause.Title in your request URI to get this field

":
"{String}",
31
               "qualityCauseLink
QualityCauseLink

Document reference of a cause

":
"{String}"
32
          }
33
     }
34
}

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 101606 HTTP 404 Module not found
Error 108271 HTTP 403 You are not authorized to view this process
Error 106107 HTTP 400 Wrong type of action