How Can We Help?
< All Topics
Print

Lost Sales Transaction

The Part Interchange is used to get interchange information about a PartNumber

Request JSON Example (Version 1.0)

The following is an example of the JSON string that will be posted

{
   "interchangerequest": {
      "version": "1.0",
      "utctime": "2014-07-04 11:00:26",
      "transid": "5038ab89-d86a-4c32-9206-ec50f7a40a02",
      "memberno": "1234",
      "username": "username",
      "password": "password",
      "partno": "Part123",
      "parttypeids": [
         {
            "id": 123,
            "status": "on"
         },
         {
            "id": 456,
            "status": "off"
         }
      ],
      "brands": [
         {
            "mfr": "HAS",
            "state": "on"
         },
         {
            "mfr": "HAS",
            "state": "on"
         }
      ]
   }
}

Response JSON Example (Version 1.0)

The following is an example of the JSON string to be returned

{
   "interchangeresponse": {
      "version": "1.0",
      "utctime": "2014-07-04 11:00:27",
      "transid": "5038ab89-d86a-4c32-9206-ec50f7a40a02",
      "status": "success",
      "errordescription": "",
      "parttypeids": [
         {
            "id": 123,
            "description": "Engine Oil Filter",
            "state": "on"
         },
         {
            "id": 123,
            "description": "Engine Fuel Filter",
            "state": "on"
         }
      ],
      "brands": [
         {
            "mfr": "HAS",
            "description": "Hastings Filters",
            "state": "on"
         },
         {
            "mfr": "FED",
            "description": "Federated Filters",
            "state": "on"
         }
      ],
      "partnumbers": [
         {
            "mfrcode": "HAS",
            "partno": "LF115",
            "partypeid": 123,
            "sku": "123123"
         }
      ]
   }
}
Table of Contents