POST api/sale/get-proforma

Request Information

URI Parameters

None.

Body Parameters

saleInvoicePara
NameDescriptionTypeAdditional information
userSeq

integer

None.

loginUserSeq

integer

None.

tokenNo

string

None.

transNo

integer

None.

listType

string

None.

stockSeqs

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userSeq": 1,
  "loginUserSeq": 2,
  "tokenNo": "sample string 3",
  "transNo": 4,
  "listType": "sample string 5",
  "stockSeqs": "sample string 6"
}

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

Response Information

Resource Description

ProformaInvoiceData
NameDescriptionTypeAdditional information
Mas

ProformaInvMas

None.

Detail

Collection of ProformaInvDet

None.

Users

Collection of UsersList

None.

Terms

Collection of TermsMas

None.

USER_SEQ

integer

None.

TOKEN_NO

string

None.

STATUS

string

None.

MESSAGE

string

None.

COMP_NAME

string

None.

ADDRESS

string

None.

MOBILE_NO

string

None.

EMAIL_ID

string

None.

CITY

string

None.

STATE

string

None.

COUNTRY

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Mas": {
    "SEQ_NO": 1,
    "TRANS_DATE": "2024-04-19T16:38:35.4934571-04:00",
    "TRANS_NO": 1,
    "NAME_SEQ": 1,
    "STONE_COUNT": 1,
    "TOTAL_CARAT": 1.0,
    "AVG_DISCOUNT": 1.0,
    "NET_RATE": 1.0,
    "NET_VALUE": 1.0,
    "SPECIAL_OFF": 1.0,
    "ONLINE_VALUE_OFF": 1.0,
    "ONLINE_DISC_OFF": 1.0,
    "SPECIAL_OFF_AMOUNT": 1.0,
    "ONLINE_OFF_AMOUNT": 1.0,
    "FINAL_DISCOUNT": 1.0,
    "FINAL_NET_VALUE": 1.0,
    "REMARK": "sample string 2",
    "AC_YEAR_SEQ": 1,
    "IS_CANCEL": true,
    "LOGIN_USER_SEQ": 1,
    "COMP_SEQ": 1,
    "TERMS_SEQ": 1,
    "TERMS_INTEREST_PER": 1.0,
    "TERMS_AMOUNT": 1.0,
    "INV_LOCK": "sample string 3",
    "CURRENCY": "sample string 4"
  },
  "Detail": [
    {
      "SEQ_NO": 1,
      "MAS_SEQ": 1,
      "STOCK_SEQ": 1,
      "PACKET_NO": "sample string 2",
      "LAB": "sample string 3",
      "REPORT_NO": "sample string 4",
      "SHAPE": "sample string 5",
      "COLOR": "sample string 6",
      "CLARITY": "sample string 7",
      "CUT": "sample string 8",
      "POLISH": "sample string 9",
      "SYMM": "sample string 10",
      "FLS": "sample string 11",
      "REPORT_COMMENT": "sample string 12",
      "KEY_TO_SYMBOLS": "sample string 13",
      "LOCATION": "sample string 14",
      "CARAT": 1.0,
      "RATE": 1.0,
      "DISCOUNT": 1.0,
      "NET_RATE": 1.0,
      "NET_VALUE": 1.0,
      "SPECIAL_OFF": 1.0,
      "ONLINE_DISC_OFF": 1.0,
      "ONLINE_VALUE_OFF": 1.0,
      "SPECIAL_OFF_AMOUNT": 1.0,
      "ONLINE_OFF_AMOUNT": 1.0,
      "FINAL_DISCOUNT": 1.0,
      "FINAL_NET_VALUE": 1.0,
      "SALE_DET_SEQ": 1,
      "IS_CANCEL": true,
      "BPD": 1.0,
      "CANCEL_BY_SEQ": 1,
      "CANCEL_DATE": "2024-04-19T16:38:35.4934571-04:00"
    },
    {
      "SEQ_NO": 1,
      "MAS_SEQ": 1,
      "STOCK_SEQ": 1,
      "PACKET_NO": "sample string 2",
      "LAB": "sample string 3",
      "REPORT_NO": "sample string 4",
      "SHAPE": "sample string 5",
      "COLOR": "sample string 6",
      "CLARITY": "sample string 7",
      "CUT": "sample string 8",
      "POLISH": "sample string 9",
      "SYMM": "sample string 10",
      "FLS": "sample string 11",
      "REPORT_COMMENT": "sample string 12",
      "KEY_TO_SYMBOLS": "sample string 13",
      "LOCATION": "sample string 14",
      "CARAT": 1.0,
      "RATE": 1.0,
      "DISCOUNT": 1.0,
      "NET_RATE": 1.0,
      "NET_VALUE": 1.0,
      "SPECIAL_OFF": 1.0,
      "ONLINE_DISC_OFF": 1.0,
      "ONLINE_VALUE_OFF": 1.0,
      "SPECIAL_OFF_AMOUNT": 1.0,
      "ONLINE_OFF_AMOUNT": 1.0,
      "FINAL_DISCOUNT": 1.0,
      "FINAL_NET_VALUE": 1.0,
      "SALE_DET_SEQ": 1,
      "IS_CANCEL": true,
      "BPD": 1.0,
      "CANCEL_BY_SEQ": 1,
      "CANCEL_DATE": "2024-04-19T16:38:35.4934571-04:00"
    }
  ],
  "Users": [
    {
      "SEQ_NO": 1,
      "FULL_NAME": "sample string 2",
      "USER_NAME": "sample string 3",
      "MOB_NO": "sample string 4",
      "EMAIL_ID": "sample string 5",
      "USER_TYPE": "sample string 6",
      "COMP_NAME": "sample string 7",
      "ADDRESS": "sample string 8",
      "CITY": "sample string 9",
      "STATE": "sample string 10",
      "COUNTRY": "sample string 11",
      "SUPPORT_NAME": "sample string 12",
      "USER_PIC": "sample string 13"
    },
    {
      "SEQ_NO": 1,
      "FULL_NAME": "sample string 2",
      "USER_NAME": "sample string 3",
      "MOB_NO": "sample string 4",
      "EMAIL_ID": "sample string 5",
      "USER_TYPE": "sample string 6",
      "COMP_NAME": "sample string 7",
      "ADDRESS": "sample string 8",
      "CITY": "sample string 9",
      "STATE": "sample string 10",
      "COUNTRY": "sample string 11",
      "SUPPORT_NAME": "sample string 12",
      "USER_PIC": "sample string 13"
    }
  ],
  "Terms": [
    {
      "SEQ_NO": 1,
      "NAME": "sample string 2",
      "DUE_DAYS": 1,
      "INTEREST_PER": 1.0
    },
    {
      "SEQ_NO": 1,
      "NAME": "sample string 2",
      "DUE_DAYS": 1,
      "INTEREST_PER": 1.0
    }
  ],
  "USER_SEQ": 1,
  "TOKEN_NO": "sample string 2",
  "STATUS": "sample string 3",
  "MESSAGE": "sample string 4",
  "COMP_NAME": "sample string 5",
  "ADDRESS": "sample string 6",
  "MOBILE_NO": "sample string 7",
  "EMAIL_ID": "sample string 8",
  "CITY": "sample string 9",
  "STATE": "sample string 10",
  "COUNTRY": "sample string 11"
}