POST api/diamond/save-stock

Request Information

URI Parameters

None.

Body Parameters

STOCK_REQUEST
NameDescriptionTypeAdditional information
USER_SEQ

integer

None.

TOKEN

string

None.

STOCK

Collection of STOCK_FORMAT

None.

STATUS

string

None.

MESSAGE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "USER_SEQ": 1,
  "TOKEN": "sample string 2",
  "STOCK": [
    {
      "PACKET_NO": "sample string 1",
      "REPORT_NO": "sample string 2",
      "SHAPE": "sample string 3",
      "LAB": "sample string 4",
      "CTS": 1.0,
      "COLOR": "sample string 5",
      "CLARITY": "sample string 6",
      "CUT": "sample string 7",
      "POLISH": "sample string 8",
      "SYMM": "sample string 9",
      "FLS": "sample string 10",
      "RATE": 1.0,
      "DISC_PER": 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,
      "CROWN_ANGLE": 1.0,
      "CROWN_HEIGHT": 1.0,
      "PAV_ANGLE": 1.0,
      "PAV_HEIGHT": 1.0,
      "HA": "sample string 11",
      "H_A": "sample string 12",
      "SHADE": "sample string 13",
      "CULET": "sample string 14",
      "CULET_COND": "sample string 15",
      "GIRDLE": "sample string 16",
      "GIRDLE_COND": "sample string 17",
      "GIRDLE_PER": 1.0,
      "EYE_CLEAN": "sample string 18",
      "REPORT_COMMENT": "sample string 19",
      "MEMBER_COMMENT": "sample string 20",
      "KEY_TO_SYMBOLS": "sample string 21",
      "COUNTRY": "sample string 22",
      "STATE": "sample string 23",
      "CITY": "sample string 24",
      "STAGE": "sample string 25",
      "INT_STAGE": "sample string 26",
      "MEMO_USER_SEQ": 1,
      "RATIO": 1.0,
      "BROWN": "sample string 27",
      "TABLE_INCLUSION": "sample string 28",
      "SIDE_INCLUSION": "sample string 29",
      "TABLE_BLACK": "sample string 30",
      "SIDE_BLACK": "sample string 31",
      "SIDE_OPEN": "sample string 32",
      "TABLE_OPEN": "sample string 33",
      "EXTRA_FACET": "sample string 34",
      "LUSTER": "sample string 35",
      "STAR": 1.0,
      "BLACK_INCLUSION": "sample string 36",
      "INCL_TYPE": "sample string 37",
      "OPEN_INCLUSION": "sample string 38",
      "GRAINING": "sample string 39",
      "SHADE_TYPE": "sample string 40",
      "BRILLIANCY": "sample string 41",
      "POP": "sample string 42",
      "XTOP": "sample string 43",
      "COP": "sample string 44",
      "FANCY_COLOR": "sample string 45",
      "COLOR_OVERTONE": "sample string 46",
      "COLOR_INTENSITY": "sample string 47",
      "DIAMETER": 48.0,
      "SALESMAN_CODE": "sample string 49",
      "PARTY_CODE": "sample string 50",
      "MILKY": "sample string 51",
      "TINGE": "sample string 52",
      "LASER_INSCRIPTION": "sample string 53",
      "CENTER_NATTS": "sample string 54",
      "SIDE_CRYSTAL": "sample string 55",
      "CENTER_CRYSTAL": "sample string 56",
      "SIDE_FEATHER": "sample string 57",
      "CENTER_FEATHER": "sample string 58",
      "MINES": "sample string 59",
      "MEMO_PARTY": "sample string 60",
      "MEMO_SALESMAN": "sample string 61",
      "ORIGIN": "sample string 62",
      "CANADA_MARK_CERT_NO": "sample string 63",
      "LOWER": "sample string 64",
      "BROKER_NAME": "sample string 65",
      "IS_CANADA_MARK": "sample string 66",
      "MEMO_CONTACT": "sample string 67",
      "MEMO_EMAIL_ID": "sample string 68",
      "RATE_MODE": "sample string 69",
      "MEMO_ISSUE_DATE": "2024-04-25T07:07:30.2894192-04:00",
      "MEMO_EST_RETURN_DATE": "2024-04-25T07:07:30.2894192-04:00",
      "REPORT_DATE": "2024-04-25T07:07:30.2894192-04:00",
      "REAL_IMAGE": "sample string 70",
      "DIAGRAM_IMAGE": "sample string 71",
      "PLOTTING_IMAGE": "sample string 72",
      "HEART_IMAGE": "sample string 73",
      "ARROW_IMAGE": "sample string 74",
      "CERTI_LINK": "sample string 75",
      "VIDEO_LINK": "sample string 76",
      "LOGO_INSCRIPTION": true,
      "CVD_TYPE": "sample string 77",
      "AS_GROWN": "sample string 78"
    },
    {
      "PACKET_NO": "sample string 1",
      "REPORT_NO": "sample string 2",
      "SHAPE": "sample string 3",
      "LAB": "sample string 4",
      "CTS": 1.0,
      "COLOR": "sample string 5",
      "CLARITY": "sample string 6",
      "CUT": "sample string 7",
      "POLISH": "sample string 8",
      "SYMM": "sample string 9",
      "FLS": "sample string 10",
      "RATE": 1.0,
      "DISC_PER": 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,
      "CROWN_ANGLE": 1.0,
      "CROWN_HEIGHT": 1.0,
      "PAV_ANGLE": 1.0,
      "PAV_HEIGHT": 1.0,
      "HA": "sample string 11",
      "H_A": "sample string 12",
      "SHADE": "sample string 13",
      "CULET": "sample string 14",
      "CULET_COND": "sample string 15",
      "GIRDLE": "sample string 16",
      "GIRDLE_COND": "sample string 17",
      "GIRDLE_PER": 1.0,
      "EYE_CLEAN": "sample string 18",
      "REPORT_COMMENT": "sample string 19",
      "MEMBER_COMMENT": "sample string 20",
      "KEY_TO_SYMBOLS": "sample string 21",
      "COUNTRY": "sample string 22",
      "STATE": "sample string 23",
      "CITY": "sample string 24",
      "STAGE": "sample string 25",
      "INT_STAGE": "sample string 26",
      "MEMO_USER_SEQ": 1,
      "RATIO": 1.0,
      "BROWN": "sample string 27",
      "TABLE_INCLUSION": "sample string 28",
      "SIDE_INCLUSION": "sample string 29",
      "TABLE_BLACK": "sample string 30",
      "SIDE_BLACK": "sample string 31",
      "SIDE_OPEN": "sample string 32",
      "TABLE_OPEN": "sample string 33",
      "EXTRA_FACET": "sample string 34",
      "LUSTER": "sample string 35",
      "STAR": 1.0,
      "BLACK_INCLUSION": "sample string 36",
      "INCL_TYPE": "sample string 37",
      "OPEN_INCLUSION": "sample string 38",
      "GRAINING": "sample string 39",
      "SHADE_TYPE": "sample string 40",
      "BRILLIANCY": "sample string 41",
      "POP": "sample string 42",
      "XTOP": "sample string 43",
      "COP": "sample string 44",
      "FANCY_COLOR": "sample string 45",
      "COLOR_OVERTONE": "sample string 46",
      "COLOR_INTENSITY": "sample string 47",
      "DIAMETER": 48.0,
      "SALESMAN_CODE": "sample string 49",
      "PARTY_CODE": "sample string 50",
      "MILKY": "sample string 51",
      "TINGE": "sample string 52",
      "LASER_INSCRIPTION": "sample string 53",
      "CENTER_NATTS": "sample string 54",
      "SIDE_CRYSTAL": "sample string 55",
      "CENTER_CRYSTAL": "sample string 56",
      "SIDE_FEATHER": "sample string 57",
      "CENTER_FEATHER": "sample string 58",
      "MINES": "sample string 59",
      "MEMO_PARTY": "sample string 60",
      "MEMO_SALESMAN": "sample string 61",
      "ORIGIN": "sample string 62",
      "CANADA_MARK_CERT_NO": "sample string 63",
      "LOWER": "sample string 64",
      "BROKER_NAME": "sample string 65",
      "IS_CANADA_MARK": "sample string 66",
      "MEMO_CONTACT": "sample string 67",
      "MEMO_EMAIL_ID": "sample string 68",
      "RATE_MODE": "sample string 69",
      "MEMO_ISSUE_DATE": "2024-04-25T07:07:30.2894192-04:00",
      "MEMO_EST_RETURN_DATE": "2024-04-25T07:07:30.2894192-04:00",
      "REPORT_DATE": "2024-04-25T07:07:30.2894192-04:00",
      "REAL_IMAGE": "sample string 70",
      "DIAGRAM_IMAGE": "sample string 71",
      "PLOTTING_IMAGE": "sample string 72",
      "HEART_IMAGE": "sample string 73",
      "ARROW_IMAGE": "sample string 74",
      "CERTI_LINK": "sample string 75",
      "VIDEO_LINK": "sample string 76",
      "LOGO_INSCRIPTION": true,
      "CVD_TYPE": "sample string 77",
      "AS_GROWN": "sample string 78"
    }
  ],
  "STATUS": "sample string 3",
  "MESSAGE": "sample string 4"
}

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

Response Information

Resource Description

ResponseUpdateStock
NameDescriptionTypeAdditional information
STATUS

string

None.

MESSAGE

string

None.

VALUE

string

None.

LocalApi

string

None.

ConfirmApi

string

None.

RESPONSE

Collection of ResponseMessage

None.

TRANS_NO

string

None.

Response Formats

application/json, text/json

Sample:
{
  "STATUS": "sample string 1",
  "MESSAGE": "sample string 2",
  "VALUE": "sample string 3",
  "LocalApi": "sample string 4",
  "ConfirmApi": "sample string 5",
  "RESPONSE": [
    {
      "STATUS": "sample string 1",
      "MESSAGE": "sample string 2",
      "VALUE": "sample string 3"
    },
    {
      "STATUS": "sample string 1",
      "MESSAGE": "sample string 2",
      "VALUE": "sample string 3"
    }
  ],
  "TRANS_NO": "sample string 6"
}