POST api/WarehouseProductSort/SubmitSortedItems

Request Information

URI Parameters

None.

Body Parameters

Collection of SubmitSortedItemModel
Name Description Type Additional information
Id

integer

None.

MainItemBundleSortedQuantity

integer

None.

MainItemLooseSortedQuantity

integer

None.

BonusItemBundleSortedQuantity

integer

None.

BonusItemLooseSortedQuantity

integer

None.

StatusId

integer

None.

ProblemText

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "MainItemBundleSortedQuantity": 2,
    "MainItemLooseSortedQuantity": 3,
    "BonusItemBundleSortedQuantity": 4,
    "BonusItemLooseSortedQuantity": 5,
    "StatusId": 6,
    "ProblemText": "sample string 7"
  },
  {
    "Id": 1,
    "MainItemBundleSortedQuantity": 2,
    "MainItemLooseSortedQuantity": 3,
    "BonusItemBundleSortedQuantity": 4,
    "BonusItemLooseSortedQuantity": 5,
    "StatusId": 6,
    "ProblemText": "sample string 7"
  }
]

text/html

Sample:
[{"Id":1,"MainItemBundleSortedQuantity":2,"MainItemLooseSortedQuantity":3,"BonusItemBundleSortedQuantity":4,"BonusItemLooseSortedQuantity":5,"StatusId":6,"ProblemText":"sample string 7"},{"Id":1,"MainItemBundleSortedQuantity":2,"MainItemLooseSortedQuantity":3,"BonusItemBundleSortedQuantity":4,"BonusItemLooseSortedQuantity":5,"StatusId":6,"ProblemText":"sample string 7"}]

application/xml, text/xml

Sample:
<ArrayOfSubmitSortedItemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.WarehouseProductSort">
  <SubmitSortedItemModel>
    <BonusItemBundleSortedQuantity>4</BonusItemBundleSortedQuantity>
    <BonusItemLooseSortedQuantity>5</BonusItemLooseSortedQuantity>
    <Id>1</Id>
    <MainItemBundleSortedQuantity>2</MainItemBundleSortedQuantity>
    <MainItemLooseSortedQuantity>3</MainItemLooseSortedQuantity>
    <ProblemText>sample string 7</ProblemText>
    <StatusId>6</StatusId>
  </SubmitSortedItemModel>
  <SubmitSortedItemModel>
    <BonusItemBundleSortedQuantity>4</BonusItemBundleSortedQuantity>
    <BonusItemLooseSortedQuantity>5</BonusItemLooseSortedQuantity>
    <Id>1</Id>
    <MainItemBundleSortedQuantity>2</MainItemBundleSortedQuantity>
    <MainItemLooseSortedQuantity>3</MainItemLooseSortedQuantity>
    <ProblemText>sample string 7</ProblemText>
    <StatusId>6</StatusId>
  </SubmitSortedItemModel>
</ArrayOfSubmitSortedItemModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfString
Name Description Type Additional information
Status

Status

None.

Data

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Data": "sample string 1",
  "Message": "sample string 2"
}

text/html

Sample:
{"Status":0,"Data":"sample string 1","Message":"sample string 2"}

application/xml, text/xml

Sample:
<ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Utility.Api">
  <Data>sample string 1</Data>
  <Message>sample string 2</Message>
  <Status>Success</Status>
</ResponseOfstring>