POST api/Inventory/getUnits

Request Information

URI Parameters

None.

Body Parameters

UnitFilter
NameDescriptionTypeAdditional information
ProjectId

integer

None.

BlockName

string

None.

Status

string

None.

Search

string

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "BlockName": "sample string 1",
  "Status": "sample string 2",
  "Search": "sample string 3",
  "PageIndex": 4,
  "PageSize": 5
}

text/html

Sample:
{"ProjectId":1,"BlockName":"sample string 1","Status":"sample string 2","Search":"sample string 3","PageIndex":4,"PageSize":5}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UnitFilter'.

Response Information

Resource Description

SalesListResponse
NameDescriptionTypeAdditional information
Rows

Collection of Dictionary of string [key] and Object [value]

None.

TotalRows

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

StatusCode

integer

None.

status

string

None.

statusText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Rows": [
    {
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "sample string 1": {},
      "sample string 3": {}
    }
  ],
  "TotalRows": 1,
  "PageIndex": 2,
  "PageSize": 3,
  "StatusCode": 4,
  "status": "sample string 5",
  "statusText": "sample string 6"
}

text/html

Sample:
{"Rows":[{"sample string 1":{},"sample string 3":{}},{"sample string 1":{},"sample string 3":{}}],"TotalRows":1,"PageIndex":2,"PageSize":3,"StatusCode":4,"status":"sample string 5","statusText":"sample string 6"}