GET api/InventoryLookupReport/model?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
siteId

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

InventoryLookupModelResponse

NameDescriptionTypeAdditional Information
Model

InventoryLookupModelExternal

None.

ResponseCode

APIResponseCodes

None.

Message

string

None.

CorrelationId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Model": {
    "Inventory": null,
    "InventoryTypeValues": {
      "sample string 1": 2,
      "sample string 3": 4
    },
    "ProductIdentifierTypeValues": {
      "sample string 1": 2,
      "sample string 3": 4
    },
    "CurrentSite": null,
    "Sites": null,
    "SearchValue": "sample string 1",
    "SearchType": 1,
    "ExactValueQuery": true,
    "SingleInventoryIdentifier": true,
    "SiteInventoryTypeList": null,
    "HasCommerceNonCommerceOptions": 4,
    "WarehouseCodes": [
      "sample string 1",
      "sample string 2"
    ],
    "InventoryTypes": [
      1,
      1
    ],
    "LastUpdatedStartDate": "sample string 5",
    "LastUpdatedStartDateDay": "sample string 6",
    "LastUpdatedStartDateMonth": "sample string 7",
    "LastUpdatedStartDateYear": "sample string 8",
    "LastUpdatedEndDate": "sample string 9",
    "LastUpdatedEndDateDay": "sample string 10",
    "LastUpdatedEndDateMonth": "sample string 11",
    "LastUpdatedEndDateYear": "sample string 12",
    "SiteInventoryEcommerce": [
      {
        "SiteID": 1,
        "InventoryType": 2
      },
      {
        "SiteID": 1,
        "InventoryType": 2
      }
    ],
    "EcommerceOptions": {
      "sample string 1": true,
      "sample string 3": true
    }
  },
  "ResponseCode": 0,
  "Message": "sample string 1",
  "CorrelationId": "sample string 2"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.