Index

api/v1/projectcreate

Path: api/v1/projectcreate

Method:POST

Summary:Creates a new project

Query Parameters:

QueueOptionalSet to true, 1, or t to queue the request via the Jim2 eBusiness Queue. If specified the response will be 202 Accepted and the B2B request number will be returned.
Leave out, or set to false, 0, or f to process the request immediately.
SubmitRefIdOptionalA unique reference ID for the request. This is used to prevent duplicate requests when the Queue parameter is also passed. If a SubmitRefId is passed via this query parameter and within the request content (see submitRefId in JSON content) then the two values must be the same. A check for duplication due to re-processing on the B2B queue is NOT performed unless the SubmitRefId is included in the request body (ie not passing the SubmitRefId in the message body allows an item on the B2B queue to be reprocessed and potentially creating a duplicate object).
The Queue parameter must also be specified if SubmitRefId is specified.
Note that the SubmitRefId must be unique to Jim2, so if multiple systems are making calls care must be taken to avoid clashes in SubmitRefIds between systems.

Request content:

{
Project Code is required.
"projectCode":string
"customer":{
cardCode or cardNo are required. If both are supplied that must be consistent with each other (ie match what is stored within Jim2).
optional
"cardNo":integer
optional
"cardCode":string
}
optional
"shipTo":{
cardCode or cardNo are required. If both are supplied that must be consistent with each other (ie match what is stored within Jim2).
optional
"cardNo":integer
optional
"cardCode":string
}
The status for the Project. This status must be valid per workflow from Booked.
optional
"status":string
Value as per Tools->Setups Projects/Project Types
"projectType":string
"priority":string
"billingFrequency":string
"billOnDay":integer
Price Level
"contractType":string
The date the Project starts. Must be in ISO date format - eg "2021-02-01"
"contractIn":string
The date the Project ends. Must be in ISO date format - eg "2022-01-31"
"contractOut":string
optional
"accountMgr":{
cardCode or cardNo are required. If both are supplied that must be consistent with each other (ie match what is stored within Jim2).
optional
"cardNo":integer
optional
"cardCode":string
}
optional
"custRefNo":string
optional
"itemCode":string
optional
"itemDesc":string
optional
"useNonProjectPromos":boolean
optional
"allowEstimates":boolean
The branch code. Branches must be enabled.
optional
"branch":string
The sub-branch code. Sub-branches must be enabled. Note that in the UI sub-branches may be renamed.
optional
"subBranch":string
The GL department code. GL departments must be enabled.
optional
"glDept":string
A unique reference for the create request. This reference must be unique for each object and can be used to ensure duplicate objects are not created when re-trying API calls. Note this reference must be unique in Jim2, so if multiple systems are creating objects care must be taken to avoid clashes between the different system's submit ref id. Refer also to the SubmitRefId url query parameter for relevant endpoints.
optional
"submitRefID":string
Used where custom processing is required and additional data must be passed to that custom processing.
optional
"custom":any
}

Response content:

{
"projectNo":integer
"projectCode":string
}