POST api/Assets/AssetMoveOutForSell

Asset Move Out for Sell

Request Information

URI Parameters

None.

Body Parameters

AssetMoveOutForSellRequestModel
NameDescriptionTypeAdditional information
AssetIds

string

Required

LocationId

integer

None.

CustomerId

integer

None.

RefOrderNumber

string

None.

Comments

string

None.

ScannedQty

integer

None.

ScanType

string

None.

OperationFrom

string

None.

OperationName

string

None.

ChangedBy

integer

Required

RefOrderId

integer

None.

ShopifyStockDeductLocationId

integer

None.

SiesaSalesOrderNo

string

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "assetIds": "sample string 1",
  "locationId": 1,
  "customerId": 1,
  "refOrderNumber": "sample string 2",
  "comments": "sample string 3",
  "scannedQty": 1,
  "scanType": "sample string 4",
  "operationFrom": "sample string 5",
  "operationName": "sample string 6",
  "changedBy": 1,
  "refOrderId": 1,
  "shopifyStockDeductLocationId": 1,
  "siesaSalesOrderNo": "sample string 7"
}

application/xml, text/xml

Sample:
<AssetMoveOutForSellRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel">
  <AssetIds>sample string 1</AssetIds>
  <ChangedBy>1</ChangedBy>
  <Comments>sample string 3</Comments>
  <CustomerId>1</CustomerId>
  <LocationId>1</LocationId>
  <OperationFrom>sample string 5</OperationFrom>
  <OperationName>sample string 6</OperationName>
  <RefOrderId>1</RefOrderId>
  <RefOrderNumber>sample string 2</RefOrderNumber>
  <ScanType>sample string 4</ScanType>
  <ScannedQty>1</ScannedQty>
  <ShopifyStockDeductLocationId>1</ShopifyStockDeductLocationId>
  <SiesaSalesOrderNo>sample string 7</SiesaSalesOrderNo>
</AssetMoveOutForSellRequestModel>

multipart/form-data

Sample:
<AssetMoveOutForSellRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><AssetIds>sample string 1</AssetIds><ChangedBy>1</ChangedBy><Comments>sample string 3</Comments><CustomerId>1</CustomerId><LocationId>1</LocationId><OperationFrom>sample string 5</OperationFrom><OperationName>sample string 6</OperationName><RefOrderId>1</RefOrderId><RefOrderNumber>sample string 2</RefOrderNumber><ScanType>sample string 4</ScanType><ScannedQty>1</ScannedQty><ShopifyStockDeductLocationId>1</ShopifyStockDeductLocationId><SiesaSalesOrderNo>sample string 7</SiesaSalesOrderNo></AssetMoveOutForSellRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of AssetMoveOutForSellResponseModel
NameDescriptionTypeAdditional information
AddedAssetIds

string

None.

ProcessedAssetCnt

integer

None.

ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
[
  {
    "addedAssetIds": "sample string 1",
    "processedAssetCnt": 2,
    "returnID": 3,
    "message": "sample string 4",
    "successful": true,
    "code": 6,
    "totalRecord": 7
  },
  {
    "addedAssetIds": "sample string 1",
    "processedAssetCnt": 2,
    "returnID": 3,
    "message": "sample string 4",
    "successful": true,
    "code": 6,
    "totalRecord": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfAssetMoveOutForSellResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel">
  <AssetMoveOutForSellResponseModel>
    <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">6</Code>
    <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 4</Message>
    <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">3</ReturnID>
    <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful>
    <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">7</TotalRecord>
    <AddedAssetIds>sample string 1</AddedAssetIds>
    <ProcessedAssetCnt>2</ProcessedAssetCnt>
  </AssetMoveOutForSellResponseModel>
  <AssetMoveOutForSellResponseModel>
    <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">6</Code>
    <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 4</Message>
    <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">3</ReturnID>
    <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful>
    <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">7</TotalRecord>
    <AddedAssetIds>sample string 1</AddedAssetIds>
    <ProcessedAssetCnt>2</ProcessedAssetCnt>
  </AssetMoveOutForSellResponseModel>
</ArrayOfAssetMoveOutForSellResponseModel>

multipart/form-data

Sample:
<ArrayOfAssetMoveOutForSellResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><AssetMoveOutForSellResponseModel><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">6</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 4</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">3</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">7</TotalRecord><AddedAssetIds>sample string 1</AddedAssetIds><ProcessedAssetCnt>2</ProcessedAssetCnt></AssetMoveOutForSellResponseModel><AssetMoveOutForSellResponseModel><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">6</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 4</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">3</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">7</TotalRecord><AddedAssetIds>sample string 1</AddedAssetIds><ProcessedAssetCnt>2</ProcessedAssetCnt></AssetMoveOutForSellResponseModel></ArrayOfAssetMoveOutForSellResponseModel>