Post

Create a new section

Parameters:

Demo

URL Find your token on - yumpu.com Token

id name

Optional parameters:

description sorting

Add optional parametersRun request

Example:

curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "id=iMWWKoMS76pjqMoO" -d "name=Sports" "https://api.yumpu.com/2.0/collection/section.json"

Whatever language you are using, the result will be the same.

{
   "section": [
     {
       "id": "F54wo1ijuIzhbSfK",
       "create_date": "2013-09-23 10:46:53",
       "update_date": "0000-00-00 00:00:00",
       "name": "Sports",
       "description": "Sports",
       "sorting": "manually",
       "order": 2,
       "documents": ""
     }
   ],
   "state": "success"
 }

Last updated