{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/option_banks/:id/append","auth":"required","examples":{"codes":[{"language":"curl","code":"curl -X PUT -H 'Content-Type: application/json' -d '{\"options\": [{\"label\":\"New Item 1\",\"value\":\"AAA\"}, {\"label\":\"New Item 2\",\"value\":\"BBB\"}], \"api_token\":\"secret-api-token\"}' 'https://api.fountain.com/v2/option_banks/11111111-2222-3333-4444-555555555555/append'"}]},"settings":"","results":{"codes":[{"name":"","code":"{\n  \"id\": \"e8e4edc5-096c-47ea-b682-f77c6c4462dd\",\n  \"name\": \"Awesome bank\",\n  \"options\": [\n    {\"label\":\"San Francisco\",\"value\":\"SF\"}, \n    {\"label\":\"New York\",\"value\":\"NY\"}\n  ]\n}","language":"json","status":200},{"name":"","code":"{\n  \"message\": \"Authentication is required\"\n}","language":"json","status":401}]},"method":"put","params":[{"name":"api_token","type":"string","default":"secret-api-token","desc":"required if api-token not passed in through header","required":true,"in":"query","ref":"","_id":"56cb70126b06f11d0040f0c3"},{"name":"id","type":"string","default":"","desc":"Option bank ID","required":true,"in":"path","ref":"","_id":"5c928f349f1367002e9b3e7b"},{"name":"options","type":"array_object","default":"","desc":"List of items to add to the option bank","required":true,"in":"query","ref":"","_id":"5c928f349f1367002e9b3e7a"}]},"next":{"description":"","pages":[]},"title":"Append to Option Bank","type":"endpoint","slug":"append-to-option-bank","excerpt":"","body":"","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5c8a90cea9244a0045693a72","project":"59de6011debd1200240f68ec","version":{"version":"2.0","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["59de6011debd1200240f68fb","59de6011debd1200240f68fa","59de6011debd1200240f68fc","59de6011debd1200240f68f8","59de6011debd1200240f68f7","59de6011debd1200240f68f9","59de6011debd1200240f68fd","59de6011debd1200240f68fe","59de6011debd1200240f68ff","5a8bfb99f4146e00449cec47","5a8bfcf2e86f530012159bb2","5cd4c29c6ea1040056ec0f55"],"_id":"59de6011debd1200240f68ee","__v":3,"project":"59de6011debd1200240f68ec","createdAt":"2016-06-20T18:15:42.514Z","releaseDate":"2016-06-20T18:15:42.514Z"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Option Bank","slug":"option-bank","order":10,"from_sync":false,"reference":false,"_id":"59de6011debd1200240f68ff","project":"59de6011debd1200240f68ec","version":"59de6011debd1200240f68ee","__v":0,"createdAt":"2017-05-11T17:07:37.435Z"},"user":"5c48cd9aa3db271af5836b81","createdAt":"2019-03-14T17:35:10.106Z","__v":10,"parentDoc":null}

putAppend to Option Bank


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
Option bank ID

Query Params

api_token:
required
stringsecret-api-token
required if api-token not passed in through header
options:
required
array of objects
List of items to add to the option bank

Examples


Result Format


User Information

Try It Out

put
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}