Storage Location Service

saveStorageLocations

saveStorageLocations Implementation Notes

post/storagelocation/v1/saveStorageLocations

Request

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

The Code for the location associated with the storage location.

Example request

{
  "locationCode": "000000",
  "storageLocationDetails": [
    {
      "storageLocationDetailDetails": [
        {
          "centralStorageFlag": "Y",
          "closingIntermediary": "B",
          "closingNonInventory": "B",
          "closingSales": "B",
          "closingStock": "B",
          "locationCode": "000125",
          "secondaryClosingIntermediary": "B",
          "secondaryClosingNonInventory": "B",
          "secondaryClosingSales": "B",
          "secondaryClosingStock": "B",
          "storageCode": "UNASGN",
          "storageName": "Unassigned"
        }
      ]
    }
  ]
}

Response

Success

locationCodestring required

The Code for the location associated with the storage location.

Example response

{
  "locationCode": "000000",
  "storageLocationDetails": [
    {
      "storageLocationDetailDetails": [
        {
          "centralStorageFlag": "Y",
          "closingIntermediary": "B",
          "closingNonInventory": "B",
          "closingSales": "B",
          "closingStock": "B",
          "locationCode": "000125",
          "secondaryClosingIntermediary": "B",
          "secondaryClosingNonInventory": "B",
          "secondaryClosingSales": "B",
          "secondaryClosingStock": "B",
          "storageCode": "UNASGN",
          "storageName": "Unassigned"
        }
      ]
    }
  ]
}

Changes

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