Quality management APIs
Update a Quality Issue
HTTP method | PUT |
URI | https://api.rambase.net/quality/issues/{qualityIssueId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {qualityIssueId} |
Quality issue identifier
Integer, minimum 100000 |
Custom fields | Custom fields supported |
Successful HTTP status code | 200 |
API resource identifier | 4470, version 33 |
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.
QualityIssue
This field is optional.
>Description
Description of quality issue
This field is optional.
>{String}</Description>Type
Quality issue type. I.E "Incident", "Observation" or "Improvement proposal"
Applicable domain values can be found here
This field is optional.
>{Integer}</Type>Title
Title of the issue
This field is optional.
>{String}</Title>Category
Category of the quality issue. Together with type this should apply information on which field/area of a system the quality issue is addressing
Applicable domain values can be found here
This field is optional.
>{Integer}</Category>OccuredAt
Time and date when the issue occured
This field is optional.
>{Datetime}</OccuredAt>DueDate
Time and date when this issue should be resolved
This field is optional.
>{Date}</DueDate>ExternalReference
External reference identifier from the customer
This field is optional.
>{String}</ExternalReference>ExternalTitle
External title used in external correspondence. Is used in order to send modified title of quality issue to customer
This field is optional.
>{String}</ExternalTitle>RequireReview
True if this issue requires a review. False if not
This field is optional.
>{Boolean}</RequireReview>NotifyWhenClosed
If true, a notification will be sent to the creator when closing this issue.
This field is optional.
>{Boolean}</NotifyWhenClosed>ReportedBy
This field is optional.
>Object
This field is optional.
>ObjectType
Type of object
This field is optional.
>{String}</ObjectType>ObjectId
Identifier of the object
Minimum value: 1
This field is optional.
>{Integer}</ObjectId>Location
This field is optional.
>LocationId
Location identifier
Minimum value: 10000
This field is optional.
>{Integer}</LocationId>Responsible
This field is optional.
>EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
>{Integer}</EmployeeId>Assignee
This field is optional.
>EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
>{Integer}</EmployeeId>Department
This field is optional.
>DepartmentId
Department identifier
Minimum value: 1
This field is optional.
>{Integer}</DepartmentId>Context
This field is optional.
>AffectedQuantity
Quantity of product units affected by this quality issue.
Minimum value: 0
This field is optional.
>{Integer}</AffectedQuantity>TotalQuantity
The quantity that will be (or has been) produced
Minimum value: 0
This field is optional.
>{Integer}</TotalQuantity>Source
This field is optional.
>ObjectId
Identifier of the object
This field is optional.
>{Integer}</ObjectId>ObjectType
Type of object
This field is optional.
>{String}</ObjectType>ItemId
Item-number of the object
This field is optional.
>{Integer}</ItemId>FinanceProject
This field is optional.
>FinanceProjectId
Finance project identifier
Minimum value: 1
This field is optional.
>{Integer}</FinanceProjectId>Product
This field is optional.
>ProductId
Product identifier
Minimum value: 10000
This field is optional.
>{Integer}</ProductId>Customer
This field is optional.
>CustomerId
Customer identifier
Minimum value: 10000
This field is optional.
>{Integer}</CustomerId>Supplier
This field is optional.
>SupplierId
RamBase supplier identifier
Minimum value: 100
This field is optional.
>{Integer}</SupplierId>ProductionResource
This field is optional.
>ProductionResourceId
Production resource identifier
Minimum value: 100000
This field is optional.
>{Integer}</ProductionResourceId>SalesOrder
This field is optional.
>SalesOrderId
Sales order identifier
Minimum value: 100000
This field is optional.
>{Integer}</SalesOrderId>SalesOrderItem
This field is optional.
>SalesOrderItemId
Sales order item identifier
Minimum value: 1
This field is optional.
>{Integer}</SalesOrderItemId>Manufacturer
This field is optional.
>ManufacturerId
Manufacturer identifier
Minimum value: 1000
This field is optional.
>{Integer}</ManufacturerId>DetectedOnOperation
This field is optional.
>ProductionOperationId
Production operation identifier
Minimum value: 1000
This field is optional.
>{Integer}</ProductionOperationId>OccurredOnOperation
This field is optional.
>ProductionOperationId
Production operation identifier
Minimum value: 1000
This field is optional.
>{Integer}</ProductionOperationId>Material
This field is optional.
>ProductId
Product identifier
Minimum value: 10000
This field is optional.
>{Integer}</ProductId>ProductionWorkOrder
This field is optional.
>ProductionWorkOrderId
Production work order identifier
Minimum value: 100000
This field is optional.
>{Integer}</ProductionWorkOrderId>PurchaseOrder
This field is optional.
>PurchaseOrderId
Purchase order identifier
Minimum value: 100000
This field is optional.
>{Integer}</PurchaseOrderId>PurchaseOrderItem
This field is optional.
>PurchaseOrderItemId
Item-/line-number of the purchase order
Minimum value: 1
This field is optional.
>{Integer}</PurchaseOrderItemId>QualityIssue
This field is optional.
": {Description
Description of quality issue
This field is optional.
": "{String}",Type
Quality issue type. I.E "Incident", "Observation" or "Improvement proposal"
Applicable domain values can be found here
This field is optional.
": "{Integer}",Title
Title of the issue
This field is optional.
": "{String}",Category
Category of the quality issue. Together with type this should apply information on which field/area of a system the quality issue is addressing
Applicable domain values can be found here
This field is optional.
": "{Integer}",OccuredAt
Time and date when the issue occured
This field is optional.
": "{Datetime}",DueDate
Time and date when this issue should be resolved
This field is optional.
": "{Date}",ExternalReference
External reference identifier from the customer
This field is optional.
": "{String}",ExternalTitle
External title used in external correspondence. Is used in order to send modified title of quality issue to customer
This field is optional.
": "{String}",RequireReview
True if this issue requires a review. False if not
This field is optional.
": "{Boolean}",NotifyWhenClosed
If true, a notification will be sent to the creator when closing this issue.
This field is optional.
": "{Boolean}",ReportedBy
This field is optional.
": {Object
This field is optional.
": {ObjectType
Type of object
This field is optional.
": "{String}",ObjectId
Identifier of the object
Minimum value: 1
This field is optional.
": "{Integer}"Location
This field is optional.
": {LocationId
Location identifier
Minimum value: 10000
This field is optional.
": "{Integer}"Responsible
This field is optional.
": {EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
": "{Integer}"Assignee
This field is optional.
": {EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
": "{Integer}"Department
This field is optional.
": {DepartmentId
Department identifier
Minimum value: 1
This field is optional.
": "{Integer}"Context
This field is optional.
": {AffectedQuantity
Quantity of product units affected by this quality issue.
Minimum value: 0
This field is optional.
": "{Integer}",TotalQuantity
The quantity that will be (or has been) produced
Minimum value: 0
This field is optional.
": "{Integer}",Source
This field is optional.
": {ObjectId
Identifier of the object
This field is optional.
": "{Integer}",ObjectType
Type of object
This field is optional.
": "{String}",ItemId
Item-number of the object
This field is optional.
": "{Integer}"FinanceProject
This field is optional.
": {FinanceProjectId
Finance project identifier
Minimum value: 1
This field is optional.
": "{Integer}"Product
This field is optional.
": {ProductId
Product identifier
Minimum value: 10000
This field is optional.
": "{Integer}"Customer
This field is optional.
": {CustomerId
Customer identifier
Minimum value: 10000
This field is optional.
": "{Integer}"Supplier
This field is optional.
": {SupplierId
RamBase supplier identifier
Minimum value: 100
This field is optional.
": "{Integer}"ProductionResource
This field is optional.
": {ProductionResourceId
Production resource identifier
Minimum value: 100000
This field is optional.
": "{Integer}"SalesOrder
This field is optional.
": {SalesOrderId
Sales order identifier
Minimum value: 100000
This field is optional.
": "{Integer}"SalesOrderItem
This field is optional.
": {SalesOrderItemId
Sales order item identifier
Minimum value: 1
This field is optional.
": "{Integer}"Manufacturer
This field is optional.
": {ManufacturerId
Manufacturer identifier
Minimum value: 1000
This field is optional.
": "{Integer}"DetectedOnOperation
This field is optional.
": {ProductionOperationId
Production operation identifier
Minimum value: 1000
This field is optional.
": "{Integer}"OccurredOnOperation
This field is optional.
": {ProductionOperationId
Production operation identifier
Minimum value: 1000
This field is optional.
": "{Integer}"Material
This field is optional.
": {ProductId
Product identifier
Minimum value: 10000
This field is optional.
": "{Integer}"ProductionWorkOrder
This field is optional.
": {ProductionWorkOrderId
Production work order identifier
Minimum value: 100000
This field is optional.
": "{Integer}"PurchaseOrder
This field is optional.
": {PurchaseOrderId
Purchase order identifier
Minimum value: 100000
This field is optional.
": "{Integer}"PurchaseOrderItem
This field is optional.
": {PurchaseOrderItemId
Item-/line-number of the purchase order
Minimum value: 1
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. |
$showCustomFields Boolean, optional | Set to "true" to include custom fields. Default value is false. |
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 101606 HTTP 404 | Module not found |
Error 102018 HTTP 403 | You need permission {0}. Duties with this permission: {1} |
Error 101420 HTTP 404 | Setting definition not found |
Error 106156 HTTP 400 | Department cannot be empty. |
Error 106155 HTTP 400 | OccuredAt cannot be empty. |
Error 105858 HTTP 400 | Responsible cannot be empty. |