POST Api/Inventory/InsertInvTransRec

Request Information

URI Parameters

None.

Body Parameters

InvTransView
NameDescriptionTypeAdditional information
TransFrom

globally unique identifier

None.

TransTo

globally unique identifier

None.

TransType

InvTransType

None.

TransDate

date

None.

Handler

string

None.

BatchNum

string

None.

Remarks

string

None.

TransactionItemList

Collection of InvTransItemView

None.

Request Formats

application/json, text/json

Sample:
{
  "TransFrom": "cc5f4808-2a20-4fbb-afb4-d10f6567bc4e",
  "TransTo": "530ff894-aaad-4331-bfc4-209f5cff178a",
  "TransType": 1,
  "TransDate": "2021-05-15 22:42:05",
  "Handler": "sample string 4",
  "BatchNum": "sample string 5",
  "Remarks": "sample string 6",
  "TransactionItemList": [
    {
      "TransFrom": "d315cc41-99a9-4fc6-b039-3a1acc734e37",
      "TransFromDesc": "sample string 2",
      "TransTo": "c56e9de4-ae06-48ad-a8f1-f9b7c96a414f",
      "TransToDesc": "sample string 4",
      "Sku": "96378a6c-b9e4-472b-9483-93fdda843237",
      "CatalogId": "9f21e868-1c9f-4992-b11d-fbad3acb622f",
      "ProdCode": "sample string 7",
      "ProdName": "sample string 8",
      "Attr1": "4511b2df-4cba-498a-b71a-43460a87eff6",
      "Attr2": "000f2171-14f0-4127-be55-c4561b8bdef4",
      "Attr3": "6f7e57a9-01b0-4d35-9584-e0241b169310",
      "Attr1Desc": "sample string 12",
      "Attr2Desc": "sample string 13",
      "Attr3Desc": "sample string 14",
      "TransQty": 15,
      "ReturnQty": 16,
      "UnitPrice": 17.0,
      "IsChecked": true,
      "SalesQty": 19.0
    },
    {
      "TransFrom": "d315cc41-99a9-4fc6-b039-3a1acc734e37",
      "TransFromDesc": "sample string 2",
      "TransTo": "c56e9de4-ae06-48ad-a8f1-f9b7c96a414f",
      "TransToDesc": "sample string 4",
      "Sku": "96378a6c-b9e4-472b-9483-93fdda843237",
      "CatalogId": "9f21e868-1c9f-4992-b11d-fbad3acb622f",
      "ProdCode": "sample string 7",
      "ProdName": "sample string 8",
      "Attr1": "4511b2df-4cba-498a-b71a-43460a87eff6",
      "Attr2": "000f2171-14f0-4127-be55-c4561b8bdef4",
      "Attr3": "6f7e57a9-01b0-4d35-9584-e0241b169310",
      "Attr1Desc": "sample string 12",
      "Attr2Desc": "sample string 13",
      "Attr3Desc": "sample string 14",
      "TransQty": 15,
      "ReturnQty": 16,
      "UnitPrice": 17.0,
      "IsChecked": true,
      "SalesQty": 19.0
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}