Batch Integrate Project Actuals Line Items with an External Data Source
post
/primeapi/restapi/projectActualsLineItem/syncBatch
Send a request to this endpoint to create or update an integrated project actuals line items. If an object provided in the request body does not exist in the application, an object is created using the request data. Integrated objects can only be modified using the API.
Request
Supported Media Types
- application/json
One or more unique identifiers of line item data in an external source.
Root Schema : List<ApiEntityExternallySourcedProjectActualsLineItem>
Type:
array
Title:
Show Source
List<ApiEntityExternallySourcedProjectActualsLineItem>
Nested Schema : ApiEntityExternallySourcedProjectActualsLineItem
Type:
Show Source
object
-
cbsCode(optional):
string
The user-specified identifier of a CBS.
-
cbsCodeId(optional):
integer(int64)
Read Only:
true
The CBS code assigned to the actual line item. -
cbsCodeSourceId(optional):
string
The unique identifier of CBS data in an external source.
-
costCategoryAbbrevation(optional):
string
The abbreviated name of a cost category.
-
costCategoryId(optional):
integer(int64)
The type of cost associated with the actual line item.
-
costCategoryName(optional):
string
The category of a CBS.
-
hours(optional):
object Hour
-
itemCode:
string
Allowed Values:
[ "Length[1-60]" ]
The unique identifier for an actual line item. -
itemSuffix(optional):
integer(int64)
Auto numbering suffix of a project actuals line item code.
-
lineItemId(optional):
integer(int64)
The unique identifier of a project actuals line item.
-
lineItemType:
string
Allowed Values:
[ "LUMP_SUM", "UNIT_PRICE" ]
The type assigned to an actual line item. -
link(optional):
string(url)
Read Only:
true
-
name:
string
Allowed Values:
[ "Length[1-255]" ]
The name of the actual line item. -
projectActualsCode(optional):
string
The user-specified identifier of a project actual.
-
projectActualsId:
integer(int64)
The unique identifier for the actual.
-
projectActualsLineItemCost(optional):
object ApiEntityProjectActualsLineItemCost
-
projectActualsSourceId(optional):
string
The unique identifier of project actual data in an external source.
-
projectCode(optional):
string
The user-specified identifier of a project.
-
quantity(optional):
object Quantity
-
sourceId(optional):
string
The unique identifier of project actual line item data in an external source.
-
unitOfMeasureId(optional):
integer(int64)
The unit of measure associated with the actual line item. This field is read-only if Total Amount or Total Hours are entered.
-
unitOfMeasureValue(optional):
string
The value of a unit of measure.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
workspaceCode(optional):
string
The user-specified identifier of a workspace.
Nested Schema : ApiEntityProjectActualsLineItemCost
Type:
Show Source
object
-
lineItemId(optional):
integer(int64)
The system-generated identifier of a project actual line item. This value should not be provided in create operation request data, however, it is required for update requests.
-
link(optional):
string(url)
Read Only:
true
-
projectActualsLineItem(optional):
object ApiEntityProjectActualsLineItem
-
total:
object Cost
-
totalProject(optional):
object Cost
-
totalProjectActuals(optional):
object Cost
-
totalWorkspace1(optional):
object Cost
-
totalWorkspace2(optional):
object Cost
-
totalWorkspace3(optional):
object Cost
-
unitPrice(optional):
object Cost
-
unitPriceProject(optional):
object Cost
-
unitPriceProjectActuals(optional):
object Cost
-
unitPriceWorkspace1(optional):
object Cost
-
unitPriceWorkspace2(optional):
object Cost
-
unitPriceWorkspace3(optional):
object Cost
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
Nested Schema : Quantity
Type:
object
Nested Schema : ApiEntityProjectActualsLineItem
Type:
Show Source
object
-
cbsCodeId(optional):
integer(int64)
Read Only:
true
The CBS code assigned to the actual line item. -
costCategoryId(optional):
integer(int64)
The type of cost associated with the actual line item.
-
hours(optional):
object Hour
-
itemCode:
string
Allowed Values:
[ "Length[1-60]" ]
The unique identifier for an actual line item. -
itemSuffix(optional):
integer(int64)
Auto numbering suffix of a project actuals line item code.
-
lineItemId(optional):
integer(int64)
The unique identifier of a project actuals line item. This value should not be provided in create operation request data, however, it is required for update requests.
-
lineItemType:
string
Allowed Values:
[ "LUMP_SUM", "UNIT_PRICE" ]
The type assigned to an actual line item. -
link(optional):
string(url)
Read Only:
true
-
name:
string
Allowed Values:
[ "Length[1-255]" ]
The name of the actual line item. -
projectActualsId:
integer(int64)
The unique identifier for the actual.
-
projectActualsLineItemCost(optional):
object ApiEntityProjectActualsLineItemCost
-
quantity(optional):
object Quantity
-
sourceId(optional):
string
The unique identifier of project actual line item data in an external source.
-
unitOfMeasureId(optional):
integer(int64)
The unit of measure associated with the actual line item. This field is read-only if Total Amount or Total Hours are entered.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
Nested Schema : Cost
Type:
object
Response
Supported Media Types
- application/json
207 Response
The object was sucessfully integrated.
Nested Schema : ApiEntityERPSyncApiResponse
Type:
Show Source
object
-
link(optional):
string(url)
Read Only:
true
-
message(optional):
string
-
primaryKey(optional):
integer(int64)
-
primaryKeyName(optional):
string
-
primaryKeyValue(optional):
integer(int64)
-
sourceId(optional):
string
-
statusCode(optional):
integer(int32)
-
uniqueName(optional):
string
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
400 Response
Invalid Input.