POST V2/Product/SaveRequstData

Request Information

URI Parameters

None.

Body Parameters

RequstClientView
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Company

string

None.

Name

string

None.

Phone

string

None.

Fax

string

None.

Email

string

None.

Address

string

None.

Remark

string

None.

RequstQuotation

RequstQuotationView

None.

RequestProdLis

Collection of RequstProductView

None.

Products

string

None.

CreateDate

date

None.

CreateDateString

string

None.

MemberId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "e418459d-70e3-47c4-a8e0-76cb9665b808",
  "Company": "sample string 2",
  "Name": "sample string 3",
  "Phone": "sample string 4",
  "Fax": "sample string 5",
  "Email": "sample string 6",
  "Address": "sample string 7",
  "Remark": "sample string 8",
  "RequstQuotation": {
    "Id": "9ef54434-9a2d-4303-b78e-9431b2e2776e",
    "MappId": "32e152e7-9159-4ea8-88c4-72e7549104d5",
    "ClientId": "4d6a5207-fc3f-4f5f-b1bf-05d3e842421c",
    "ResponePrice": 4.0,
    "State": 5,
    "IsDelete": true,
    "IsActivated": true,
    "CreateBy": "sample string 8",
    "CreateDate": "2024-11-11 12:14:17",
    "UpdateBy": "sample string 10",
    "UpdateDate": "2024-11-11 12:14:17",
    "MemberId": "sample string 12"
  },
  "RequestProdLis": [
    {
      "Id": "4c00bb85-316e-465e-8df5-46ae3f9c4d76",
      "ProdId": "98145252-a916-4ae3-a00d-2bcf2371b391",
      "Sku": "sample string 3",
      "Code": "sample string 4",
      "Name": "sample string 5",
      "Qty": 6,
      "Desc": "sample string 7",
      "Img": "sample string 8",
      "Unit": "sample string 9",
      "Sex": "sample string 10",
      "Size": "sample string 11",
      "Color": "sample string 12",
      "Remark": "sample string 13"
    },
    {
      "Id": "4c00bb85-316e-465e-8df5-46ae3f9c4d76",
      "ProdId": "98145252-a916-4ae3-a00d-2bcf2371b391",
      "Sku": "sample string 3",
      "Code": "sample string 4",
      "Name": "sample string 5",
      "Qty": 6,
      "Desc": "sample string 7",
      "Img": "sample string 8",
      "Unit": "sample string 9",
      "Sex": "sample string 10",
      "Size": "sample string 11",
      "Color": "sample string 12",
      "Remark": "sample string 13"
    }
  ],
  "Products": "sample string 9",
  "CreateDate": "2024-11-11 12:14:17",
  "CreateDateString": "sample string 11",
  "MemberId": "sample string 12"
}

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

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {},
  "Code": 4
}