Fill a form again
curl --request POST \
--url https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/refill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/refill', 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}/refill"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"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>",
"page_count": 123,
"kind": "acroform",
"roles": [
{
"key": "<string>",
"label": "<string>"
}
],
"mapping_version": 123,
"fields": [
{
"id": "<string>",
"page": 123,
"box": {
"left": 123,
"top": 123,
"width": 123,
"height": 123
},
"type": "text",
"label": "<string>",
"section": "<string>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
],
"source": "<string>",
"role": "<string>",
"format": "<string>",
"agreement": 123
}
]
}{
"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
Fill a form again
Fills every field again from what Advisor knows now, such as facts accepted since. Values a member typed or the client answered stay. A form Advisor could not read (detection failed) is read again in the background.
POST
/
clients
/
{client}
/
form_fills
/
{form_fill}
/
refill
Fill a form again
curl --request POST \
--url https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/refill \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://advisor.redbark.com/api/v1/clients/{client}/form_fills/{form_fill}/refill', 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}/refill"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"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>",
"page_count": 123,
"kind": "acroform",
"roles": [
{
"key": "<string>",
"label": "<string>"
}
],
"mapping_version": 123,
"fields": [
{
"id": "<string>",
"page": 123,
"box": {
"left": 123,
"top": 123,
"width": 123,
"height": 123
},
"type": "text",
"label": "<string>",
"section": "<string>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
],
"source": "<string>",
"role": "<string>",
"format": "<string>",
"agreement": 123
}
]
}{
"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
The body is of type object.
Response
Success.

