POST api/parcel-goods/save

Request Information

URI Parameters

None.

Body Parameters

PARCEL_STOCK
NameDescriptionTypeAdditional information
SEQ_NO

integer

None.

PACKET_NO

string

String length: inclusive between 0 and 50

CARAT

decimal number

None.

COLOR

string

String length: inclusive between 0 and 50

CLARITY

string

String length: inclusive between 0 and 50

PCS

integer

None.

LOCATION

string

String length: inclusive between 0 and 25

CUT

string

String length: inclusive between 0 and 50

RATE

decimal number

None.

COMMENT

string

String length: inclusive between 0 and 250

WEIGHT

string

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "SEQ_NO": 1,
  "PACKET_NO": "sample string 2",
  "CARAT": 1.0,
  "COLOR": "sample string 3",
  "CLARITY": "sample string 4",
  "PCS": 1,
  "LOCATION": "sample string 5",
  "CUT": "sample string 6",
  "RATE": 1.0,
  "COMMENT": "sample string 7",
  "WEIGHT": "sample string 8"
}

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

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