Paprika API

Paprika API – Create Job

Estimated reading: 4 minutes 217 views Contributors

Scopes Required

write:jobs

Linked User Privileges Required

Job Maintenance

URL

POST /api/v1/jobs/createJob

Compulsory Fields

  • Job Name
  • Client ID (SA_MN)
  • Fee Type
  • Business Unit ID (BU_MN)
  • Status

Examples

{
     "JO_JOB_TITLE": "Job title",
     "JO_SA_MN": 4567,
     "JO_FEE_TYPE": "TES1",
     "JO_BU_MN": 1,
     "JO_STATUS": "TEST"
}

Response

Success

{
     "status": true,
     "message": null,
     "result": {
          "JO_MN": 1234
     }
}

Failure

{
     "status": false,
     "message": "Client not found",
     "result": null,
     "console": "",
     "field": "JO_SA_MN",
     "error": "API_ERROR",
     "value": null,
     "table": "JOB_HEAD"
}

Fields

FieldCompulsoryData TypeNotes
JO_JOB_TITLEYesCharacter(45)
JO_SA_MNYesIntegerMust link to a valid Client record
JO_FEE_TYPEYesCharacter(4)Must link to a valid Fee Type record
JO_BU_MNEither JO_BU_MN or JO_BU_REF must be providedIntegerMust link to a valid Business Unit record
JO_BU_REFEither JO_BU_MN or JO_BU_REF must be providedCharacter(10)Must link to a valid Business Unit record
JO_STATUSYesCharacter(4)Must link to a valid Status record
JO_JOB_KEYYes if not autonumberedCharacter(10)Must be unique
JO_ANAL_CODE1Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_ANAL_CODE2Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_ANAL_CODE3Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_XAC_CODE1Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_XAC_CODE2Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_XAC_CODE3Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_XAC_CODE4Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_XAC_CODE5Yes (unless you have a “Blank” type)Character(4)Must link to a valid Analysis Code record, will default to Blank if not given
JO_COST_SCALECharacter(4)Must link to a valid Cost Scale record, will default to the Client’s Cost Scale record if not given
JO_CHARGE_SCALECharacter(4)Must link to a valid Charge Scale record, will default to the Client’s Charge Scale record if not given
JO_EXT_CHRG_SCALECharacter(4)Must link to a valid Charge Scale record, will default to the Client’s External Charge Scale record if not given
JO_ES_CODECharacter(4)Must link to a valid Expense Scale record, will default to the Client’s Expense Scale record if not given
JO_CONTACT_NAMECharacter(30)Will default to the Client’s Contact if not given
JO_LONG_NAMECharacter(2000)Will default to JO_JOB_TITLE if not given
JO_OPEN_DATEDateWill default to today if not given
JO_SP_MNIntegerMust link to a valid Super Project record
JO_ULT_SA_MNIntegerMust link to a valid Client record
JO_BRA_MNIntegerMust link to a valid Brand record
JO_HR_CODECharacter(4)Must link to a valid HR Job Type record
JO_ART_MNIntegerMust link to a valid Artist record
JO_PROJECT_MANAGERCharacter(10)Must link to a valid Personnel record
JO_STAFF_1Character(10)Must link to a valid Personnel record
JO_STAFF_2Character(10)Must link to a valid Personnel record
JO_STAFF_3Character(10)Must link to a valid Personnel record
JO_GRP_CODECharacter(10)Must link to a valid User Group record
JO_EXTRA_1Character(30)
JO_EXTRA_2Character(30)
JO_EXTRA_3Character(30)
JO_NUMBER_1Number(2dp)
JO_NUMBER_2Number(2dp)
JO_NUMBER_3Number(2dp)
JO_NUMBER_4Number(2dp)
JO_TEXT_1Character(2000)
JO_TEXT_2Character(2000)
JO_TEXT_3Character(2000)
JO_TEXT_4Character(2000)
JO_DATE_1Date
JO_DATE_2Date
JO_DATE_3Date
JO_DATE_4Date
JO_PROBABILITYIntegerMust be between 0 and 100 inclusive
JO_CONT_VALNumber(2dp)
JO_PC_TOT_FEENumber(2dp)
JO_QUOTED_FEENumber(2dp)Positive numbers only
JO_QUOTED_EXP
JO_SCHD_CMPLT
JO_CLOSED_TIM
JO_CLOSED_EXP
JO_TIMESHEET_INST
JO_CUST_REF
JO_CURRENT_TEXT
JO_ACTION_DATE
JO_ALERT_FLAGS
JO_JOB_BRIEF
Share This Page

Paprika API – Create Job

Or copy link

Contents

Proudly powered by WordPress


Pip

I can help you find guides and answer general questions instantly. I can't answer specific info about your company. I'm still learning, so if anything seems off, please double-check the Help Hub articles for the final word.

You are offline
Chatbot Avatar
Hi there, I'm Pip, your AI-powered Paprika expert. How can I help you?