API

Procurement APIs

GET procurement/orders/{purchaseOrderId}/items/{itemId}/file-requirements

List of file requirements for a procurement order item

HTTP method GET
URI https://api.rambase.net/procurement/orders/{purchaseOrderId}/items/{itemId}/file-requirements
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {purchaseOrderId} Purchase order identifier
Integer, minimum 100000
- URI parameter {itemId} Item-/line-number of the purchase order
Integer, minimum 1
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 5871, version 1

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
$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.
$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.
$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.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

CreatedAt Datetime Automatically generated timestamp field maintained by the execution engine (when document data is updated). Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
Description String Descriptive name of a requirement, inherited from FIT or as specified if created manually.
FileRequirementId Integer Unique identifier for Requirements.
FileTypeId Integer Reference to the file type this requirement will be fulfilled by.
ProductId Integer Product identifier.
ProductionOperationId Integer Production operation identifier.
RequiredForInternalUse Boolean Sets requirements for internal documentation.
RequiredForMRB Boolean Sets requirements to Manufacturing Record book.
Status Integer The status of a requirement indicates if the requirement for documentation is completed.
StopEventTypeId Integer RamBase event type identifier.
UpdatedAt Datetime Date and time of update. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()

Read more about filters and sorting on how to use sortable parameters

CreatedAt Datetime Automatically generated timestamp field maintained by the execution engine (when document data is updated)
Description String Descriptive name of a requirement, inherited from FIT or as specified if created manually
FileRequirementId Integer Unique identifier for Requirements
FileTypeId Integer Reference to the file type this requirement will be fulfilled by.
ProductId Integer Product identifier
ProductionOperationId Integer Production operation identifier
RequiredForInternalUse Boolean Sets requirements for internal documentation
RequiredForMRB Boolean Sets requirements to Manufacturing Record book.
Status Integer The status of a requirement indicates if the requirement for documentation is completed
StopEventTypeId Integer RamBase event type identifier
UpdatedAt Datetime Date and time of update

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

Unique identifier for Requirements

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

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

Possible domain values can be found here

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

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

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

Date and time of update

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

Description of file requirement

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

Sets requirements for internal documentation

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

Sets requirements to Manufacturing Record book.

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

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

>
{Integer}</FileTypeId>
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=FileRequirement.FileType.Name in your request URI to get this field

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

Full doc reference to the FileType id

>
{String}</FileTypeLink>
14
          </FileType>
15
          <Context>
16
               <Product
Product

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

>
17
                    <ProductId
ProductId

Product identifier

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

Product reference

>
{String}</ProductLink>
19
               </Product>
20
               <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.

>
21
                    <ProductionOperationId
ProductionOperationId

Production operation identifier

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

Production operation reference

>
{String}</ProductionOperationLink>
23
               </ProductionOperation>
24
               <PurchaseOrderItem
PurchaseOrderItem

Value set from originating purchase ORDERITEMID

>
25
                    <PurchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

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

Value set from originating purchase ORDERID

>
27
                         <PurchaseOrderId
PurchaseOrderId

Purchase order identifier

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

Purchase order reference

>
{String}</PurchaseOrderLink>
29
                    </PurchaseOrder>
30
                    <PurchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

>
{String}</PurchaseOrderItemLink>
31
               </PurchaseOrderItem>
32
               <SalesOrderItem
SalesOrderItem

Value set from the originating sales order item ORDERITMID

>
33
                    <SalesOrderItemId
SalesOrderItemId

Sales order item identifier

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

Value set from the originating sales order ORDERID

>
35
                         <SalesOrderId
SalesOrderId

Sales order identifier

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

Sales order reference

>
{String}</SalesOrderLink>
37
                    </SalesOrder>
38
                    <SalesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

>
{String}</SalesOrderItemLink>
39
               </SalesOrderItem>
40
          </Context>
41
          <StopEvent
StopEvent

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

>
42
               <EventTypeId
EventTypeId

RamBase event type identifier

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

RamBase event type reference

>
{String}</EventTypeLink>
44
          </StopEvent>
45
          <FileRequirementLink
FileRequirementLink

Full docId for the file requirement.

>
{String}</FileRequirementLink>
46
     </FileRequirement>
47
     <Paging
Paging

Detailed paging information for this list.

>
48
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
49
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
50
          <Page
Page

Page index

>
{Integer}</Page>
51
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

>
{String}</FirstPageKey>
52
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
53
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

>
{String}</PreviousPageKey>
54
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
55
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

>
{String}</NextPageKey>
56
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
57
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

>
{String}</LastPageKey>
58
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
59
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
60
     </Paging>
61
</FileRequirements>
1
{
2
     "fileRequirements": [
3
          {
4
               "fileRequirementId
FileRequirementId

Unique identifier for Requirements

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

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

Possible domain values can be found here

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

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

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

Date and time of update

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

Description of file requirement

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

Sets requirements for internal documentation

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

Sets requirements to Manufacturing Record book.

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

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

":
"{Integer}",
13
                    "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=FileRequirement.FileType.Name in your request URI to get this field

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

Full doc reference to the FileType id

":
"{String}"
15
               },
16
               "context": {
17
                    "product
Product

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

":
{
18
                         "productId
ProductId

Product identifier

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

Product reference

":
"{String}"
20
                    },
21
                    "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.

":
{
22
                         "productionOperationId
ProductionOperationId

Production operation identifier

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

Production operation reference

":
"{String}"
24
                    },
25
                    "purchaseOrderItem
PurchaseOrderItem

Value set from originating purchase ORDERITEMID

":
{
26
                         "purchaseOrderItemId
PurchaseOrderItemId

Item-/line-number of the purchase order

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

Value set from originating purchase ORDERID

":
{
28
                              "purchaseOrderId
PurchaseOrderId

Purchase order identifier

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

Purchase order reference

":
"{String}"
30
                         },
31
                         "purchaseOrderItemLink
PurchaseOrderItemLink

Purchase order item reference

":
"{String}"
32
                    },
33
                    "salesOrderItem
SalesOrderItem

Value set from the originating sales order item ORDERITMID

":
{
34
                         "salesOrderItemId
SalesOrderItemId

Sales order item identifier

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

Value set from the originating sales order ORDERID

":
{
36
                              "salesOrderId
SalesOrderId

Sales order identifier

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

Sales order reference

":
"{String}"
38
                         },
39
                         "salesOrderItemLink
SalesOrderItemLink

Reference to the sales order item.

":
"{String}"
40
                    }
41
               },
42
               "stopEvent
StopEvent

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

":
{
43
                    "eventTypeId
EventTypeId

RamBase event type identifier

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

RamBase event type reference

":
"{String}"
45
               },
46
               "fileRequirementLink
FileRequirementLink

Full docId for the file requirement.

":
"{String}"
47
          }
48
     ],
49
     "paging
Paging

Detailed paging information for this list.

":
{
50
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
51
          "position
Position

Position of the first element in the list

":
"{Integer}",
52
          "page
Page

Page index

":
"{Integer}",
53
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

":
"{String}",
54
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
55
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

":
"{String}",
56
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
57
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

":
"{String}",
58
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
59
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

":
"{String}",
60
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
61
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
62
     }
63
}

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 100050 HTTP 403 No admittance as customer {0}
Error 100053 HTTP 403 You have only admittance to your own suppliers