201Successful Response
Schema: SuccessEnvelope_DrawdownResponse_
successbooleanmessagestringcodestringdataDrawdownResponse
/api/v1/contracts/{contract_id}/drawdownsRecords hours consumed as a pending entry awaiting approval.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
contract_idstringrequiredSchema: DrawdownCreate
order_line_idstringOrder line the hours are drawn against.
catalog_item_idstringCatalog item.
hoursnumber | stringrequiredHours consumed.
entry_datestringrequiredDate the work happened (YYYY-MM-DD).
descriptionstringOptional note.
submitted_bystringWho submitted the hours.
submitted_viastringslack, email, or manual.
source_message_idstringID of the reply that created this entry.
Schema: SuccessEnvelope_DrawdownResponse_
successbooleanmessagestringcodestringdataDrawdownResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject