Subcategory
Create a new subcategory
Creates a new subcategory with the provided data
post/api/subcategory
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Electric Vehicles",
"category_id": "1",
"synopsis": "Electric and hybrid vehicle manufacturers",
"leagues_social_review": [
1
],
"leagues_social_reject": [
1
]
}Response
Subcategory created successfully
Example response
{
"id": 1,
"name": "Electric Vehicles",
"category_id": 5
}Changes
No recorded changes to this operation across all 2 revisions of this API.