{"_id":"59de6011debd1200240f690a","user":"547504ed59fade080004cb8b","category":{"_id":"59de6011debd1200240f68f8","__v":0,"project":"59de6011debd1200240f68ec","version":"59de6011debd1200240f68ee","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-22T07:01:46.643Z","from_sync":false,"order":6,"slug":"available-slots-management","title":"Session and Slot Management"},"parentDoc":null,"version":{"_id":"59de6011debd1200240f68ee","__v":3,"project":"59de6011debd1200240f68ec","createdAt":"2016-06-20T18:15:42.514Z","releaseDate":"2016-06-20T18:15:42.514Z","categories":["59de6011debd1200240f68fb","59de6011debd1200240f68fa","59de6011debd1200240f68fc","59de6011debd1200240f68f8","59de6011debd1200240f68f7","59de6011debd1200240f68f9","59de6011debd1200240f68fd","59de6011debd1200240f68fe","59de6011debd1200240f68ff","5a8bfb99f4146e00449cec47","5a8bfcf2e86f530012159bb2","5cd4c29c6ea1040056ec0f55"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"__v":3,"project":"59de6011debd1200240f68ec","githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-22T17:37:15.040Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"curl","code":"curl -X POST -H 'Content-Type: application/json' -d '{\"applicant_id\":\"22222222-0000-0000-0000-000000000000\",\"api_token\":\"secret-api-token\"}' 'https://api.fountain.com/v2/available_slots/33333333-0000-0000-0000-000000000000/confirm'"}]},"method":"post","results":{"codes":[{"status":200,"language":"json","code":"{\n  \"id\": \"ff4285bc-4988-4077-9ca8-ca95a765f99d\",\n  \"location\": \"Liaside\",\n  \"recruiter\": \"Aron DuBuque\",\n  \"start_time\": \"Fri, Jun 05 :::at::: 6:36am PDT\",\n  \"end_time\": \"Fri, Jun 05 @ 6:36am PDT\",\n  \"instructions\": \"Be careful!\"\n}","name":""},{"status":401,"language":"json","code":"{\n  \"message\": \"Authentication is required\"\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"56cb474b32011d250068189f","ref":"","in":"path","required":false,"desc":"must be added as a URL parameter","default":"33333333-0000-0000-0000-000000000000","type":"string","name":"available_slot_id"},{"_id":"56cb474b32011d250068189e","ref":"","in":"body","required":false,"desc":"","default":"22222222-0000-0000-0000-000000000000","type":"string","name":"applicant_id"},{"_id":"56cb474b32011d250068189d","ref":"","in":"body","required":false,"desc":"required if not passed in through header","default":"secret-api-token","type":"string","name":"api_token"}],"url":"/available_slots/:available_slot_id/confirm"},"isReference":false,"order":3,"body":"This method confirms an available slot. Use it to organize your time automatically, visiting the Fountain dashboard.\n\n## Response Schema\n\n[block:html]\n{\n  \"html\": \"<ul><li>additionalProperties: false</li><li>    <span id=\\\"id-0-3293551596303166888\\\">\\n      <a href=\\\"#id-0-3293551596303166888\\\" class=\\\"anchor\\\">\\n        <tt>id</tt>\\n      </a>\\n    </span>\\n<div class=\\\"schema\\\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\\\"ff4285bc-4988-4077-9ca8-ca95a765f99d\\\"</tt></li></ul></div></li><li>    <span id=\\\"location-0-4272779628489197064\\\">\\n      <a href=\\\"#location-0-4272779628489197064\\\" class=\\\"anchor\\\">\\n        <tt>location</tt>\\n      </a>\\n    </span>\\n<div class=\\\"schema\\\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\\\"Liaside\\\"</tt></li></ul></div></li><li>    <span id=\\\"recruiter-0-399633294353183252\\\">\\n      <a href=\\\"#recruiter-0-399633294353183252\\\" class=\\\"anchor\\\">\\n        <tt>recruiter</tt>\\n      </a>\\n    </span>\\n<div class=\\\"schema\\\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\\\"Aron DuBuque\\\"</tt></li></ul></div></li><li>    <span id=\\\"start_time-0--628905351806078756\\\">\\n      <a href=\\\"#start_time-0--628905351806078756\\\" class=\\\"anchor\\\">\\n        <tt>start_time</tt>\\n      </a>\\n    </span>\\n<div class=\\\"schema\\\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\\\"Fri, Jun 05 @ 6:36am PDT\\\"</tt></li></ul></div></li><li>    <span id=\\\"end_time-0-4592178625470318456\\\">\\n      <a href=\\\"#end_time-0-4592178625470318456\\\" class=\\\"anchor\\\">\\n        <tt>end_time</tt>\\n      </a>\\n    </span>\\n<div class=\\\"schema\\\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\\\"Fri, Jun 05 @ 6:36am PDT\\\"</tt></li></ul></div></li><li>    <span id=\\\"instructions-0-2300486449993654364\\\">\\n      <a href=\\\"#instructions-0-2300486449993654364\\\" class=\\\"anchor\\\">\\n        <tt>instructions</tt>\\n      </a>\\n    </span>\\n<div class=\\\"schema\\\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\\\"Be careful!\\\"</tt></li></ul></div></li></ul>\"\n}\n[/block]","excerpt":"","slug":"confirm-an-available-slot","type":"endpoint","title":"Confirm an Available Slot"}

postConfirm an Available Slot


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

available_slot_id:
string33333333-0000-0000-0000-000000000000
must be added as a URL parameter

Body Params

applicant_id:
string22222222-0000-0000-0000-000000000000
api_token:
stringsecret-api-token
required if not passed in through header

Examples


Result Format


Documentation

This method confirms an available slot. Use it to organize your time automatically, visiting the Fountain dashboard. ## Response Schema [block:html] { "html": "<ul><li>additionalProperties: false</li><li> <span id=\"id-0-3293551596303166888\">\n <a href=\"#id-0-3293551596303166888\" class=\"anchor\">\n <tt>id</tt>\n </a>\n </span>\n<div class=\"schema\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\"ff4285bc-4988-4077-9ca8-ca95a765f99d\"</tt></li></ul></div></li><li> <span id=\"location-0-4272779628489197064\">\n <a href=\"#location-0-4272779628489197064\" class=\"anchor\">\n <tt>location</tt>\n </a>\n </span>\n<div class=\"schema\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\"Liaside\"</tt></li></ul></div></li><li> <span id=\"recruiter-0-399633294353183252\">\n <a href=\"#recruiter-0-399633294353183252\" class=\"anchor\">\n <tt>recruiter</tt>\n </a>\n </span>\n<div class=\"schema\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\"Aron DuBuque\"</tt></li></ul></div></li><li> <span id=\"start_time-0--628905351806078756\">\n <a href=\"#start_time-0--628905351806078756\" class=\"anchor\">\n <tt>start_time</tt>\n </a>\n </span>\n<div class=\"schema\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\"Fri, Jun 05 @ 6:36am PDT\"</tt></li></ul></div></li><li> <span id=\"end_time-0-4592178625470318456\">\n <a href=\"#end_time-0-4592178625470318456\" class=\"anchor\">\n <tt>end_time</tt>\n </a>\n </span>\n<div class=\"schema\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\"Fri, Jun 05 @ 6:36am PDT\"</tt></li></ul></div></li><li> <span id=\"instructions-0-2300486449993654364\">\n <a href=\"#instructions-0-2300486449993654364\" class=\"anchor\">\n <tt>instructions</tt>\n </a>\n </span>\n<div class=\"schema\"><ul><li>Required: no</li><li>Type: string</li><li>Example: <tt>\"Be careful!\"</tt></li></ul></div></li></ul>" } [/block]

User Information

Try It Out

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