201Successful Response
Schema: SuccessEnvelope_PlannedPositionListResponse_
successbooleanmessagestringcodestringdataPlannedPositionListResponse
/api/v1/headcount-plans/{plan_id}/positions/bulkAdd up to 500 positions at once (a pasted roster).
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
plan_idstringrequiredSchema: PlannedPositionBulkCreateRequest
positionsarray · PlannedPositionCreateRequestrequiredPlannedPositionCreateRequestPositions to add.
titlestringrequiredJob title.
departmentstringDepartment.
annual_salary_centsintegerrequiredAnnual base salary in cents.
benefits_multiplierintegerFully loaded cost as a percent of salary: 130 = salary plus 30% for benefits and employer taxes.
start_datestring · daterequiredFirst day in the role.
end_datestring · dateLast day in the role; empty for open-ended.
statusPositionStatusEnumPositionStatusEnumplanned, approved, filled or cancelled (cancelled is left out of every total).
notesstringNotes.
ledger_idstringExpense account the cost lands in when the plan is pushed to a budget.
employee_idstringPeople roster row that fills the position.
Schema: SuccessEnvelope_PlannedPositionListResponse_
successbooleanmessagestringcodestringdataPlannedPositionListResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.