Pbi Service
savePbiV2
Changed onCreate a new <glossary:Pbi>. Update one or more <glossary:Pbi>s.
post/pbi/v2/savePbi
Request
- Base URL//webservices-test.net-chef.com (relative, and the document’s source URL is not known)
- URL//webservices-test.net-chef.com/pbi/v2/savePbi
- Authnone declared. Required headers: authenticationtoken, password, sitename, userid
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
{
"locationCode": "000122",
"pbiDetails": [
{
"pbiDetailDetails": [
{
"category": "NON-FOOD",
"detailAmount": 15,
"detailMemo": "Purchased Cleaning Supplies",
"microcategory": "PAPER TOWELS",
"subcategory": "PAPER GOODS"
}
],
"pbiHeaderDetails": {
"checkNumber": "1701",
"deliveryDate": "12/14/2025",
"invoiceDate": "12/14/2025",
"invoiceNumber": "74205",
"invoiceTotal": 15,
"locationCode": "100122",
"vendorCode": "100700"
}
}
]
}Response
Success
object required
Changes
- breaking
the
///request property format changed from no format todate - breaking
the
///request property format changed from no format todate
- breaking