POST api/inward/save-memo-inward

Request Information

URI Parameters

None.

Body Parameters

MemoInwardData
NameDescriptionTypeAdditional information
Mas

InwardMas

None.

Detail

Collection of PurchaseDet

None.

Request Formats

application/json, text/json

Sample:
{
  "Mas": {
    "SEQ_NO": 1,
    "TRANS_DATE": "2024-03-29T04:19:05.712821-04:00",
    "INWARD_NO": "sample string 2",
    "AC_YEAR_SEQ": 1,
    "BOOK_SEQ": 1,
    "NAME_SEQ": 1,
    "BROKER_SEQ": 1,
    "TERMS_SEQ": 1,
    "DUE_DATE": "2024-03-29T04:19:05.712821-04:00",
    "CURRENCY": "sample string 3",
    "EXCH_RATE": 1.0,
    "LESS_1": 1.0,
    "LESS_2": 1.0,
    "ADD_1": 1.0,
    "ADD_2": 1.0,
    "TOTAL_CARAT": 1.0,
    "NET_VALUE": 1.0,
    "FINAL_VALUE": 1.0,
    "IS_CANCEL": true,
    "USER_SEQ": 4,
    "TOKAN_NO": "sample string 5",
    "FULL_NAME": "sample string 6",
    "COMP_NAME": "sample string 7",
    "TERMS_NAME": "sample string 8"
  },
  "Detail": [
    {
      "SEQ_NO": 1,
      "MAS_SEQ": 1,
      "DESCRIPTION": "sample string 2",
      "CARAT": 1.0,
      "RATE": 1.0,
      "VALUE": 1.0,
      "DISCOUNT": 1.0,
      "NET_RATE": 1.0,
      "NET_VALUE": 1.0,
      "IS_RETURN": true,
      "DIA_PARA": {
        "SR": 1,
        "SEQ_NO": 2,
        "PUR_DET_SEQ": 1,
        "INW_DET_SEQ": 1,
        "LAB_RETURN_DET_SEQ": 1,
        "PACKET_NO": "sample string 3",
        "REPORT_NO": "sample string 4",
        "SHAPE_SEQ": 1,
        "SHAPE_NAME": "sample string 5",
        "LAB_SEQ": 1,
        "LAB_NAME": "sample string 6",
        "CARAT": 1.0,
        "COLOR_SEQ": 1,
        "COLOR_NAME": "sample string 7",
        "CLARITY_SEQ": 1,
        "CLARITY_NAME": "sample string 8",
        "CUT_SEQ": 1,
        "CUT_NAME": "sample string 9",
        "POLISH_SEQ": 1,
        "POLISH_NAME": "sample string 10",
        "SYMM_SEQ": 1,
        "SYMM_NAME": "sample string 11",
        "FLS_SEQ": 1,
        "FLS_NAME": "sample string 12",
        "RATE": 1.0,
        "DISCOUNT": 1.0,
        "NET_RATE": 1.0,
        "NET_VALUE": 1.0,
        "LENGTH": 1.0,
        "WIDTH": 1.0,
        "DEPTH": 1.0,
        "TABLE_PER": 1.0,
        "DEPTH_PER": 1.0,
        "CR_ANGLE": 1.0,
        "CR_HEIGHT": 1.0,
        "PAV_ANGLE": 1.0,
        "PAV_HEIGHT": 1.0,
        "H_A": 1,
        "H_A_NAME": "sample string 13",
        "SHADE_SEQ": 1,
        "SHADE_NAME": "sample string 14",
        "CULET": "sample string 15",
        "GIRDLE_COND": "sample string 16",
        "GIRDLE_PER": 1.0,
        "EYE_CLEAN": "sample string 17",
        "REPORT_COMMENT": "sample string 18",
        "KEY_TO_SYMBOLS": "sample string 19",
        "LOCATION": "sample string 20",
        "IS_ACTIVE": true,
        "RATIO": 1.0,
        "BROWN": "sample string 21",
        "TABLE_INCL": "sample string 22",
        "SIDE_INCL": "sample string 23",
        "TABLE_BLACK": "sample string 24",
        "SIDE_BLACK": "sample string 25",
        "SIDE_OPEN": "sample string 26",
        "TABLE_OPEN": "sample string 27",
        "EXTRA_FACET": "sample string 28",
        "LUSTER": "sample string 29",
        "STAR_LENGTH": 1.0,
        "DESCRIPTION": "sample string 30",
        "VALUE": 1.0,
        "INV_TYPE": "sample string 31",
        "STOCK_SEQ": 1,
        "PARENT_SEQ": 1
      }
    },
    {
      "SEQ_NO": 1,
      "MAS_SEQ": 1,
      "DESCRIPTION": "sample string 2",
      "CARAT": 1.0,
      "RATE": 1.0,
      "VALUE": 1.0,
      "DISCOUNT": 1.0,
      "NET_RATE": 1.0,
      "NET_VALUE": 1.0,
      "IS_RETURN": true,
      "DIA_PARA": {
        "SR": 1,
        "SEQ_NO": 2,
        "PUR_DET_SEQ": 1,
        "INW_DET_SEQ": 1,
        "LAB_RETURN_DET_SEQ": 1,
        "PACKET_NO": "sample string 3",
        "REPORT_NO": "sample string 4",
        "SHAPE_SEQ": 1,
        "SHAPE_NAME": "sample string 5",
        "LAB_SEQ": 1,
        "LAB_NAME": "sample string 6",
        "CARAT": 1.0,
        "COLOR_SEQ": 1,
        "COLOR_NAME": "sample string 7",
        "CLARITY_SEQ": 1,
        "CLARITY_NAME": "sample string 8",
        "CUT_SEQ": 1,
        "CUT_NAME": "sample string 9",
        "POLISH_SEQ": 1,
        "POLISH_NAME": "sample string 10",
        "SYMM_SEQ": 1,
        "SYMM_NAME": "sample string 11",
        "FLS_SEQ": 1,
        "FLS_NAME": "sample string 12",
        "RATE": 1.0,
        "DISCOUNT": 1.0,
        "NET_RATE": 1.0,
        "NET_VALUE": 1.0,
        "LENGTH": 1.0,
        "WIDTH": 1.0,
        "DEPTH": 1.0,
        "TABLE_PER": 1.0,
        "DEPTH_PER": 1.0,
        "CR_ANGLE": 1.0,
        "CR_HEIGHT": 1.0,
        "PAV_ANGLE": 1.0,
        "PAV_HEIGHT": 1.0,
        "H_A": 1,
        "H_A_NAME": "sample string 13",
        "SHADE_SEQ": 1,
        "SHADE_NAME": "sample string 14",
        "CULET": "sample string 15",
        "GIRDLE_COND": "sample string 16",
        "GIRDLE_PER": 1.0,
        "EYE_CLEAN": "sample string 17",
        "REPORT_COMMENT": "sample string 18",
        "KEY_TO_SYMBOLS": "sample string 19",
        "LOCATION": "sample string 20",
        "IS_ACTIVE": true,
        "RATIO": 1.0,
        "BROWN": "sample string 21",
        "TABLE_INCL": "sample string 22",
        "SIDE_INCL": "sample string 23",
        "TABLE_BLACK": "sample string 24",
        "SIDE_BLACK": "sample string 25",
        "SIDE_OPEN": "sample string 26",
        "TABLE_OPEN": "sample string 27",
        "EXTRA_FACET": "sample string 28",
        "LUSTER": "sample string 29",
        "STAR_LENGTH": 1.0,
        "DESCRIPTION": "sample string 30",
        "VALUE": 1.0,
        "INV_TYPE": "sample string 31",
        "STOCK_SEQ": 1,
        "PARENT_SEQ": 1
      }
    }
  ]
}

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 'MemoInwardData'.

Response Information

Resource Description

ResponseMessage
NameDescriptionTypeAdditional information
STATUS

string

None.

MESSAGE

string

None.

VALUE

string

None.

Response Formats

application/json, text/json

Sample:
{
  "STATUS": "sample string 1",
  "MESSAGE": "sample string 2",
  "VALUE": "sample string 3"
}