v1
latestOpenAPI 3.0.02026-08-061280285.2 KBPlacement APIs
Update a placement.
The below table describes the required input without any job engagement type
| <h3>Params</h3> | <h3>Data Type</h3> | <h3>Required</h3> |
|---|---|---|
| job | object | True |
| prospect | object | True |
| revenue | object | optional |
| salary | object | optional |
| revenue_split | object | optional |
| contacts | array | optional |
| billing_date | date | True |
| bonus | object | optional |
| job_start_date | date | optional |
| note | string | optional |
| track_revenue | integer (0 or 1) | optional |
| user_id | integer | True |
| custom_fields | array | optional |
Sample Payload
{
"user_id": 1 (Integer),
"placements": [
{
"job": {
"id": 6 (Integer)
},
"prospect": {
"id": 30 (Integer)
},
"revenue": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"salary": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"revenue_split": [
{
"user": {
"id": 1 (Integer)
},
"revenue": {
"number": 0, (Integer)
"pct": 12 (Integer)
}
}
],
"contacts": [
{
"id": 32 (Integer)
}
],
"billing_date": "2023-03-8" (String),
"bonus": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"job_start_date": "2023-02-14", (String)
"note": "", (String),
"track_revenue": 0/1, (Boolean)
"custom_fields": [
{
"id": 16,
"value": {"currency": "USD" (String, Currency code eg. USD, GBP), "number": 600000 (float)}
},
{
"id": 17,
"value": {"currency": "USD" (String), "number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 19,
"value": {"number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 20,
"value": ["choice1", "choice2"] (list of strings)
},
{
"id" : 33,
"value" : "Random" (String)
},
{
"id" : 99,
"value" : [{"type": "candidate", "id": 1}]
},
{
"id" : 34,
"value" : [{"user_id": 1}]
}
]
}
]
}
The below table describes the required input based on job engagement type
1 : Job Type Contingent
| <h3>Params</h3> | <h3>Data Type</h3> | <h3>Required</h3> |
|---|---|---|
| job | object | True |
| prospect | object | True |
| revenue | object | optional |
| salary | object | optional |
| revenue_split | object | optional |
| contacts | array | optional |
| billing_date | date | True |
| bonus | object | optional |
| job_start_date | date | optional |
| note | string | optional |
| track_revenue | integer (0 or 1) | optional |
| user_id | integer | True |
| custom_fields | array | optional |
Sample Payload
{
"user_id": 1 (Integer),
"placements": [
{
"job": {
"id": 6 (Integer)
},
"prospect": {
"id": 30 (Integer)
},
"revenue": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"salary": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"revenue_split": [
{
"user": {
"id": 1 (Integer)
},
"revenue": {
"number": 0, (Integer)
"pct": 12 (Integer)
}
}
],
"contacts": [
{
"id": 32 (Integer)
}
],
"billing_date": "2023-03-8" (String),
"bonus": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"job_start_date": "2023-02-14", (String)
"note": "", (String),
"track_revenue": 0/1, (Boolean)
"custom_fields": [
{
"id": 16,
"value": {"currency": "USD" (String, Currency code eg. USD, GBP), "number": 600000 (float)}
},
{
"id": 17,
"value": {"currency": "USD" (String), "number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 19,
"value": {"number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 20,
"value": ["choice1", "choice2"] (list of strings)
},
{
"id" : 33,
"value" : "Random" (String)
},
{
"id" : 99,
"value" : [{"type": "candidate", "id": 1}]
},
{
"id" : 34,
"value" : [{"user_id": 1}]
}
]
}
]
}
2 : Job Type Contract
| <h3>Params</h3> | <h3>Data Type</h3> | <h3>Required</h3> |
|---|---|---|
| job | object | True |
| prospect | object | True |
| revenue_split | object | optional |
| contacts | array | optional |
| contract_start_date | date | optional |
| contract_end_date | date | optional |
| pay_rate | date | optional |
| bill_rate | date | optional |
| work_quantum | date | optional |
| bonus | object | optional |
| note | string | optional |
| track_revenue | integer (0 or 1) | optional |
| user_id | integer | True |
| custom_fields | array | optional |
Sample Payload<br>
- Allowed bill rate frequency
- hour
- day
- week
- month
- Allowed pay rate frequency
- hour
- day
- week
- month
- Allowed work quantum frequency
- day
- week
- month
- Allowed work quantum unit
- hour
- day
- week
{
"user_id": 1 (Integer),
"placements": [
{
"job": {
"id": 6 (Integer)
},
"prospect": {
"id": 30 (Integer)
},
"revenue_split": [
{
"user": {
"id": 1 (Integer)
},
"revenue": {
"number": 0, (Integer)
"pct": 12 (Integer)
}
}
],
"contacts": [
{
"id": 32 (Integer)
}
],
"contract_start_date": "2023-03-8" (String),
"contract_end_date": "2023-03-8" (String),
"pay_rate": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
"frequency": {
"name": "hour" (String)
}
},
"bill_rate": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
"frequency": {
"name": "hour" (String)
}
},
"work_quantum": {
"number": 1 (Integer)
"unit": {
"name": "hour" (String)
},
"frequency": {
"name": "day" (String)
},
"is_full_time": false (Boolean)
},
"bonus": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"note": "", (String),
"track_revenue": 0/1, (Boolean)
"custom_fields": [
{
"id": 16,
"value": {"currency": "USD" (String, Currency code eg. USD, GBP), "number": 600000 (float)}
},
{
"id": 17,
"value": {"currency": "USD" (String), "number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 19,
"value": {"number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 20,
"value": ["choice1", "choice2"] (list of strings)
},
{
"id" : 33,
"value" : "Random" (String)
},
{
"id" : 99,
"value" : [{"type": "candidate", "id": 1}]
},
{
"id" : 34,
"value" : [{"user_id": 1}]
}
]
}
]
}
3 : Job Type Retained
| <h3>Params</h3> | <h3>Data Type</h3> | <h3>Required</h3> |
|---|---|---|
| job | object | True |
| prospect | object | True |
| salary | object | optional |
| revenue_split | object | optional |
| contacts | array | optional |
| billing_date | date | True |
| bonus | object | optional |
| job_start_date | date | optional |
| success_fee | object | optional |
| retainer | object | optional |
| note | string | optional |
| track_revenue | integer (0 or 1) | optional |
| user_id | integer | True |
| custom_fields | array | optional |
Sample Payload<br>
- Allowed retainer frequency
- net
- hour
- day
- month
{
"user_id": 1 (Integer),
"placements": [
{
"job": {
"id": 6 (Integer)
},
"prospect": {
"id": 30 (Integer)
},
"salary": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"revenue_split": [
{
"user": {
"id": 1 (Integer)
},
"revenue": {
"number": 0, (Integer)
"pct": 12 (Integer)
}
}
],
"contacts": [
{
"id": 32 (Integer)
}
],
"billing_date": "2023-03-8" (String),
"bonus": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"job_start_date": "2023-02-14", (String)
"success_fee": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
},
"retainer": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
"frequency": {
"name": "net" (String)
}
},
"note": "", (String),
"track_revenue": 0/1, (Boolean)
"custom_fields": [
{
"id": 16,
"value": {"currency": "USD" (String, Currency code eg. USD, GBP), "number": 600000 (float)}
},
{
"id": 17,
"value": {"currency": "USD" (String), "number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 19,
"value": {"number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 20,
"value": ["choice1", "choice2"] (list of strings)
},
{
"id" : 33,
"value" : "Random" (String)
},
{
"id" : 99,
"value" : [{"type": "candidate", "id": 1}]
},
{
"id" : 34,
"value" : [{"user_id": 1}]
}
]
}
]
}
4 : Job Type Temporary
| <h3>Params</h3> | <h3>Data Type</h3> | <h3>Required</h3> |
|---|---|---|
| job | object | True |
| prospect | object | True |
| revenue_split | object | optional |
| contacts | array | optional |
| pay_rate | date | optional |
| bill_rate | date | optional |
| work_quantum | date | optional |
| job_start_date | date | optional |
| note | string | optional |
| track_revenue | integer (0 or 1) | optional |
| user_id | integer | True |
| custom_fields | array | optional |
Sample Payload
- Allowed bill rate frequency
- hour
- day
- week
- month
- Allowed pay rate frequency
- hour
- day
- week
- month
- Allowed work quantum frequency
- day
- week
- month
- Allowed work quantum unit
- hour
- day
- week
{
"user_id": 1 (Integer),
"placements": [
{
"job": {
"id": 6 (Integer)
},
"prospect": {
"id": 30 (Integer)
},
"revenue_split": [
{
"user": {
"id": 1 (Integer)
},
"revenue": {
"number": 0, (Integer)
"pct": 12 (Integer)
}
}
],
"contacts": [
{
"id": 32 (Integer)
}
],
"pay_rate": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
"frequency": {
"name": "hour" (String)
}
},
"bill_rate": {
"currency": "USD", (String, Currency code eg. USD, GBP)
"number": 77688 (Integer)
"frequency": {
"name": "hour" (String)
}
},
"work_quantum": {
"number": 1 (Integer)
"unit": {
"name": "hour" (String)
},
"frequency": {
"name": "hour" (String)
}
"is_full_time": false (Boolean)
},
"job_start_date": "2023-02-14", (String)
"note": "", (String),
"track_revenue": 0/1, (Boolean)
"custom_fields": [
{
"id": 16,
"value": {"currency": "USD" (String, Currency code eg. USD, GBP), "number": 600000 (float)}
},
{
"id": 17,
"value": {"currency": "USD" (String), "number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 19,
"value": {"number1": 600000 (Float), "number2": 800000 (Float)}
},
{
"id": 20,
"value": ["choice1", "choice2"] (list of strings)
},
{
"id" : 33,
"value" : "Random" (String)
},
{
"id" : 99,
"value" : [{"type": "candidate", "id": 1}]
},
{
"id" : 34,
"value" : [{"user_id": 1}]
}
]
}
]
}
post/api/external/placement-record/update
Headers
RF-Api-Keystring
content-typestring
Request body
Response
Auto generated using Swagger Inspector
{"stackTrail":"paths:/api/external/placement-record/update:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","example":{"placement_id":1}}
Example response
{
"placement_id": 1
}