v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Catalogs

Create

You may create a new single catalog or multiple catalogs using this action.
When creating a single catalog the body contains a json object, when creating multiple catalogs the body contains an array of objects.
Warning: a maximum of 1000 items can be sent in a single request.

post/public/api/catalogs

Headers

Acceptstring

e.g. application/json

Request body

titlestring
group_idsstring[]

Example request

{
  "title": "Houston Rockets' new catalog.",
  "group_ids": [
    "staf",
    "managers"
  ]
}

Response

OK

catalog_idstring required
titlestring required
group_idsstring[] required
created_datestring required
updated_datestring required

Example response

[
  {
    "catalog_id": "552168f5f8d75fe77c520e7f",
    "title": "Houston Rockets' managers catalog.",
    "group_ids": [
      "managers"
    ],
    "created_date": "2015-04-05T01:55:17.563Z",
    "updated_date": "2015-09-07T11:30:58.643Z"
  },
  {
    "catalog_id": "552168f5f8d75fe77c520e80",
    "title": "Houston Rockets' staf catalog.",
    "group_ids": [
      "staf"
    ],
    "created_date": "2015-04-05T01:55:17.563Z",
    "updated_date": "2015-09-07T11:40:58.643Z"
  }
]