Batch Integrate Project Actuals Data with an External Data Source
post
/primeapi/restapi/projectActuals/syncBatch
Send a request to this endpoint to create or update one or more integrated project actuals data. 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
The unique identifier of project actual data in an external source.S
Root Schema : List<ApiEntityExternallySourcedProjectActuals>
Type:
array
Title:
Show Source
List<ApiEntityExternallySourcedProjectActuals>
Nested Schema : ApiEntityExternallySourcedProjectActuals
Type:
Show Source
object
-
approvedByUserId:
integer(int64)
The username of the user who approved the item.
-
approvedDate:
string(date-time)
The date that the actual was approved.
-
companyName:
string
The name of a company.
-
companySourceId:
string
The unique identifier of company data in an external source.
-
confirmedByEmailAddress:
string
Indicates whether or not the project actual has been confirmed via email.
-
currencyCode:
string
The user-specified identifier of a currency.
-
currencyId:
integer(int64)
The currency associated with the actual.
-
description:
string
Allowed Values:
[ "Length[1-4000]" ]
Details about the actual. -
effectiveDate:
string(date-time)
The date the actual is effective.
-
fixedExchangeRate:
number
The exchange rate used to convert the Total Amount value from the record currency to the base currency.
-
itemPrefix:
string
Allowed Values:
[ "Length[1-60]" ]
The auto numbering prefix of a code. -
itemSuffix:
integer(int64)
The auto numbering suffix of a code.
-
link:
string(uri)
Read Only:
true
-
projectActualCode:
string
Allowed Values:
[ "Length[1-60]" ]
The unique identifier for an actual. -
projectActualConfiguredFields:
object ApiEntityProjectActualsConfiguredFields
-
projectActualId:
integer(int64)
The unique identifier of project actual data.
-
projectActualName:
string
Allowed Values:
[ "Length[1-255]" ]
The name of the actual. -
projectActualsCost:
object ApiEntityProjectActualsCost
-
projectCode:
string
The user-specified identifier of a project.
-
projectCompanyId:
integer(int64)
The name of the company associated with the actual.
-
projectId:
integer(int64)
The unique identifier for the project.
-
projectSourceId:
string
The unique identifier of project data in an external source.
-
sourceId:
string
The unique identifier of project actual data in an external source.Example:
coarse
-
status:
string
Allowed Values:
[ "PENDING", "APPROVED" ]
That status of the actual. Valid values are Pending and Confirmed. -
totalHours:
object Hour
-
updateDate:
string(date-time)
Read Only:
true
The date on which the object was last updated. This parameter is not included in POST request responses. Use this parameter filter objects returned from GET requests by a particular modification date. -
withdrawByUserId:
integer(int64)
The username of the user who withdrew confirmation of the project actual.
-
withdrawConfirmedByEmailAddress:
string
Indicates whether or not the actual withdrawl has been confirmed via email.
-
withdrawDate:
string(date-time)
The date that confirmation of the project actual was withdrawn.
-
workspaceCode:
string
The user-specified identifier of a workspace.
Nested Schema : ApiEntityProjectActualsConfiguredFields
Type:
Show Source
object
-
costFlexMap:
object costFlexMap
Additional Properties Allowed: additionalPropertiesThe cost fields associated with a project actual.
-
link:
string(uri)
Read Only:
true
-
otherFlexMap:
object otherFlexMap
Additional Properties Allowed: additionalPropertiesThe cost fields associated with a project actual.
-
projectActualId:
integer(int64)
The unique identifier of project actual data.
-
textFlexMap:
object textFlexMap
Additional Properties Allowed: additionalPropertiesThe cost fields associated with a project actual.
-
updateDate:
string(date-time)
Read Only:
true
The date on which the object was last updated. This parameter is not included in POST request responses. Use this parameter filter objects returned from GET requests by a particular modification date.
Nested Schema : ApiEntityProjectActualsCost
Type:
Show Source
object
-
link:
string(uri)
Read Only:
true
-
projectActualId:
integer(int64)
-
projectActuals:
object ApiEntityProjectActuals
-
totalAmount:
object Cost
-
totalAmountProject:
object Cost
-
totalAmountProjectActuals:
object Cost
-
totalAmountWithCbs:
object Cost
-
totalAmountWithCbsProject:
object Cost
-
totalAmountWithCbsProjectActuals:
object Cost
-
totalAmountWorkspace1:
object Cost
-
totalAmountWorkspace2:
object Cost
-
totalAmountWorkspace3:
object Cost
-
updateDate:
string(date-time)
Read Only:
true
The date on which the object was last updated. This parameter is not included in POST request responses. Use this parameter filter objects returned from GET requests by a particular modification date.
Nested Schema : costFlexMap
Type:
object
Additional Properties Allowed
Show Source
The cost fields associated with a project actual.
Nested Schema : otherFlexMap
Type:
object
Additional Properties Allowed
Show Source
The cost fields associated with a project actual.
Nested Schema : textFlexMap
Type:
object
Additional Properties Allowed
Show Source
The cost fields associated with a project actual.
Nested Schema : additionalProperties
Type:
object
Nested Schema : additionalProperties
Type:
object
Nested Schema : additionalProperties
Type:
object
Nested Schema : ApiEntityProjectActuals
Type:
Show Source
object
-
approvedByUserId:
integer(int64)
The username of the user who approved the item.
-
approvedDate:
string(date-time)
The date that the actual was approved.
-
currencyId:
integer(int64)
The currency associated with the actual.
-
description:
string
Allowed Values:
[ "Length[1-4000]" ]
Details about the actual. -
effectiveDate:
string(date-time)
The date the actual is effective.
-
fixedExchangeRate:
number
The exchange rate used to convert the Total Amount value from the record currency to the base currency.
-
itemPrefix:
string
Allowed Values:
[ "Length[1-60]" ]
The auto numbering prefix of a code. -
itemSuffix:
integer(int64)
The auto numbering suffix of a code.
-
link:
string(uri)
Read Only:
true
-
projectActualCode:
string
Allowed Values:
[ "Length[1-60]" ]
The unique identifier for an actual. -
projectActualConfiguredFields:
object ApiEntityProjectActualsConfiguredFields
-
projectActualId:
integer(int64)
The unique identifier of project actual data.
-
projectActualName:
string
Allowed Values:
[ "Length[1-255]" ]
The name of the actual. -
projectActualsCost:
object ApiEntityProjectActualsCost
-
projectCompanyId:
integer(int64)
The name of the company associated with the actual.
-
projectId:
integer(int64)
The unique identifier for the project.
-
sourceId:
string
The unique identifier of project actual data in an external source.Example:
coarse
-
status:
string
Allowed Values:
[ "PENDING", "APPROVED" ]
That status of the actual. Valid values are Pending and Confirmed. -
totalHours:
object Hour
-
updateDate:
string(date-time)
Read Only:
true
The date on which the object was last updated. This parameter is not included in POST request responses. Use this parameter filter objects returned from GET requests by a particular modification date. -
withdrawByUserId:
integer(int64)
The username of the user who withdrew confirmation of the project actual.
-
withdrawDate:
string(date-time)
The date that confirmation of the project actual was withdrawn.
Nested Schema : Cost
Type:
object
Response
Supported Media Types
- application/json
207 Response
Successful Sync Operation.
Nested Schema : ApiEntityERPSyncApiResponse
Type:
Show Source
object
-
link:
string(uri)
Read Only:
true
-
message:
string
-
primaryKey:
integer(int64)
-
primaryKeyName:
string
-
primaryKeyValue:
integer(int64)
-
sourceId:
string
-
statusCode:
integer(int32)
-
uniqueName:
string
-
updateDate:
string(date-time)
Read Only:
true
The date on which the object was last updated. This parameter is not included in POST request responses. Use this parameter filter objects returned from GET requests by a particular modification date.
400 Response
Invalid Input.