201Successful Response
Schema: SuccessEnvelope_ApplyCounterpartyDefaultsResponse_
successbooleanmessagestringcodestringdataApplyCounterpartyDefaultsResponse
/api/v1/close/verification/apply-counterparty-defaultsMove already-categorized transactions in a period to the ledger their counterparty default names. Rows in a closed period, rows whose default cannot take the direction of the money and rows a person categorized by hand are skipped. Defaults to a dry run.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
start_datestringrequiredPeriod start (YYYY-MM-DD)
end_datestringrequiredPeriod end (YYYY-MM-DD)
dry_runbooleandefault: TruePlan only; set false to move the transactions
counterpartystringOnly rows for this counterparty (default all)
include_user_categorizedbooleandefault: FalseAlso move rows a person categorized by hand
plan_hashstringThe plan_hash the dry run returned; the move is refused if the rows changed since
Schema: SuccessEnvelope_ApplyCounterpartyDefaultsResponse_
successbooleanmessagestringcodestringdataApplyCounterpartyDefaultsResponseSchema: 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.