API

Procurement APIs

GET procurement/purchase-requirements-by-subcontractor?locationId={locationId}&supplierId={supplierId}

List out purchase requirements by subcontractor

HTTP method GET
URI https://api.rambase.net/procurement/purchase-requirements-by-subcontractor?locationId={locationId}&supplierId={supplierId}
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 6503, version 54

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.

locationId Integer, required Location identifier

Minimum: 10000
supplierId Integer, optional RamBase supplier identifier

Minimum: 100
$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.

DeadlineOverdue() Named filter Items that have a deadline date earlier than today Deadline date = Date when you need to place a purchase order to receive it in time for the requirement, calculated by subtracting leadtime from required date.
MissingResponsible() Named filter Components in a KIT structure where no responsible purchaser is set The KIT structure is connected to the PWO on these items
MyItems() Named filter Components in a KIT structure where I am the responsible purchaser. The KIT structure is connected to the PWO on these items
CustomerId Integer Customer identifier.
CustomerName String Name of customer (name of company or surname/familyname/lastname of a person).
CustomersReferenceNumber String Customers order reference. If the production work order is derived from a sales order, the customers order reference will be the same as in the sales order. Typically a reference to an external system.
DeadlineDate Date The latest date for placing a purchase order for this product to receive it in time for the requirement. Calculated by subtracting leadtime from required date. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
FinanceProjectId Integer Finance project identifier.
FinanceProjectName String Name of finance project.
IsOutsideOfAssignmentWindow Boolean Indicates that this product is outside of assignment window.
ManufacturedProductId Integer Product identifier.
ManufacturedProductName String Name of production work order item.
NetRequirementQuantity Decimal Required quantity.
NoteToPurchaser String Note for product structure version's material.
NoteToSupplier String Purchase order note for external operation, copied to the Note field at PO item.
PreferredSupplierName String Name of supplier (name of company or surname/familyname/lastname of a person).
ProductDescription String Description of the item. If not specified, the description is by default copied from the product.
ProductionOperationId Integer Production operation identifier.
ProductionOperationName String Name of production operation.
ProductionWorkOrderId Integer Production work order identifier.
ProductionWorkOrderStatus Integer Status of production work order.
PurchaseGroupId String Purchase group identifier.
PurchaseResponsibleEmployeeId Integer Employee identifier. Available macros: currentUser()
PurchaseResponsibleFirstName String First name of employee.
PurchaseResponsibleLastName String Last name of employee.
RequestedDeliveryDate Date The date the product is due back from the supplier. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
SalesDeliveryProjectId Integer Sales delivery project identifier.
SalesDeliveryProjectName String Name of sales delivery project.
ServicedProductName String Name of the service product.

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

CustomerId Integer Customer identifier
CustomerName String Name of customer (name of company or surname/familyname/lastname of a person)
CustomersReferenceNumber String Customers order reference. If the production work order is derived from a sales order, the customers order reference will be the same as in the sales order. Typically a reference to an external system.
DeadlineDate Date The latest date for placing a purchase order for this product to receive it in time for the requirement. Calculated by subtracting leadtime from required date.
FinanceProjectId Integer Finance project identifier
FinanceProjectName String Name of finance project
IsOutsideOfAssignmentWindow Boolean Indicates that this product is outside of assignment window
ManufacturedProductId Integer Product identifier
ManufacturedProductName String Name of production work order item
NetRequirementQuantity Decimal Required quantity
NoteToPurchaser String Note for product structure version's material
NoteToSupplier String Purchase order note for external operation, copied to the Note field at PO item
PreferredSupplierName String Name of supplier (name of company or surname/familyname/lastname of a person)
ProductDescription String Description of the item. If not specified, the description is by default copied from the product.
ProductionOperationId Integer Production operation identifier
ProductionOperationName String Name of production operation
ProductionWorkOrderId Integer Production work order identifier
ProductionWorkOrderStatus Integer Status of production work order
PurchaseGroupId String Purchase group identifier
PurchaseResponsibleEmployeeId Integer Employee identifier
PurchaseResponsibleFirstName String First name of employee
PurchaseResponsibleLastName String Last name of employee
RequestedDeliveryDate Date The date the product is due back from the supplier.
SalesDeliveryProjectId Integer Sales delivery project identifier
SalesDeliveryProjectName String Name of sales delivery project
ServicedProductName String Name of the service product

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
<PurchaseRequirementsBySubcontractors>
2
     <PurchaseRequirementsBySubcontractor>
3
          <PurchaseRequirementsBySubcontractorId
PurchaseRequirementsBySubcontractorId

Purchase requirements by subcontractor identifier

>
{Integer}</PurchaseRequirementsBySubcontractorId>
4
          <NetRequirementQuantity
NetRequirementQuantity

Required quantity

>
{Decimal}</NetRequirementQuantity>
5
          <RequestedDeliveryDate
RequestedDeliveryDate

The date the product is due back from the supplier.

>
{Date}</RequestedDeliveryDate>
6
          <DeadlineDate
DeadlineDate

The latest date for placing a purchase order for this product to receive it in time for the requirement. Calculated by subtracting leadtime from required date.

>
{Date}</DeadlineDate>
7
          <NumberOfPurchaseQuoteRequestsForRequirement
NumberOfPurchaseQuoteRequestsForRequirement

Number of purchase quote requests

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

>
{Integer}</NumberOfPurchaseQuoteRequestsForRequirement>
8
          <NumberOfPurchaseQuotesForRequirement
NumberOfPurchaseQuotesForRequirement

Number of purchase quotes

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

>
{Integer}</NumberOfPurchaseQuotesForRequirement>
9
          <NumberOfNotesForOperation
NumberOfNotesForOperation

Number of notes

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

>
{Integer}</NumberOfNotesForOperation>
10
          <NumberOfSerialNumbersForProductUnit
NumberOfSerialNumbersForProductUnit

Number of serial numbers for product unit

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

>
{Integer}</NumberOfSerialNumbersForProductUnit>
11
          <OrderHasFileRequirements
OrderHasFileRequirements

Indicating this product have planned file requirements

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

>
{Boolean}</OrderHasFileRequirements>
12
          <ServicedProduct>
13
               <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
14
               <Name
Name

The product being serviced

>
{String}</Name>
15
               <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
16
          </ServicedProduct>
17
          <ProductionWorkOrder>
18
               <ProductionWorkOrderId
ProductionWorkOrderId

Production work order identifier

>
{Integer}</ProductionWorkOrderId>
19
               <Status
Status

Status of production work order

Possible domain values can be found here

>
{Integer}</Status>
20
               <ManufacturedProductName
ManufacturedProductName

Name of production work order item

>
{String}</ManufacturedProductName>
21
               <CustomersReferenceNumber
CustomersReferenceNumber

Customers order reference. If the production work order is derived from a sales order, the customers order reference will be the same as in the sales order. Typically a reference to an external system.

>
{String}</CustomersReferenceNumber>
22
               <Product>
23
                    <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
24
                    <Name
Name

Name of the product

>
{String}</Name>
25
                    <Description
Description

Description of the product

>
{String}</Description>
26
                    <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
27
               </Product>
28
               <FinanceProject
FinanceProject

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

>
29
                    <FinanceProjectId
FinanceProjectId

Finance project identifier

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

>
{Integer}</FinanceProjectId>
30
                    <Name
Name

Name of finance project

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

>
{String}</Name>
31
                    <FinanceProjectLink
FinanceProjectLink

Finance project reference

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

>
{String}</FinanceProjectLink>
32
               </FinanceProject>
33
               <SalesDeliveryProject
SalesDeliveryProject

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

>
34
                    <SalesDeliveryProjectId
SalesDeliveryProjectId

Sales delivery project identifier

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

>
{Integer}</SalesDeliveryProjectId>
35
                    <Name
Name

Name of sales delivery project

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

>
{String}</Name>
36
                    <SalesDeliveryProjectLink
SalesDeliveryProjectLink

Sales delivery project reference

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

>
{String}</SalesDeliveryProjectLink>
37
               </SalesDeliveryProject>
38
          </ProductionWorkOrder>
39
          <PlannedOperation>
40
               <PlannedOperationId
PlannedOperationId

Planned work order operation identifier

>
{Integer}</PlannedOperationId>
41
               <ProductStructureOperation>
42
                    <ProductStructureOperationId
ProductStructureOperationId

Product structure operation identifier

>
{Integer}</ProductStructureOperationId>
43
                    <SequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

>
{Integer}</SequenceNumber>
44
                    <ProductionOperation>
45
                         <ProductionOperationId
ProductionOperationId

Production operation identifier

>
{Integer}</ProductionOperationId>
46
                         <Name
Name

Name of production operation

>
{String}</Name>
47
                         <ProductForOutsourcedOperation>
48
                              <ProductId
ProductId

Product identifier

>
{String}</ProductId>
49
                              <Name
Name

Name of the product

>
{String}</Name>
50
                              <ProductLink
ProductLink

Product identifier

>
{String}</ProductLink>
51
                         </ProductForOutsourcedOperation>
52
                         <ProductionOperationLink
ProductionOperationLink

Production operation reference

>
{String}</ProductionOperationLink>
53
                    </ProductionOperation>
54
                    <OutsourcedOperation>
55
                         <NoteToSupplier
NoteToSupplier

Purchase order note for external operation, copied to the Note field at PO item

>
{String}</NoteToSupplier>
56
                         <LeadTime
LeadTime

Material lead time in days for external operations

>
{Integer}</LeadTime>
57
                         <Procurement>
58
                              <NoteToPurchaser
NoteToPurchaser

Note for product structure version's material

>
{String}</NoteToPurchaser>
59
                              <PurchaseResponsible
PurchaseResponsible

User responsible for the procurement transaction

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

>
60
                                   <EmployeeId
EmployeeId

Employee identifier

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

>
{Integer}</EmployeeId>
61
                                   <FirstName
FirstName

First name of employee

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

>
{String}</FirstName>
62
                                   <LastName
LastName

Last name of employee

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

>
{String}</LastName>
63
                                   <EmployeeLink
EmployeeLink

Employee reference

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

>
{String}</EmployeeLink>
64
                              </PurchaseResponsible>
65
                         </Procurement>
66
                    </OutsourcedOperation>
67
                    <ProductStructureVersion>
68
                         <ProductStructureVersionId
ProductStructureVersionId

Product structure identifier

>
{Integer}</ProductStructureVersionId>
69
                         <ProductStructureVersionLink
ProductStructureVersionLink

Product structure reference

>
{String}</ProductStructureVersionLink>
70
                    </ProductStructureVersion>
71
               </ProductStructureOperation>
72
          </PlannedOperation>
73
          <PrecedingPlannedOperation>
74
               <PlannedFinishedAt
PlannedFinishedAt

Date and time planned to finish. Specified by the planned work order operation.

>
{Datetime}</PlannedFinishedAt>
75
               <ProductStructureOperation>
76
                    <SequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

>
{Integer}</SequenceNumber>
77
                    <ProductionOperation>
78
                         <Name
Name

Name of production operation

>
{String}</Name>
79
                    </ProductionOperation>
80
               </ProductStructureOperation>
81
          </PrecedingPlannedOperation>
82
          <ProductUnit>
83
               <SerialNumber
SerialNumber

Serial number

>
{String}</SerialNumber>
84
          </ProductUnit>
85
          <Subcontractor>
86
               <SubcontractorId
SubcontractorId

Subcontractor identifier

>
{Integer}</SubcontractorId>
87
               <StandardLeadTime
StandardLeadTime

Leadtime in days

>
{Integer}</StandardLeadTime>
88
               <IsPreferred
IsPreferred

When creating a new structure (KIT) the system will pick values from the preferred supplier and calculate the leadtime for the outsourced operation

>
{Boolean}</IsPreferred>
89
               <TransitDays>
90
                    <To
To

Transporttime in days from manufacturer premises to supplier

>
{Integer}</To>
91
                    <From
From

Transporttime in days from supplier to manufacturer premises

>
{Integer}</From>
92
               </TransitDays>
93
               <Supplier>
94
                    <SupplierId
SupplierId

RamBase supplier identifier

>
{Integer}</SupplierId>
95
                    <Name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
96
                    <SupplierLink
SupplierLink

Supplier reference

>
{String}</SupplierLink>
97
               </Supplier>
98
          </Subcontractor>
99
          <Customer
Customer

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

>
100
               <CustomerId
CustomerId

Customer identifier

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

>
{Integer}</CustomerId>
101
               <Name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

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

>
{String}</Name>
102
               <CustomerLink
CustomerLink

Customer reference

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

>
{String}</CustomerLink>
103
          </Customer>
104
     </PurchaseRequirementsBySubcontractor>
105
     <Paging
Paging

Detailed paging information for this list.

>
106
          <PageSize
PageSize

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

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

Position of the first element in the list

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

Page index

>
{Integer}</Page>
109
          <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>
110
          <FirstPage
FirstPage

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

>
{String}</FirstPage>
111
          <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>
112
          <PreviousPage
PreviousPage

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

>
{String}</PreviousPage>
113
          <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>
114
          <NextPage
NextPage

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

>
{String}</NextPage>
115
          <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>
116
          <LastPage
LastPage

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

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

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

>
{Integer}</Size>
118
     </Paging>
119
</PurchaseRequirementsBySubcontractors>
1
{
2
     "purchaseRequirementsBySubcontractors": [
3
          {
4
               "purchaseRequirementsBySubcontractorId
PurchaseRequirementsBySubcontractorId

Purchase requirements by subcontractor identifier

":
"{Integer}",
5
               "netRequirementQuantity
NetRequirementQuantity

Required quantity

":
"{Decimal}",
6
               "requestedDeliveryDate
RequestedDeliveryDate

The date the product is due back from the supplier.

":
"{Date}",
7
               "deadlineDate
DeadlineDate

The latest date for placing a purchase order for this product to receive it in time for the requirement. Calculated by subtracting leadtime from required date.

":
"{Date}",
8
               "numberOfPurchaseQuoteRequestsForRequirement
NumberOfPurchaseQuoteRequestsForRequirement

Number of purchase quote requests

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

":
"{Integer}",
9
               "numberOfPurchaseQuotesForRequirement
NumberOfPurchaseQuotesForRequirement

Number of purchase quotes

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

":
"{Integer}",
10
               "numberOfNotesForOperation
NumberOfNotesForOperation

Number of notes

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

":
"{Integer}",
11
               "numberOfSerialNumbersForProductUnit
NumberOfSerialNumbersForProductUnit

Number of serial numbers for product unit

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

":
"{Integer}",
12
               "orderHasFileRequirements
OrderHasFileRequirements

Indicating this product have planned file requirements

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

":
"{Boolean}",
13
               "servicedProduct": {
14
                    "productId
ProductId

Product identifier

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

The product being serviced

":
"{String}",
16
                    "productLink
ProductLink

Product reference

":
"{String}"
17
               },
18
               "productionWorkOrder": {
19
                    "productionWorkOrderId
ProductionWorkOrderId

Production work order identifier

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

Status of production work order

Possible domain values can be found here

":
"{Integer}",
21
                    "manufacturedProductName
ManufacturedProductName

Name of production work order item

":
"{String}",
22
                    "customersReferenceNumber
CustomersReferenceNumber

Customers order reference. If the production work order is derived from a sales order, the customers order reference will be the same as in the sales order. Typically a reference to an external system.

":
"{String}",
23
                    "product": {
24
                         "productId
ProductId

Product identifier

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

Name of the product

":
"{String}",
26
                         "description
Description

Description of the product

":
"{String}",
27
                         "productLink
ProductLink

Product reference

":
"{String}"
28
                    },
29
                    "financeProject
FinanceProject

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

":
{
30
                         "financeProjectId
FinanceProjectId

Finance project identifier

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

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

Name of finance project

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

":
"{String}",
32
                         "financeProjectLink
FinanceProjectLink

Finance project reference

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

":
"{String}"
33
                    },
34
                    "salesDeliveryProject
SalesDeliveryProject

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

":
{
35
                         "salesDeliveryProjectId
SalesDeliveryProjectId

Sales delivery project identifier

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

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

Name of sales delivery project

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

":
"{String}",
37
                         "salesDeliveryProjectLink
SalesDeliveryProjectLink

Sales delivery project reference

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

":
"{String}"
38
                    }
39
               },
40
               "plannedOperation": {
41
                    "plannedOperationId
PlannedOperationId

Planned work order operation identifier

":
"{Integer}",
42
                    "productStructureOperation": {
43
                         "productStructureOperationId
ProductStructureOperationId

Product structure operation identifier

":
"{Integer}",
44
                         "sequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

":
"{Integer}",
45
                         "productionOperation": {
46
                              "productionOperationId
ProductionOperationId

Production operation identifier

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

Name of production operation

":
"{String}",
48
                              "productForOutsourcedOperation": {
49
                                   "productId
ProductId

Product identifier

":
"{String}",
50
                                   "name
Name

Name of the product

":
"{String}",
51
                                   "productLink
ProductLink

Product identifier

":
"{String}"
52
                              },
53
                              "productionOperationLink
ProductionOperationLink

Production operation reference

":
"{String}"
54
                         },
55
                         "outsourcedOperation": {
56
                              "noteToSupplier
NoteToSupplier

Purchase order note for external operation, copied to the Note field at PO item

":
"{String}",
57
                              "leadTime
LeadTime

Material lead time in days for external operations

":
"{Integer}",
58
                              "procurement": {
59
                                   "noteToPurchaser
NoteToPurchaser

Note for product structure version's material

":
"{String}",
60
                                   "purchaseResponsible
PurchaseResponsible

User responsible for the procurement transaction

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

":
{
61
                                        "employeeId
EmployeeId

Employee identifier

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

":
"{Integer}",
62
                                        "firstName
FirstName

First name of employee

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

":
"{String}",
63
                                        "lastName
LastName

Last name of employee

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

":
"{String}",
64
                                        "employeeLink
EmployeeLink

Employee reference

This field is greyed out because it is an expandable field. You have to add $expand=PurchaseRequirementsBySubcontractor.PlannedOperation.ProductStructureOperation.OutsourcedOperation.Procurement.PurchaseResponsible in your request URI to get this field

":
"{String}"
65
                                   }
66
                              }
67
                         },
68
                         "productStructureVersion": {
69
                              "productStructureVersionId
ProductStructureVersionId

Product structure identifier

":
"{Integer}",
70
                              "productStructureVersionLink
ProductStructureVersionLink

Product structure reference

":
"{String}"
71
                         }
72
                    }
73
               },
74
               "precedingPlannedOperation": {
75
                    "plannedFinishedAt
PlannedFinishedAt

Date and time planned to finish. Specified by the planned work order operation.

":
"{Datetime}",
76
                    "productStructureOperation": {
77
                         "sequenceNumber
SequenceNumber

Sequence number of the product structure operation. Unique within a product structure.

":
"{Integer}",
78
                         "productionOperation": {
79
                              "name
Name

Name of production operation

":
"{String}"
80
                         }
81
                    }
82
               },
83
               "productUnit": {
84
                    "serialNumber
SerialNumber

Serial number

":
"{String}"
85
               },
86
               "subcontractor": {
87
                    "subcontractorId
SubcontractorId

Subcontractor identifier

":
"{Integer}",
88
                    "standardLeadTime
StandardLeadTime

Leadtime in days

":
"{Integer}",
89
                    "isPreferred
IsPreferred

When creating a new structure (KIT) the system will pick values from the preferred supplier and calculate the leadtime for the outsourced operation

":
"{Boolean}",
90
                    "transitDays": {
91
                         "to
To

Transporttime in days from manufacturer premises to supplier

":
"{Integer}",
92
                         "from
From

Transporttime in days from supplier to manufacturer premises

":
"{Integer}"
93
                    },
94
                    "supplier": {
95
                         "supplierId
SupplierId

RamBase supplier identifier

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

Name of supplier (name of company or surname/familyname/lastname of a person)

":
"{String}",
97
                         "supplierLink
SupplierLink

Supplier reference

":
"{String}"
98
                    }
99
               },
100
               "customer
Customer

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

":
{
101
                    "customerId
CustomerId

Customer identifier

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

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

Name of customer (name of company or surname/familyname/lastname of a person)

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

":
"{String}",
103
                    "customerLink
CustomerLink

Customer reference

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

":
"{String}"
104
               }
105
          }
106
     ],
107
     "paging
Paging

Detailed paging information for this list.

":
{
108
          "pageSize
PageSize

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

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

Position of the first element in the list

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

Page index

":
"{Integer}",
111
          "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}",
112
          "firstPage
FirstPage

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

":
"{String}",
113
          "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}",
114
          "previousPage
PreviousPage

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

":
"{String}",
115
          "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}",
116
          "nextPage
NextPage

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

":
"{String}",
117
          "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}",
118
          "lastPage
LastPage

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

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

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

":
"{Integer}"
120
     }
121
}

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 99946 HTTP 400 {0}: Missing mandatory arguments {1}
Error 101746 HTTP 404 Product structure not found. Id: {0}