API

Product APIs

GET product/quality-control-triggers/{qualityControlTriggerId}

Gets details of a quality control trigger.

HTTP method GET
URI https://api.rambase.net/product/quality-control-triggers/{qualityControlTriggerId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {qualityControlTriggerId} Quality control trigger identifier
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 6668, 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.
$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
<QualityControlTrigger>
2
     <QualityControlTriggerId
QualityControlTriggerId

Quality control trigger identifier

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

Status of quality control trigger

Possible domain values can be found here

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

Date and time of creation

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

Name of quality control trigger

>
{String}</Name>
6
     <IsRestrictedLocationExisting
IsRestrictedLocationExisting

True if restricted location exists for the quality control trigger

>
{Boolean}</IsRestrictedLocationExisting>
7
     <IsRestrictedSupplierIncluded
IsRestrictedSupplierIncluded

True if it exists restricted supplier that applies to the quality control trigger

>
{Boolean}</IsRestrictedSupplierIncluded>
8
     <IsRestrictedSupplierExcluded
IsRestrictedSupplierExcluded

True if it exists restricted supplier that does not applies to the quality control trigger

>
{Boolean}</IsRestrictedSupplierExcluded>
9
     <IsRestrictedSupplierClassificationExisting
IsRestrictedSupplierClassificationExisting

True if restricted supplier classification exists for the quality control trigger

>
{Boolean}</IsRestrictedSupplierClassificationExisting>
10
     <HasDocumentationRequirement
HasDocumentationRequirement

If “true” it means that by attempt to register SSA, it will be checked if the SPO item which the SSA item origins from do have “documentation requirements” (in RQM) and if they are fullfilled or not.

>
{Boolean}</HasDocumentationRequirement>
11
     <TriggerFor>
12
          <ObjectType
ObjectType

The document type like SPO, ...

Possible domain values can be found here

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

Quality control will be triggered by attempt to register goods reception (SSA) from this status to next status

Possible domain values can be found here

>
{Integer}</ObjectStatus>
14
     </TriggerFor>
15
     <Frequency>
16
          <Interval>
17
               <Threshold
Threshold

Interval in which the object item receives a quality control notification. . For QCT for goods reception e.g value "5" means that every fifth SPO item that matches the criterias for location, product and account will get a notification because of this trigger.

>
{Integer}</Threshold>
18
               <Remaining
Remaining

Remaning interval in which the object item receives a quality control notification. This is a number that will be counted down based on the number that is set up in “Interval”. E.g “Interval” is “5” for quality control of goods reception means that this QCT should be triggered for each 5th purchase order SPO) item. First time it’s triggered, “RemainingInterval” is counted down to “4”. Next time to “3” etc. When it’s triggered 5 times, it’s reset to “5”

>
{Integer}</Remaining>
19
          </Interval>
20
          <Upcoming>
21
               <Next
Next

The number of new objects for which the quality control trigger will be triggered

>
{Integer}</Next>
22
               <Remaining
Remaining

The remaining number of new objects for which the quality control trigger will be triggered. This is a number that will be counted down based on the number that is set up in “Next”. E.g “Next” is “20”, means that this QCT should be triggered for the next 20 order items. First time it’s triggered, “RemainingNext” is counted down to “19”. Next time to “18” etc. When it’s triggered 20 times, it doesn’t apply any more.

>
{Integer}</Remaining>
23
          </Upcoming>
24
     </Frequency>
25
     <CreatedBy
CreatedBy

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

>
26
          <UserId
UserId

User identifier

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

>
{Integer}</UserId>
27
          <Name
Name

Name of the user

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

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

First name of the user

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

>
{String}</FirstName>
29
          <UserLink
UserLink

User reference

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

>
{String}</UserLink>
30
     </CreatedBy>
31
     <Validity>
32
          <EffectiveDate
EffectiveDate

The date the quality control trigger is effective from

>
{Date}</EffectiveDate>
33
          <ExpirationDate
ExpirationDate

The date when the quality control trigger expires

>
{Date}</ExpirationDate>
34
     </Validity>
35
     <Notification>
36
          <MessageToController
MessageToController

Message with additional informaation for a quality control trigger. Text to be copied to transatcion document when a notification is added due to this trigger.

>
{String}</MessageToController>
37
          <NotificationType
NotificationType

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

>
38
               <NotificationTypeId
NotificationTypeId

Notification type identifier

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

>
{Integer}</NotificationTypeId>
39
               <TranslatedMessage
TranslatedMessage

The notification definition message in user language.

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

>
{String}</TranslatedMessage>
40
               <NotificationTypeLink
NotificationTypeLink

Notification type reference

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

>
{String}</NotificationTypeLink>
41
          </NotificationType>
42
     </Notification>
43
</QualityControlTrigger>
1
{
2
     "qualityControlTrigger": {
3
          "qualityControlTriggerId
QualityControlTriggerId

Quality control trigger identifier

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

Status of quality control trigger

Possible domain values can be found here

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

Date and time of creation

":
"{Datetime}",
6
          "name
Name

Name of quality control trigger

":
"{String}",
7
          "isRestrictedLocationExisting
IsRestrictedLocationExisting

True if restricted location exists for the quality control trigger

":
"{Boolean}",
8
          "isRestrictedSupplierIncluded
IsRestrictedSupplierIncluded

True if it exists restricted supplier that applies to the quality control trigger

":
"{Boolean}",
9
          "isRestrictedSupplierExcluded
IsRestrictedSupplierExcluded

True if it exists restricted supplier that does not applies to the quality control trigger

":
"{Boolean}",
10
          "isRestrictedSupplierClassificationExisting
IsRestrictedSupplierClassificationExisting

True if restricted supplier classification exists for the quality control trigger

":
"{Boolean}",
11
          "hasDocumentationRequirement
HasDocumentationRequirement

If “true” it means that by attempt to register SSA, it will be checked if the SPO item which the SSA item origins from do have “documentation requirements” (in RQM) and if they are fullfilled or not.

":
"{Boolean}",
12
          "triggerFor": {
13
               "objectType
ObjectType

The document type like SPO, ...

Possible domain values can be found here

":
"{String}",
14
               "objectStatus
ObjectStatus

Quality control will be triggered by attempt to register goods reception (SSA) from this status to next status

Possible domain values can be found here

":
"{Integer}"
15
          },
16
          "frequency": {
17
               "interval": {
18
                    "threshold
Threshold

Interval in which the object item receives a quality control notification. . For QCT for goods reception e.g value "5" means that every fifth SPO item that matches the criterias for location, product and account will get a notification because of this trigger.

":
"{Integer}",
19
                    "remaining
Remaining

Remaning interval in which the object item receives a quality control notification. This is a number that will be counted down based on the number that is set up in “Interval”. E.g “Interval” is “5” for quality control of goods reception means that this QCT should be triggered for each 5th purchase order SPO) item. First time it’s triggered, “RemainingInterval” is counted down to “4”. Next time to “3” etc. When it’s triggered 5 times, it’s reset to “5”

":
"{Integer}"
20
               },
21
               "upcoming": {
22
                    "next
Next

The number of new objects for which the quality control trigger will be triggered

":
"{Integer}",
23
                    "remaining
Remaining

The remaining number of new objects for which the quality control trigger will be triggered. This is a number that will be counted down based on the number that is set up in “Next”. E.g “Next” is “20”, means that this QCT should be triggered for the next 20 order items. First time it’s triggered, “RemainingNext” is counted down to “19”. Next time to “18” etc. When it’s triggered 20 times, it doesn’t apply any more.

":
"{Integer}"
24
               }
25
          },
26
          "createdBy
CreatedBy

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

":
{
27
               "userId
UserId

User identifier

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

":
"{Integer}",
28
               "name
Name

Name of the user

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

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

First name of the user

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

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

User reference

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

":
"{String}"
31
          },
32
          "validity": {
33
               "effectiveDate
EffectiveDate

The date the quality control trigger is effective from

":
"{Date}",
34
               "expirationDate
ExpirationDate

The date when the quality control trigger expires

":
"{Date}"
35
          },
36
          "notification": {
37
               "messageToController
MessageToController

Message with additional informaation for a quality control trigger. Text to be copied to transatcion document when a notification is added due to this trigger.

":
"{String}",
38
               "notificationType
NotificationType

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

":
{
39
                    "notificationTypeId
NotificationTypeId

Notification type identifier

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

":
"{Integer}",
40
                    "translatedMessage
TranslatedMessage

The notification definition message in user language.

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

":
"{String}",
41
                    "notificationTypeLink
NotificationTypeLink

Notification type reference

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

":
"{String}"
42
               }
43
          }
44
     }
45
}

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 100147 HTTP 404 Notification type not found