API

Collaboration APIs

PUT collaboration/file-requirements/{fileRequirementId}

Updates a file requirement on a uniquie identifier

HTTP method PUT
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 5293, 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
<FileRequirement
FileRequirement

This field is optional.

>
2
     <Description
Description

Description of file requirement

This field is optional.

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

Sets requirements for internal documentation

This field is optional.

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

Sets requirements to Manufacturing Record book.

This field is optional.

>
{Boolean}</RequiredForMRB>
5
     <Context
Context

This field is optional.

>
6
          <Product
Product

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

This field is optional.

>
7
               <ProductId
ProductId

Product identifier

Minimum value: 10000

This field is optional.

>
{Integer}</ProductId>
8
          </Product>
9
          <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.

This field is optional.

>
10
               <ProductionOperationId
ProductionOperationId

Production operation identifier

Minimum value: 1000

This field is optional.

>
{Integer}</ProductionOperationId>
11
          </ProductionOperation>
12
          <PurchaseOrderItem
PurchaseOrderItem

Value set from originating purchase ORDERITEMID

This field is optional.

>
13
               <PurchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

Minimum value: 1

This field is optional.

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

Value set from originating purchase ORDERID

This field is optional.

>
15
                    <PurchaseOrderId
PurchaseOrderId

Purchase order identifier

Minimum value: 100000

This field is optional.

>
{Integer}</PurchaseOrderId>
16
               </PurchaseOrder>
17
          </PurchaseOrderItem>
18
          <SalesOrderItem
SalesOrderItem

Value set from the originating sales order item ORDERITMID

This field is optional.

>
19
               <SalesOrderItemId
SalesOrderItemId

Sales order item identifier

Minimum value: 1

This field is optional.

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

Value set from the originating sales order ORDERID

This field is optional.

>
21
                    <SalesOrderId
SalesOrderId

Sales order identifier

Minimum value: 100000

This field is optional.

>
{Integer}</SalesOrderId>
22
               </SalesOrder>
23
          </SalesOrderItem>
24
     </Context>
25
</FileRequirement>
1
{
2
     "fileRequirement
FileRequirement

This field is optional.

":
{
3
          "description
Description

Description of file requirement

This field is optional.

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

Sets requirements for internal documentation

This field is optional.

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

Sets requirements to Manufacturing Record book.

This field is optional.

":
"{Boolean}",
6
          "context
Context

This field is optional.

":
{
7
               "product
Product

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

This field is optional.

":
{
8
                    "productId
ProductId

Product identifier

Minimum value: 10000

This field is optional.

":
"{Integer}"
9
               },
10
               "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.

This field is optional.

":
{
11
                    "productionOperationId
ProductionOperationId

Production operation identifier

Minimum value: 1000

This field is optional.

":
"{Integer}"
12
               },
13
               "purchaseOrderItem
PurchaseOrderItem

Value set from originating purchase ORDERITEMID

This field is optional.

":
{
14
                    "purchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

Minimum value: 1

This field is optional.

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

Value set from originating purchase ORDERID

This field is optional.

":
{
16
                         "purchaseOrderId
PurchaseOrderId

Purchase order identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
17
                    }
18
               },
19
               "salesOrderItem
SalesOrderItem

Value set from the originating sales order item ORDERITMID

This field is optional.

":
{
20
                    "salesOrderItemId
SalesOrderItemId

Sales order item identifier

Minimum value: 1

This field is optional.

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

Value set from the originating sales order ORDERID

This field is optional.

":
{
22
                         "salesOrderId
SalesOrderId

Sales order identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
23
                    }
24
               }
25
          }
26
     }
27
}

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.

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
1

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 102738 HTTP 404 Price list not found
Error 100055 HTTP 403 You have only admittance to your own objects
Error 101420 HTTP 404 Setting definition not found