Category Service
saveCategory
Save Category details
post/category/v1/saveCategories
Headers
authenticationtokenstring required
Secure token for API authentication.
passwordstring required
Password for the Crunchtime Application User.
sitenamestring required
Crunchtime site identifier. (test or production)
useridstring required
User ID for the Crunchtime Application User.
X-B3-TraceIdstring
Optional trace identifier for troubleshooting.
Request body
Example request
{
"categoryDetails": [
{
"categoryDetailDetails": [
{
"categoryName": "CTEST-CAT",
"glDescription": "test GL",
"microcategoryName": "CTEST-MICRO",
"subcategoryName": "CTEST-SUB"
}
]
}
],
"locationCode": "000000"
}Response
Success
Example response
{
"categoryDetails": [
{
"categoryDetailDetails": [
{
"categoryName": "CTEST-CAT",
"glDescription": "test GL",
"microcategoryName": "CTEST-MICRO",
"subcategoryName": "CTEST-SUB"
}
]
}
],
"locationCode": "000000"
}