Change or accept a form value
curl --request PATCH \
--url https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/values/{value} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"new_value": "<string>",
"accept": true
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({new_value: '<string>', accept: true})
};
fetch('https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/values/{value}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/values/{value}"
payload = {
"new_value": "<string>",
"accept": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"object": "form_fill_value",
"id": "<string>",
"field_id": "<string>",
"label": "<string>",
"type": "text",
"section": "<string>",
"page": 123,
"role": "<string>",
"state": "filled",
"value": "<string>",
"display": "<string>",
"proposed_value": "<string>",
"source": {
"kind": "fact",
"label": "<string>",
"fact_id": "<string>",
"person_id": "<string>",
"account_id": "<string>",
"member_id": "<string>",
"checklist_item_id": "<string>"
},
"to_check_reason": "runs_disagreed",
"edited_by_member_id": "<string>",
"reviewed_at": "<string>",
"form_fill": {
"object": "form_fill",
"id": "<string>",
"number": 123,
"client_id": "<string>",
"name": "<string>",
"form_id": "<string>",
"layout_id": "<string>",
"group_id": "<string>",
"status": "draft",
"detection": "waiting",
"mapped": true,
"people": [
{
"role": "<string>",
"person_id": "<string>"
}
],
"checklist_item_id": "<string>",
"counts": {
"filled": 123,
"to_check": 123,
"missing": 123,
"left_for_client": 123
},
"created_at": "<string>",
"updated_at": "<string>",
"downloaded_at": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}Forms
Change or accept a form value
Changes one field’s value, checked against the field (a date, a choice among its options, a tick as yes or no), or with new_value null lets it fill from its source again. With accept true instead, accepts a value that waits for a check as it stands. Signatures and numbers Advisor never keeps, such as a tax file number, cannot be set. Answers with the value and the fill.
PATCH
/
clients
/
{client}
/
form_fills
/
{form_fill}
/
values
/
{value}
Change or accept a form value
curl --request PATCH \
--url https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/values/{value} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"new_value": "<string>",
"accept": true
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({new_value: '<string>', accept: true})
};
fetch('https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/values/{value}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/values/{value}"
payload = {
"new_value": "<string>",
"accept": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"object": "form_fill_value",
"id": "<string>",
"field_id": "<string>",
"label": "<string>",
"type": "text",
"section": "<string>",
"page": 123,
"role": "<string>",
"state": "filled",
"value": "<string>",
"display": "<string>",
"proposed_value": "<string>",
"source": {
"kind": "fact",
"label": "<string>",
"fact_id": "<string>",
"person_id": "<string>",
"account_id": "<string>",
"member_id": "<string>",
"checklist_item_id": "<string>"
},
"to_check_reason": "runs_disagreed",
"edited_by_member_id": "<string>",
"reviewed_at": "<string>",
"form_fill": {
"object": "form_fill",
"id": "<string>",
"number": 123,
"client_id": "<string>",
"name": "<string>",
"form_id": "<string>",
"layout_id": "<string>",
"group_id": "<string>",
"status": "draft",
"detection": "waiting",
"mapped": true,
"people": [
{
"role": "<string>",
"person_id": "<string>"
}
],
"checklist_item_id": "<string>",
"counts": {
"filled": 123,
"to_check": 123,
"missing": 123,
"left_for_client": 123
},
"created_at": "<string>",
"updated_at": "<string>",
"downloaded_at": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>"
}
}Authorizations
Path Parameters
Body
application/json
Response
Success.
Available options:
runs_disagreed, fact_old, sources_disagree, low_confidence, overflows, not_an_option, fund_type_unknown, provider_unclear, owner_unclear, depends_on_choice, answer_differs, business_unclear, firm_unclear, several_funds, state_box_unseen, printed_differs 
