API

Collaboration APIs

GET collaboration/file-requirements/{fileRequirementId}

Get details of a file requirement

HTTP method GET
URI https://api.rambase.net/collaboration/file-requirements/{fileRequirementId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {fileRequirementId} Unique identifier for Requirements
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 5292, version 4

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
<FileRequirement>
2
     <FileRequirementId
FileRequirementId

Unique identifier for Requirements

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

The status of a requirement indicates if the requirement for documentation is completed

Possible domain values can be found here

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

Automatically generated timestamp field maintained by the execution engine (when document data is updated)

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

Date and time of update

>
{Datetime}</UpdatedAt>
6
     <Description
Description

Description of file requirement

>
{String}</Description>
7
     <RequiredForInternalUse
RequiredForInternalUse

Sets requirements for internal documentation

>
{Boolean}</RequiredForInternalUse>
8
     <RequiredForMRB
RequiredForMRB

Sets requirements to Manufacturing Record book.

>
{Boolean}</RequiredForMRB>
9
     <FileType>
10
          <FileTypeId
FileTypeId

Reference to the file type this requirement will be fulfilled by.

>
{Integer}</FileTypeId>
11
          <Name
Name

Strong typed name for a file type

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

>
{String}</Name>
12
          <FileTypeLink
FileTypeLink

Full doc reference to the FileType id

>
{String}</FileTypeLink>
13
     </FileType>
14
     <Regarding
Regarding

Owning object. Used to link a requirement to a operations or other objects that has documentation requirements.

>
15
          <ObjectType
ObjectType

Type of object

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

Identifier of the object

>
{Integer}</ObjectId>
17
          <ItemType
ItemType

Type of item

>
{String}</ItemType>
18
          <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
19
          <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
20
          <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
21
     </Regarding>
22
     <Context>
23
          <Product
Product

Requirement is based on matching ARTIT. If this field is used, a file linked to SSA.ITM must be matching this artit.

>
24
               <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
25
               <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
26
          </Product>
27
          <ProductionOperation
ProductionOperation

Requirement is based on matching OPRNO. If this field is used, a file linked to PWO with this OPR in kit item must be matching this OPRNO.

>
28
               <ProductionOperationId
ProductionOperationId

Production operation identifier

>
{Integer}</ProductionOperationId>
29
               <ProductionOperationLink
ProductionOperationLink

Production operation reference

>
{String}</ProductionOperationLink>
30
          </ProductionOperation>
31
          <PurchaseOrderItem
PurchaseOrderItem

Value set from originating purchase ORDERITEMID

>
32
               <PurchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

>
{Integer}</PurchaseOrderItemId>
33
               <PurchaseOrder
PurchaseOrder

Value set from originating purchase ORDERID

>
34
                    <PurchaseOrderId
PurchaseOrderId

Purchase order identifier

>
{Integer}</PurchaseOrderId>
35
                    <PurchaseOrderLink
PurchaseOrderLink

Purchase order reference

>
{String}</PurchaseOrderLink>
36
               </PurchaseOrder>
37
               <PurchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

>
{String}</PurchaseOrderItemLink>
38
          </PurchaseOrderItem>
39
          <SalesOrderItem
SalesOrderItem

Value set from the originating sales order item ORDERITMID

>
40
               <SalesOrderItemId
SalesOrderItemId

Sales order item identifier

>
{Integer}</SalesOrderItemId>
41
               <SalesOrder
SalesOrder

Value set from the originating sales order ORDERID

>
42
                    <SalesOrderId
SalesOrderId

Sales order identifier

>
{Integer}</SalesOrderId>
43
                    <SalesOrderLink
SalesOrderLink

Sales order reference

>
{String}</SalesOrderLink>
44
               </SalesOrder>
45
               <SalesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

>
{String}</SalesOrderItemLink>
46
          </SalesOrderItem>
47
     </Context>
48
     <StopEvent
StopEvent

Optional event type which requires file requirement to be met (ProductionOperationCompleted, ProductActivated). DOV

>
49
          <EventTypeId
EventTypeId

RamBase event type identifier

>
{Integer}</EventTypeId>
50
          <EventTypeLink
EventTypeLink

RamBase event type reference

>
{String}</EventTypeLink>
51
     </StopEvent>
52
</FileRequirement>
1
{
2
     "fileRequirement": {
3
          "fileRequirementId
FileRequirementId

Unique identifier for Requirements

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

The status of a requirement indicates if the requirement for documentation is completed

Possible domain values can be found here

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

Automatically generated timestamp field maintained by the execution engine (when document data is updated)

":
"{Datetime}",
6
          "updatedAt
UpdatedAt

Date and time of update

":
"{Datetime}",
7
          "description
Description

Description of file requirement

":
"{String}",
8
          "requiredForInternalUse
RequiredForInternalUse

Sets requirements for internal documentation

":
"{Boolean}",
9
          "requiredForMRB
RequiredForMRB

Sets requirements to Manufacturing Record book.

":
"{Boolean}",
10
          "fileType": {
11
               "fileTypeId
FileTypeId

Reference to the file type this requirement will be fulfilled by.

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

Strong typed name for a file type

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

":
"{String}",
13
               "fileTypeLink
FileTypeLink

Full doc reference to the FileType id

":
"{String}"
14
          },
15
          "regarding
Regarding

Owning object. Used to link a requirement to a operations or other objects that has documentation requirements.

":
{
16
               "objectType
ObjectType

Type of object

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

Identifier of the object

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

Type of item

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

Item-number of the object

":
"{Integer}",
20
               "objectLink
ObjectLink

API reference to the object

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

API reference to the item

":
"{String}"
22
          },
23
          "context": {
24
               "product
Product

Requirement is based on matching ARTIT. If this field is used, a file linked to SSA.ITM must be matching this artit.

":
{
25
                    "productId
ProductId

Product identifier

":
"{Integer}",
26
                    "productLink
ProductLink

Product reference

":
"{String}"
27
               },
28
               "productionOperation
ProductionOperation

Requirement is based on matching OPRNO. If this field is used, a file linked to PWO with this OPR in kit item must be matching this OPRNO.

":
{
29
                    "productionOperationId
ProductionOperationId

Production operation identifier

":
"{Integer}",
30
                    "productionOperationLink
ProductionOperationLink

Production operation reference

":
"{String}"
31
               },
32
               "purchaseOrderItem
PurchaseOrderItem

Value set from originating purchase ORDERITEMID

":
{
33
                    "purchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

":
"{Integer}",
34
                    "purchaseOrder
PurchaseOrder

Value set from originating purchase ORDERID

":
{
35
                         "purchaseOrderId
PurchaseOrderId

Purchase order identifier

":
"{Integer}",
36
                         "purchaseOrderLink
PurchaseOrderLink

Purchase order reference

":
"{String}"
37
                    },
38
                    "purchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

":
"{String}"
39
               },
40
               "salesOrderItem
SalesOrderItem

Value set from the originating sales order item ORDERITMID

":
{
41
                    "salesOrderItemId
SalesOrderItemId

Sales order item identifier

":
"{Integer}",
42
                    "salesOrder
SalesOrder

Value set from the originating sales order ORDERID

":
{
43
                         "salesOrderId
SalesOrderId

Sales order identifier

":
"{Integer}",
44
                         "salesOrderLink
SalesOrderLink

Sales order reference

":
"{String}"
45
                    },
46
                    "salesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

":
"{String}"
47
               }
48
          },
49
          "stopEvent
StopEvent

Optional event type which requires file requirement to be met (ProductionOperationCompleted, ProductActivated). DOV

":
{
50
               "eventTypeId
EventTypeId

RamBase event type identifier

":
"{Integer}",
51
               "eventTypeLink
EventTypeLink

RamBase event type reference

":
"{String}"
52
          }
53
     }
54
}

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 104978 HTTP 404 File type is not found