Catalogues/Create a new catalogue
POST {{portal-host-port}}/portal-api/catalogues
Request Body
{"Name"=>"Test API catalogue", "VisibilityStatus"=>"Private", "NameWithSlug"=>"test-api-catalogue", "Products"=>[4], "Plans"=>[2], "OrgCatalogues"=>[{"TeamID"=>1}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Authorization | string |
RESPONSES
status: Created
{"CreatedAt":"2023-08-03 11:57","ID":3,"Name":"Test API catalogue","OrgCatalogues":[{"Catalogue":"Test API catalogue","ID":1,"Name":"","Organisation":"","TeamID":1}],"Plans":["free_plan"],"Products":null,"UpdatedAt":"2023-08-03 11:57","VisibilityStatus":"Private"}