Recipe Location Service

saveRecipeLocation

saveRecipeLocation Implementation Notes

post/recipelocation/v1/saveRecipeLocations

Request

  • Base URL
    //webservices-test.net-chef.com (relative, and the document’s source URL is not known)
  • URL
    //webservices-test.net-chef.com/recipelocation/v1/saveRecipeLocations
  • Auth
    none 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

locationCodestring

"Code" from Company setup screen

Example request

{
  "locationCode": "000000",
  "recipeLocationDetails": [
    {
      "recipeLocationDetailDetails": [
        {
          "activeFlag": "N",
          "atCostItem": "N",
          "pluNumber": 10004,
          "posDecrement": "I",
          "prepReportFlag": "Y",
          "productionType": "P",
          "recipeName": "CTest Rcp Location 1",
          "recipePrice": 5.67
        }
      ],
      "recipeLocationHeaderDetails": {
        "pluNumber": 10004,
        "recipeName": "CTest Recipe 1"
      }
    }
  ]
}

Response

Success

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.