POST AdminApi/Inventory/SaveWhseRec

Request Information

URI Parameters

None.

Body Parameters

WhseView
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

MerchantId

globally unique identifier

None.

Name

string

None.

Address

string

None.

Contact

string

None.

NameList

Collection of MutiLanguage

None.

AddressList

Collection of MutiLanguage

None.

ContactList

Collection of MutiLanguage

None.

PhoneNum

string

None.

PostalCode

string

None.

Remarks

string

None.

CostCenter

string

None.

AccountCode

string

None.

IsModify

boolean

None.

MerchantName

string

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "e045a21c-2827-4f6f-aad1-288cc27befc4",
  "MerchantId": "4242740d-50b4-4bf4-8abe-7a487693e80b",
  "Name": "sample string 3",
  "Address": "sample string 4",
  "Contact": "sample string 5",
  "NameList": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "AddressList": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "ContactList": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "PhoneNum": "sample string 6",
  "PostalCode": "sample string 7",
  "Remarks": "sample string 8",
  "CostCenter": "sample string 9",
  "AccountCode": "sample string 10",
  "IsModify": true,
  "MerchantName": "sample string 12",
  "CreateDate": "2021-05-14 19:05:10"
}

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": {}
}